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
public class LdapUriException extends LdapException
The URI parsing and escape encoding exception.- Author:
- Apache Directory Project
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
UNKNOWN
No specified reason code.
-
Constructor Summary
Constructors Constructor Description LdapUriException(String reason, Throwable cause)
The constructor with a reason string argument.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getReasonCode()
Get the reason code.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Field Detail
-
UNKNOWN
public static final int UNKNOWN
No specified reason code.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
LdapUriException
public LdapUriException(String reason, Throwable cause)
The constructor with a reason string argument.- Parameters:
reason
- the reasoncause
- the root cause
-
-
Method Detail
-
getReasonCode
public int getReasonCode()
Get the reason code.- Returns:
- the reason code
-
-