Class LdapUriException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.directory.api.ldap.model.exception.LdapException
org.apache.directory.api.ldap.model.exception.LdapUriException
- All Implemented Interfaces:
Serializable
The URI parsing and escape encoding exception.
- Author:
- Apache Directory Project
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringThe reason message.protected intThe reason code.static final intNo specified reason code. -
Constructor Summary
ConstructorsConstructorDescriptionLdapUriException(String reason, Throwable cause) The constructor with a reason string argument. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
UNKNOWN
public static final int UNKNOWNNo specified reason code.- See Also:
-
reasonCode
protected int reasonCodeThe reason code. -
reason
The reason message.
-
-
Constructor Details
-
LdapUriException
-
-
Method Details
-
getReasonCode
public int getReasonCode()Get the reason code.- Returns:
- the reason code
-