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
public class TestCompletedException
- extends JemmyException
Exception is throught as a result of test.
either test failed or passed.
- Author:
- Alexandre Iline (alexandre.iline@sun.com)
- See Also:
- Serialized Form
Method Summary |
int |
getStatus()
Returns status. |
TestCompletedException
public TestCompletedException(int st,
Exception ex)
- Constructor.
- Parameters:
st
- Exit status.ex
- Exception provoked test failure.
TestCompletedException
public TestCompletedException(int st,
String description)
- Constructor.
- Parameters:
st
- Exit status.description
- Failure reason
getStatus
public int getStatus()
- Returns status.
- Returns:
- test status