Class TestingValidationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.sling.testing.clients.ClientException
-
- org.apache.sling.testing.clients.exceptions.TestingValidationException
-
- All Implemented Interfaces:
Serializable
public class TestingValidationException extends ClientException
Use this exception to indicate any mismatch between expectations and the actual test result. This exception typically indicates "real" test failures.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TestingValidationException(String message)
TestingValidationException(String message, int httpStatusCode)
TestingValidationException(String message, int httpStatusCode, Throwable throwable)
TestingValidationException(String message, Throwable throwable)
TestingValidationException(String message, Throwable throwable, org.apache.http.client.methods.HttpUriRequest request, SlingHttpResponse response)
-
Method Summary
-
Methods inherited from class org.apache.sling.testing.clients.ClientException
getHttpStatusCode, getMessage, getRequest, getResponse, setRequest, setResponse, toString
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Constructor Detail
-
TestingValidationException
public TestingValidationException(String message)
-
TestingValidationException
public TestingValidationException(String message, int httpStatusCode)
-
TestingValidationException
public TestingValidationException(String message, int httpStatusCode, Throwable throwable)
-
TestingValidationException
public TestingValidationException(String message, Throwable throwable, org.apache.http.client.methods.HttpUriRequest request, SlingHttpResponse response)
-
-