public class JemmyException extends RuntimeException
| Constructor and Description |
|---|
JemmyException(String description)
Constructor.
|
JemmyException(String description,
Object object)
Constructor.
|
JemmyException(String description,
Throwable innerException)
Constructor.
|
JemmyException(String description,
Throwable innerException,
Object object)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toStringpublic 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 Object getObject()
public Exception getInnerException()
public Throwable getInnerThrowable()
public void printStackTrace()
printStackTrace in class Throwablepublic void printStackTrace(PrintStream ps)
printStackTrace in class Throwableps - PrintStream to print stack trace into.public void printStackTrace(PrintWriter pw)
printStackTrace in class Throwablepw - PrintWriter to print stack trace into.