|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException org.aludratest.exception.AludraTestException
public abstract class AludraTestException
Root class of all AludraTest exceptions.
Constructor Summary | |
---|---|
protected |
AludraTestException(String message)
Constructor. |
protected |
AludraTestException(String message,
Throwable cause)
Constructor. |
Method Summary | |
---|---|
abstract TestStatus |
getTestStatus()
Provides the TestStatus which is appropriate for this exception |
boolean |
shouldSaveDebugAttachments()
Tells the framework if it should save a screenshot when this exception occurs. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected AludraTestException(String message)
message
- the exception messageprotected AludraTestException(String message, Throwable cause)
message
- the exception messagecause
- the root cause of the errorMethod Detail |
---|
public boolean shouldSaveDebugAttachments()
true
if a screenshot shall be created, otherwise false
public abstract TestStatus getTestStatus()
TestStatus
which is appropriate for this exception
TestStatus
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |