org.apache.directory.api.ldap.model.exception
Class LdapUriException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.directory.api.ldap.model.exception.LdapException
              extended by 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
protected  String reason
          The reason message.
protected  int reasonCode
          The reason code.
static int UNKNOWN
          No specified reason code.
 
Constructor Summary
LdapUriException(String reason, Throwable cause)
          The constructor with a reason string argument.
 
Method Summary
 int getReasonCode()
          Get the reason code.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

UNKNOWN

public static final int UNKNOWN
No specified reason code.

See Also:
Constant Field Values

reasonCode

protected int reasonCode
The reason code.


reason

protected String reason
The reason message.

Constructor Detail

LdapUriException

public LdapUriException(String reason,
                        Throwable cause)
The constructor with a reason string argument.

Parameters:
reason - the reason
cause - the root cause
Method Detail

getReasonCode

public int getReasonCode()
Get the reason code.

Returns:
the reason code


Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.