Package org.ldaptive
Class ConnectException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.ldaptive.LdapException
-
- org.ldaptive.ConnectException
-
- All Implemented Interfaces:
Serializable
public class ConnectException extends LdapException
Exception that indicates a connection attempt failed.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
serialVersionUID.
-
Constructor Summary
Constructors Constructor Description ConnectException(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 Detail
-
serialVersionUID
private static final long serialVersionUID
serialVersionUID.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ConnectException
public ConnectException(ResultCode code, String msg)
Creates a new connect exception.- Parameters:
code
- result code describing this exceptionmsg
- describing this exception
-
ConnectException
public ConnectException(ResultCode code, Throwable e)
Creates a new connect exception.- Parameters:
code
- result code describing this exceptione
- underlying exception
-
ConnectException
public ConnectException(ResultCode code, String msg, Throwable e)
Creates a new connect exception.- Parameters:
code
- result code describing this exceptionmsg
- describing this exceptione
- underlying exception
-
-