|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.sun.slamd.http.HTTPException
public class HTTPException
This class defines an exception that may be thrown if a problem occurs while attempting to communicate with a server over HTTP.
| Constructor Summary | |
|---|---|
HTTPException(java.lang.String message)
Creates a new exception that may be thrown if a problem occurs while trying to communicate with a server over HTTP. |
|
HTTPException(java.lang.String message,
java.lang.Exception parentException)
Creates a new exception that may be thrown if a problem occurs while trying to communicate with a server over HTTP. |
|
| Method Summary | |
|---|---|
java.lang.Exception |
getParentException()
Retrieves the parent exception that triggered this HTTP exception. |
| 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 |
| Constructor Detail |
|---|
public HTTPException(java.lang.String message)
message - A message providing information about the exception.
public HTTPException(java.lang.String message,
java.lang.Exception parentException)
message - A message providing information about the
exception.parentException - The parent exception that triggered this HTTP
exception.| Method Detail |
|---|
public java.lang.Exception getParentException()
null if no parent exception is available.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||