IBM Rational Performance Tester TES

com.ibm.rational.test.lt.kernel.services
Class RPTVPEvent

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.ibm.rational.test.lt.kernel.services.RPTEvent
                  extended by 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

Constructor Summary
RPTVPEvent()
           
RPTVPEvent(String message)
           
RPTVPEvent(String message, Throwable cause)
           
RPTVPEvent(Throwable cause)
           
 
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 com.ibm.rational.test.lt.kernel.services.RPTEvent
clone, getSeverity, isShowStackTrace, setSeverity, setShowStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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 -
Method Detail

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

IBM Rational Performance Tester TES

© Copyright IBM Corp. 2012. All rights reserved.