| 
 | ||||||||||
| 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.lang.RuntimeException
com.meterware.httpunit.HttpException
This exception is thrown when an Http error (response code 4xx or 5xx) is detected.
| Constructor Summary | |
| protected  | HttpException(int responseCode)throw a http Exception with the given responseCode | 
| protected  | HttpException(int responseCode,
              java.lang.String responseMessage,
              java.net.URL baseURL)throw a http Exception with the given responseCode and Message and base url | 
| protected  | HttpException(int responseCode,
              java.lang.String responseMessage,
              java.net.URL baseURL,
              java.lang.Throwable cause)throw a http Exception with the given responseCode and Message, base url and cause | 
| protected  | HttpException(int responseCode,
              java.lang.Throwable cause)throw a http Exception with the given responseCode and cause | 
| Method Summary | |
|  java.lang.Throwable | getCause()get the cause (if any) | 
|  java.lang.String | getMessage()get the Message for the http Exception | 
|  int | getResponseCode()get the response Code of this http Exception | 
|  java.lang.String | getResponseMessage()get the response Message of this http Exception | 
| Methods inherited from class java.lang.Throwable | 
| fillInStackTrace, getLocalizedMessage, 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 | 
protected HttpException(int responseCode)
responseCode - 
protected HttpException(int responseCode,
                        java.lang.Throwable cause)
responseCode - cause - 
protected HttpException(int responseCode,
                        java.lang.String responseMessage,
                        java.net.URL baseURL)
responseCode - responseMessage - baseURL - 
protected HttpException(int responseCode,
                        java.lang.String responseMessage,
                        java.net.URL baseURL,
                        java.lang.Throwable cause)
responseCode - responseMessage - baseURL - cause - | Method Detail | 
public java.lang.String getMessage()
public int getResponseCode()
public java.lang.String getResponseMessage()
public java.lang.Throwable getCause()
| 
 | Copyright © 2000-2008 Russell Gold. See license agreement for rights granted. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||