Package org.ldaptive
Class ConnectException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.ldaptive.LdapException
org.ldaptive.ConnectException
- All Implemented Interfaces:
Serializable
Exception that indicates a connection attempt failed.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConnectException
(ResultCode code, String msg) Creates a new connect exception.ConnectException
(ResultCode code, String msg, Throwable e) Creates a new connect exception.ConnectException
(ResultCode code, Throwable e) Creates a new connect exception. -
Method Summary
Methods inherited from class org.ldaptive.LdapException
formatResult, getResultCode
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDserialVersionUID.- See Also:
-
-
Constructor Details
-
ConnectException
Creates a new connect exception.- Parameters:
code
- result code describing this exceptionmsg
- describing this exception
-
ConnectException
Creates a new connect exception.- Parameters:
code
- result code describing this exceptione
- underlying exception
-
ConnectException
Creates a new connect exception.- Parameters:
code
- result code describing this exceptionmsg
- describing this exceptione
- underlying exception
-