com.ibm.btt.cs
Interface ExceptionHandler
- All Known Implementing Classes:
- DefaultExceptionHandler, HtmlExceptionHandler
public interface ExceptionHandler
This class provide an interface class for handling channel exceptions
Method Summary |
void |
preProcessException(ChannelContext context,
java.lang.Throwable k)
This API will be called when BTT System met an exception
It will provide the channel context and exception instance for customer to do sth. |
preProcessException
void preProcessException(ChannelContext context,
java.lang.Throwable k)
- This API will be called when BTT System met an exception
It will provide the channel context and exception instance for customer to do sth.
for examples:
log the exception
modify the exception to a new throwable one
- Parameters:
context
- ex
-
(c) Copyright IBM Corporation 1998, 2011