|
||||||||||
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.HttpException
Signals that an HTTP or HttpClient exception has occurred.
Constructor Summary | |
HttpException()
Creates a new HttpException with a null detail message. |
|
HttpException(java.lang.String message)
Creates a new HttpException with the specified detail message. |
|
HttpException(java.lang.String message,
java.lang.Throwable cause1)
Creates a new HttpException with the specified detail message and cause. |
Method Summary | |
java.lang.Throwable |
getCause()
Return the Throwable that caused this exception, or null if the cause is unavailable, unknown, or not a Throwable. |
void |
printStackTrace()
Print this HttpException and its stack trace to the standard error stream. |
void |
printStackTrace(java.io.PrintStream s)
Print this HttpException and its stack trace to the specified print stream. |
void |
printStackTrace(java.io.PrintWriter s)
Print this HttpException and its stack trace to the specified print writer. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public HttpException()
public HttpException(java.lang.String message)
message
- the exception detail messagepublic HttpException(java.lang.String message, java.lang.Throwable cause1)
message
- the exception detail messagecause1
- the Throwable that caused this exception, or
null if the cause is unavailable, unknown, or not a
ThrowableMethod Detail |
public java.lang.Throwable getCause()
public void printStackTrace()
public void printStackTrace(java.io.PrintStream s)
s
- the PrintStream to which the exception and its
stack trace should be writtenpublic void printStackTrace(java.io.PrintWriter s)
s
- the PrintWriter to which the exception and its
stack trace should be written
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |