Class RuleFailedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.jenkinsci.test.acceptance.junit.RuleFailedException
-
- All Implemented Interfaces:
Serializable
public class RuleFailedException extends RuntimeException
This is a service exception that wraps the TestRule failure to all traceability back to failing test rules.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RuleFailedException(Throwable throwable, org.junit.rules.TestRule failingRule)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getMessage()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
RuleFailedException
public RuleFailedException(Throwable throwable, org.junit.rules.TestRule failingRule)
-
-
Method Detail
-
getMessage
public String getMessage()
- Overrides:
getMessage
in classThrowable
-
-