public class TestSetFailedException extends Exception
| Constructor and Description |
|---|
TestSetFailedException(String message)
Create a
TestFailedException with a detail message. |
TestSetFailedException(String message,
Throwable cause)
Create a
TestFailedException with the specified detail
message and cause. |
TestSetFailedException(Throwable cause)
Create a
TestFailedException with the specified cause. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic TestSetFailedException(String message)
TestFailedException with a detail message.message - A detail message for this TestFailedException, or
null. If null is passed, the getMessage
method will return an empty String.public TestSetFailedException(String message, Throwable cause)
TestFailedException with the specified detail
message and cause.
Note that the detail message associated with cause is not automatically incorporated in this throwable's detail message.
message - A detail message for this TestFailedException, or null.cause - the cause, which is saved for later retrieval by the getCause method.
(A null value is permitted, and indicates that the cause is nonexistent or unknown.)public TestSetFailedException(Throwable cause)
TestFailedException with the specified cause. The
getMessage method of this exception object will return
(cause == null ? "" : cause.toString()).cause - The causeCopyright © 2004–2015 The Apache Software Foundation. All rights reserved.