628
|
1 |
/*
|
|
2 |
* Copyright (c) 2010-2011 Nokia Corporation and/or its subsidiary(-ies).
|
|
3 |
* All rights reserved.
|
|
4 |
* This component and the accompanying materials are made available
|
|
5 |
* under the terms of the License "Eclipse Public License v1.0"
|
|
6 |
* which accompanies this distribution, and is available
|
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
8 |
*
|
|
9 |
* Initial Contributors:
|
|
10 |
* Nokia Corporation - initial contribution.
|
|
11 |
*
|
|
12 |
* Contributors:
|
|
13 |
*
|
|
14 |
* Description:
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
package com.nokia.helium.core;
|
|
18 |
|
|
19 |
/**
|
|
20 |
* Exception occuring during LDAP search.
|
|
21 |
*
|
|
22 |
*/
|
|
23 |
public class LDAPException extends Exception {
|
|
24 |
|
|
25 |
private static final long serialVersionUID = -4843665216704377558L;
|
|
26 |
|
|
27 |
/**
|
|
28 |
* Create an exception with a message.
|
|
29 |
* @param message the error message
|
|
30 |
*/
|
|
31 |
public LDAPException(String message) {
|
|
32 |
super(message);
|
|
33 |
}
|
|
34 |
|
|
35 |
/**
|
|
36 |
* Create an exception with a message and a root cause.
|
|
37 |
* @param message the error message
|
|
38 |
* @param cause the root cause
|
|
39 |
*/
|
|
40 |
public LDAPException(String message, Throwable cause) {
|
|
41 |
super(message, cause);
|
|
42 |
}
|
|
43 |
}
|