Package net.serenitybdd.core.exceptions
Class SerenityManagedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
net.serenitybdd.core.exceptions.SerenityManagedException
- All Implemented Interfaces:
java.io.Serializable
public class SerenityManagedException
extends java.lang.RuntimeException
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description SerenityManagedException(java.lang.String message, java.lang.Throwable testErrorException)
SerenityManagedException(java.lang.Throwable testErrorException)
-
Method Summary
Modifier and Type Method Description static java.lang.Throwable
detachedCopyOf(java.lang.Throwable testErrorException)
java.lang.Throwable
getCause()
java.lang.Class
getExceptionClass()
java.lang.String
getMessage()
java.lang.StackTraceElement[]
getStackTrace()
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
SerenityManagedException
public SerenityManagedException(java.lang.Throwable testErrorException) -
SerenityManagedException
public SerenityManagedException(java.lang.String message, java.lang.Throwable testErrorException)
-
-
Method Details
-
detachedCopyOf
public static java.lang.Throwable detachedCopyOf(java.lang.Throwable testErrorException) -
getMessage
public java.lang.String getMessage()- Overrides:
getMessage
in classjava.lang.Throwable
-
getStackTrace
public java.lang.StackTraceElement[] getStackTrace()- Overrides:
getStackTrace
in classjava.lang.Throwable
-
getCause
public java.lang.Throwable getCause()- Overrides:
getCause
in classjava.lang.Throwable
-
getExceptionClass
public java.lang.Class getExceptionClass()
-