com.ibm.rational.test.lt.kernel.services
Class RPTVPEvent
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.ibm.rational.test.lt.kernel.services.RPTEvent
com.ibm.rational.test.lt.kernel.services.RPTVPEvent
- All Implemented Interfaces:
- Serializable, Cloneable
- Direct Known Subclasses:
- RPTErrorVPEvent, RPTFailVPEvent, RPTInconclusiveVPEvent
public class RPTVPEvent
- extends RPTEvent
This class is the base class for the group of RPTEvents that are raised internally whenever a verification point
does not pass.
This class extends RPTEvent and changes the default value of severity to MessageEvent.INFO and
changes the default to not show the stack trace.
- See Also:
- Serialized Form
Method Summary |
VerdictEvent |
getVerdictEvent()
Gets the VerdictEvent written to the testLog for the verification point that triggered this event. |
void |
setVerdictEvent(VerdictEvent verdict)
|
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
RPTVPEvent
public RPTVPEvent()
RPTVPEvent
public RPTVPEvent(String message)
- Parameters:
message
-
RPTVPEvent
public RPTVPEvent(Throwable cause)
- Parameters:
cause
-
RPTVPEvent
public RPTVPEvent(String message,
Throwable cause)
- Parameters:
message
- cause
-
setVerdictEvent
public void setVerdictEvent(VerdictEvent verdict)
getVerdictEvent
public VerdictEvent getVerdictEvent()
- Gets the VerdictEvent written to the testLog for the verification point that triggered this event.
- Returns:
- the triggering VerdictEvent
© Copyright IBM Corp. 2012. All rights reserved.