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() |
String |
getStat() |
boolean |
isSevere() |
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.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringprotected String stat
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 Throwablepublic RPTEvent clone() throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedExceptionpublic void setLogText(String logText)
public String getLogText()
public String getStat()
public boolean isSevere()
© Copyright IBM Corp. 2016. All rights reserved.