Class TestSetFailedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.maven.surefire.testset.TestSetFailedException
-
- All Implemented Interfaces:
java.io.Serializable
public class TestSetFailedException extends java.lang.Exception
Exception that indicates a test failed.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TestSetFailedException(java.lang.String message)
CreatesTestSetFailedException
with a detail message.TestSetFailedException(java.lang.String message, java.lang.Throwable cause)
CreatesTestSetFailedException
with the specified detail message and cause.TestSetFailedException(java.lang.Throwable cause)
CreatesTestSetFailedException
with the specified cause.
-
-
-
Constructor Detail
-
TestSetFailedException
public TestSetFailedException(java.lang.String message)
CreatesTestSetFailedException
with a detail message.- Parameters:
message
- A detail message for thisTestSetFailedException
, ornull
. Ifnull
is passed, theThrowable.getMessage()
method will return an emptystring
.
-
TestSetFailedException
public TestSetFailedException(java.lang.String message, java.lang.Throwable cause)
CreatesTestSetFailedException
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.
- Parameters:
message
- A detail message for thisTestSetFailedException
, ornull
.cause
- the cause, which is saved for later retrieval by theThrowable.getCause()
method. (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
-
TestSetFailedException
public TestSetFailedException(java.lang.Throwable cause)
CreatesTestSetFailedException
with the specified cause. The mthodThrowable.getMessage()
method of this exception object will returncause == null ? "" : cause.toString()
.- Parameters:
cause
- The cause
-
-