IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.cs
Class ExceptionManager

java.lang.Object
  extended by com.ibm.btt.cs.ExceptionManager

public class ExceptionManager
extends java.lang.Object

This class provide a factory for instantiate channel exception handler At this version, it'll provide exception handlers for following 2 channels 1. HTML Channel If customer defined exception handler in btt.xml, it'll return the class If there's any exception while instantiate the exception handler class a default handler class will be created and returned The default handler classes are: com.ibm.btt.cs.java.JavaExceptionHandler for Java Channel com.ibm.btt.cs.html.HtmlExceptionHandler for HTML Channel


Field Summary
protected static java.lang.String HTMLEXCEPTIONHANDLER
          Field from btt.xml which specifies the Html exception handler class
protected static java.lang.String JAVAEXCEPTIONHANDLER
          Field from btt.xml which specifies the Java exception handler class
 
Constructor Summary
ExceptionManager()
           
 
Method Summary
static ExceptionHandler getExceptionHandler(ChannelType type)
          This API will return an Exception Handler from the channel type * At this version, it'll provide exception handlers for following 2 channels 1.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HTMLEXCEPTIONHANDLER

protected static final java.lang.String HTMLEXCEPTIONHANDLER
Field from btt.xml which specifies the Html exception handler class

See Also:
Constant Field Values

JAVAEXCEPTIONHANDLER

protected static final java.lang.String JAVAEXCEPTIONHANDLER
Field from btt.xml which specifies the Java exception handler class

See Also:
Constant Field Values
Constructor Detail

ExceptionManager

public ExceptionManager()
Method Detail

getExceptionHandler

public static ExceptionHandler getExceptionHandler(ChannelType type)
This API will return an Exception Handler from the channel type * At this version, it'll provide exception handlers for following 2 channels 1. Java Channel 2. HTML Channel If customer defined exception handler in btt.xml, it'll return the class If there's any exception while instantiate the exception handler class a default handler class will be created and returned The default handler classes are: com.ibm.btt.cs.java.JavaExceptionHandler for Java Channel com.ibm.btt.cs.html.HtmlExceptionHandler for HTML Channel If the request are comes from other channels, the com.ibm.btt.cs.DefaultExceptionHandler will be returned

Parameters:
type - ChannelType
Returns:
ExceptionHandle class

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2010