net.sourceforge.jwebunit.exception
Class TestingEngineResponseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
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
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 |
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
-
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.