net.sourceforge.jwebunit.exception
Class TestingEngineResponseException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by net.sourceforge.jwebunit.exception.TestingEngineResponseException
All Implemented Interfaces:
java.io.Serializable

public class TestingEngineResponseException
extends java.lang.RuntimeException

This name reflects the name all of exceptions that will be thrown from a specific "testing engine". All testing engines will respond, if necessary, using this exception instead of the testing specific engine exceptions.

Author:
Nicholas Neuberger
See Also:
Serialized Form

Constructor Summary
TestingEngineResponseException()
           
TestingEngineResponseException(int httpStatusCode)
           
TestingEngineResponseException(int httpStatusCode, java.lang.Exception e)
           
TestingEngineResponseException(int httpStatusCode, java.lang.String msg)
           
TestingEngineResponseException(int httpStatusCode, java.lang.String msg, java.lang.Throwable ex)
           
TestingEngineResponseException(java.lang.String msg)
           
TestingEngineResponseException(java.lang.String msg, java.lang.Throwable ex)
           
TestingEngineResponseException(java.lang.Throwable ex)
           
 
Method Summary
 int getHttpStatusCode()
          Return the HTTP status code that throw this Exception or -1 if this exception was not thrown because of HTTP status code.
 
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

TestingEngineResponseException

public TestingEngineResponseException()

TestingEngineResponseException

public TestingEngineResponseException(int httpStatusCode)

TestingEngineResponseException

public TestingEngineResponseException(int httpStatusCode,
                                      java.lang.String msg)

TestingEngineResponseException

public TestingEngineResponseException(int httpStatusCode,
                                      java.lang.String msg,
                                      java.lang.Throwable ex)

TestingEngineResponseException

public TestingEngineResponseException(int httpStatusCode,
                                      java.lang.Exception e)

TestingEngineResponseException

public TestingEngineResponseException(java.lang.String msg)
Parameters:
arg0 -

TestingEngineResponseException

public TestingEngineResponseException(java.lang.String msg,
                                      java.lang.Throwable ex)
Parameters:
arg0 -
arg1 -

TestingEngineResponseException

public TestingEngineResponseException(java.lang.Throwable ex)
Parameters:
arg0 -
Method Detail

getHttpStatusCode

public int getHttpStatusCode()
Return the HTTP status code that throw this Exception or -1 if this exception was not thrown because of HTTP status code.

Returns:


Copyright © 2002-2011 SourceForge. All Rights Reserved.