|
|||||||||
| 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
gov.llnl.babel.url.HttpException
public class HttpException
The HttpException exception class is thrown if an
HTTP communication error is detected. The exception supports the
regular message string and also a method to extract the integer
response code.
| Constructor Summary | |
|---|---|
HttpException(int response_code,
java.lang.String message)
Create a new HttpException exception with the specified
integer resonse code and message string. |
|
| Method Summary | |
|---|---|
int |
getResponseCode()
Return the HTTP response code that caused the 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(int response_code,
java.lang.String message)
HttpException exception with the specified
integer resonse code and message string.
| Method Detail |
|---|
public int getResponseCode()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||