|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.netbeans.jemmy.JemmyException
public class JemmyException
Parent of all Jemmy exceptions. Exception can be throught from inside jemmy methods, if some exception occurs from code invoked from jemmy.
Constructor Summary | |
---|---|
JemmyException(String description)
Constructor. |
|
JemmyException(String description,
Object object)
Constructor. |
|
JemmyException(String description,
Throwable innerException)
Constructor. |
|
JemmyException(String description,
Throwable innerException,
Object object)
Constructor. |
Method Summary | |
---|---|
Exception |
getInnerException()
Deprecated. Use getInnerThrowable() |
Throwable |
getInnerThrowable()
Returns inner throwable. |
Object |
getObject()
Returns "object" constructor parameter. |
void |
printStackTrace()
Prints stack trace into System.out. |
void |
printStackTrace(PrintStream ps)
Prints stack trace. |
void |
printStackTrace(PrintWriter pw)
Prints stack trace. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JemmyException(String description)
description
- An exception description.public JemmyException(String description, Throwable innerException)
description
- An exception description.innerException
- Exception from code invoked from jemmy.public JemmyException(String description, Object object)
description
- An exception description.object
- Object regarding which exception is thrown.public JemmyException(String description, Throwable innerException, Object object)
description
- An exception description.innerException
- Exception from code invoked from jemmy.object
- Object regarding which exception is thrown.Method Detail |
---|
public Object getObject()
public Exception getInnerException()
public Throwable getInnerThrowable()
public void printStackTrace()
printStackTrace
in class Throwable
public void printStackTrace(PrintStream ps)
printStackTrace
in class Throwable
ps
- PrintStream to print stack trace into.public void printStackTrace(PrintWriter pw)
printStackTrace
in class Throwable
pw
- PrintWriter to print stack trace into.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |