com.meterware.httpunit
Class HttpNotFoundException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended bycom.meterware.httpunit.HttpException
                  extended bycom.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
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)
 
Methods inherited from class com.meterware.httpunit.HttpException
getCause, getMessage, getResponseCode, getResponseMessage
 
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

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 -

Copyright © 2000-2008 Russell Gold. See license agreement for rights granted.