public class TestSetFailedException extends Exception
Constructor and Description |
---|
TestSetFailedException(String message)
Creates
TestSetFailedException with a detail message. |
TestSetFailedException(String message,
Throwable cause)
Creates
TestSetFailedException with the specified detail
message and cause. |
TestSetFailedException(Throwable cause)
Creates
TestSetFailedException with the specified cause. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public TestSetFailedException(String message)
TestSetFailedException
with a detail message.message
- A detail message for this TestSetFailedException
, or
null
. If null
is passed, the Throwable.getMessage()
method will return an empty string
.public TestSetFailedException(String message, Throwable cause)
TestSetFailedException
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 TestSetFailedException
, or null
.cause
- the cause, which is saved for later retrieval by the Throwable.getCause()
method.
(A null value is permitted, and indicates that the cause is nonexistent or unknown.)public TestSetFailedException(Throwable cause)
TestSetFailedException
with the specified cause. The mthod Throwable.getMessage()
method of this
exception object will return cause == null ? "" : cause.toString()
.cause
- The causeCopyright © 2004–2019 The Apache Software Foundation. All rights reserved.