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:
java.io.Serializable
public class HttpNotFoundException extends HttpException
This exception is thrown when the desired URL is not found.- Author:
- Seth Ladd, Russell Gold
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HttpNotFoundException(java.lang.String responseMessage, java.net.URL baseURL)
construct a HttpNotFoundException (404 Error)HttpNotFoundException(java.net.URL url, java.lang.Throwable t)
construct a HttpNotFoundException (404 Error)
-
Method Summary
-
Methods inherited from class com.meterware.httpunit.HttpException
getCause, getMessage, getResponseCode, getResponseMessage
-
-
-
-
Constructor Detail
-
HttpNotFoundException
public HttpNotFoundException(java.lang.String responseMessage, java.net.URL baseURL)
construct a HttpNotFoundException (404 Error)- Parameters:
responseMessage
-baseURL
-
-
HttpNotFoundException
public HttpNotFoundException(java.net.URL url, java.lang.Throwable t)
construct a HttpNotFoundException (404 Error)- Parameters:
url
-t
-
-
-