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
public class DemoInterruptedException extends TestCompletedException
Exception is throught if test (demo) execution has been interrupted (CommentWindow.isInterrupted() returned true).- Author:
- Alexandre Iline (alexandre.iline@sun.com)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DemoInterruptedException(String description)
Constructs a DemoInterruptedException object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
printStackTrace()
Prints stack trace into System.out.void
printStackTrace(PrintStream ps)
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 Detail
-
DemoInterruptedException
public DemoInterruptedException(String description)
Constructs a DemoInterruptedException object.- Parameters:
description
- an exception descriptio.
-
-
Method Detail
-
printStackTrace
public void printStackTrace()
Description copied from class:JemmyException
Prints stack trace into System.out.- Overrides:
printStackTrace
in classJemmyException
-
printStackTrace
public void printStackTrace(PrintStream ps)
Description copied from class:JemmyException
Prints stack trace.- Overrides:
printStackTrace
in classJemmyException
- Parameters:
ps
- PrintStream to print stack trace into.
-
-