public class RPTEvent extends RuntimeException implements Cloneable
Constructor and Description |
---|
RPTEvent() |
RPTEvent(String message) |
RPTEvent(String message,
Throwable cause) |
RPTEvent(Throwable cause) |
Modifier and Type | Method and Description |
---|---|
RPTEvent |
clone() |
String |
getDetailMessage() |
String |
getLogText() |
String |
getMessage() |
int |
getSeverity() |
boolean |
isShowStackTrace() |
void |
setLogText(String logText) |
void |
setMessage(String message) |
void |
setSeverity(int severity)
Set the severity of the MessageEvent in the testLog reported by the default
catcher for this event.
|
void |
setShowStackTrace(boolean show)
Set the boolean for whether or not the stack trace will be included in the
MessageEvent in the testLog reported by the default catcher for this event.
|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public RPTEvent()
public RPTEvent(String message)
public RPTEvent(Throwable cause)
public int getSeverity()
public void setSeverity(int severity)
severity
- public boolean isShowStackTrace()
public void setShowStackTrace(boolean show)
show
- public void setMessage(String message)
public String getDetailMessage()
public String getMessage()
getMessage
in class Throwable
public RPTEvent clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
public void setLogText(String logText)
public String getLogText()
© Copyright IBM Corp. 2013. All rights reserved.