IBM Rational Performance Tester SDK

com.ibm.rational.test.lt.kernel.action
Interface IKExceptionHandler

All Known Implementing Classes:
KExceptionHandler

public interface IKExceptionHandler


Method Summary
 void acquire(Object owner)
          Any time the exception handler is about to be executed the container doing the execution needs to acquire the handler so that the same instance of the action cannot be executed by multiple threads concurrently.
 IKAction getAction()
           
 Class<? extends Throwable> getExceptionClass()
           
 void release(Object owner)
          Called when the executing container is done with the exception handler.
 

Method Detail

getExceptionClass

Class<? extends Throwable> getExceptionClass()
Returns:
The Class of the exception that is handled by this handler.

getAction

IKAction getAction()
Returns:
The action to execute upon occurrence of the handled exception Class

acquire

void acquire(Object owner)
Any time the exception handler is about to be executed the container doing the execution needs to acquire the handler so that the same instance of the action cannot be executed by multiple threads concurrently. This is important for RAISE and in case something throws the same exception that is being processed by a RAISE.

Parameters:
owner -

release

void release(Object owner)
Called when the executing container is done with the exception handler. Should be called in finish(IKAction).

Parameters:
owner -

IBM Rational Performance Tester SDK

© Copyright IBM Corp. 2012. All rights reserved.