Package org.netbeans.jemmy.demo
Class DemoInterruptedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.netbeans.jemmy.JemmyException
org.netbeans.jemmy.TestCompletedException
org.netbeans.jemmy.demo.DemoInterruptedException
- All Implemented Interfaces:
Serializable
Exception is throught if test (demo) execution has been interrupted
(CommentWindow.isInterrupted() returned true).
- Author:
- Alexandre Iline (alexandre.iline@sun.com)
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDemoInterruptedException
(String description) Constructs a DemoInterruptedException object. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Prints stack trace into System.out.void
Prints stack trace.Methods inherited from class org.netbeans.jemmy.TestCompletedException
getStatus
Methods inherited from class org.netbeans.jemmy.JemmyException
getInnerException, getInnerThrowable, getObject, printStackTrace
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
-
Constructor Details
-
DemoInterruptedException
Constructs a DemoInterruptedException object.- Parameters:
description
- an exception descriptio.
-
-
Method Details
-
printStackTrace
public void printStackTrace()Description copied from class:JemmyException
Prints stack trace into System.out.- Overrides:
printStackTrace
in classJemmyException
-
printStackTrace
Description copied from class:JemmyException
Prints stack trace.- Overrides:
printStackTrace
in classJemmyException
- Parameters:
ps
- PrintStream to print stack trace into.
-