Package org.netbeans.jemmy
Class TestCompletedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.netbeans.jemmy.JemmyException
org.netbeans.jemmy.TestCompletedException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DemoInterruptedException
Exception is throught as a result of test.
either test failed or passed.
- Author:
- Alexandre Iline (alexandre.iline@sun.com)
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTestCompletedException
(int st, Exception ex) Constructor.TestCompletedException
(int st, String description) Constructor. -
Method Summary
Methods inherited from class org.netbeans.jemmy.JemmyException
getInnerException, getInnerThrowable, getObject, printStackTrace, printStackTrace, printStackTrace
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
-
Constructor Details
-
TestCompletedException
Constructor.- Parameters:
st
- Exit status.ex
- Exception provoked test failure.
-
TestCompletedException
Constructor.- Parameters:
st
- Exit status.description
- Failure reason
-
-
Method Details
-
getStatus
public int getStatus()Returns status.- Returns:
- test status
-