|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.io.IOException
com.oaklandsw.http.URIException
The URI parsing and escape encoding exception.
Field Summary | |
static int |
ESCAPING
The URI escape or unescape error. |
static int |
PARSING
The URI parsing error. |
static int |
UNKNOWN
No specified reason code. |
static int |
UNSUPPORTED_ENCODING
The unsupported character encoding. |
Constructor Summary | |
URIException()
Default constructor. |
|
URIException(int rc)
The constructor with a reason code argument. |
|
URIException(int rc,
java.lang.String r)
The constructor with a reason string and its code arguments. |
|
URIException(java.lang.String r)
The constructor with a reason string argument. |
Method Summary | |
java.lang.String |
getReason()
Get the reason message. |
int |
getReasonCode()
Get the reason code. |
void |
setReason(java.lang.String r)
Set the reason message. |
void |
setReasonCode(int rc)
Set 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 |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int UNKNOWN
public static final int PARSING
public static final int UNSUPPORTED_ENCODING
public static final int ESCAPING
Constructor Detail |
public URIException()
public URIException(int rc)
rc
- the reason codepublic URIException(int rc, java.lang.String r)
rc
- the reason coder
- the reasonpublic URIException(java.lang.String r)
r
- the reasonMethod Detail |
public int getReasonCode()
public void setReasonCode(int rc)
public java.lang.String getReason()
public void setReason(java.lang.String r)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |