Package com.meterware.httpunit
Class HttpNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.meterware.httpunit.HttpException
com.meterware.httpunit.HttpNotFoundException
- All Implemented Interfaces:
Serializable
This exception is thrown when the desired URL is not found.
- Author:
- Seth Ladd, Russell Gold
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionHttpNotFoundException
(String responseMessage, URL baseURL) construct a HttpNotFoundException (404 Error)HttpNotFoundException
(URL url, Throwable t) construct a HttpNotFoundException (404 Error) -
Method Summary
Methods inherited from class com.meterware.httpunit.HttpException
getCause, getMessage, getResponseCode, getResponseMessage
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
HttpNotFoundException
construct a HttpNotFoundException (404 Error)- Parameters:
responseMessage
-baseURL
-
-
HttpNotFoundException
construct a HttpNotFoundException (404 Error)- Parameters:
url
-t
-
-