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.ThrowabledetachedCopyOf(java.lang.Throwable testErrorException)java.lang.ThrowablegetCause()java.lang.ClassgetExceptionClass()java.lang.StringgetMessage()java.lang.StackTraceElement[]getStackTrace()Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods 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:
getMessagein classjava.lang.Throwable
-
getStackTrace
public java.lang.StackTraceElement[] getStackTrace()- Overrides:
getStackTracein classjava.lang.Throwable
-
getCause
public java.lang.Throwable getCause()- Overrides:
getCausein classjava.lang.Throwable
-
getExceptionClass
public java.lang.Class getExceptionClass()
-