org.apache.directory.shared.ldap.codec.util
Class URIException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.apache.directory.shared.ldap.codec.util.URIException
All Implemented Interfaces:
java.io.Serializable

public class URIException
extends java.lang.Exception

The URI parsing and escape encoding exception.

Version:
$Revision: 379008 $ $Date: 2002/03/14 15:14:01
Author:
Sung-Gu, Oleg Kalnichevski
See Also:
Serialized Form

Field Summary
protected  java.lang.String reason
          The reason message.
protected  int reasonCode
          The reason code.
static int UNKNOWN
          No specified reason code.
 
Constructor Summary
URIException(java.lang.String reason)
          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 java.lang.String reason
The reason message.

Constructor Detail

URIException

public URIException(java.lang.String reason)
The constructor with a reason string argument.

Parameters:
reason - the reason
Method Detail

getReasonCode

public int getReasonCode()
Get the reason code.

Returns:
the reason code


Copyright © 2003-2006 . All Rights Reserved.