IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.event
Class Message

java.lang.Object
  extended by com.ibm.btt.event.Message

public class Message
extends java.lang.Object

This class provides intreface to extract muti-language trace and exception messages from resource bundle. Please refer to design document BTT-V51-D06.

Code change summary: N/A. This is a new class.


Field Summary
static java.lang.String COPYRIGHT
           
static java.util.ResourceBundle exceptionBundle
          Exception resource bundle
static java.util.ResourceBundle traceBundle
          Trace message resource bundle
 
Constructor Summary
Message()
           
 
Method Summary
static java.lang.String getExceptionMsg(java.lang.String key)
          Get excepiton message from resource bundle.
static java.lang.String getTraceMsg(java.lang.String key)
          Get trace message from resource bundle.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
See Also:
Constant Field Values

traceBundle

public static java.util.ResourceBundle traceBundle
Trace message resource bundle. *


exceptionBundle

public static java.util.ResourceBundle exceptionBundle
Exception resource bundle. *

Constructor Detail

Message

public Message()
Method Detail

getExceptionMsg

public static java.lang.String getExceptionMsg(java.lang.String key)
Get excepiton message from resource bundle.

Parameters:
key - java.lang.String
Returns:
java.lang.String

getTraceMsg

public static java.lang.String getTraceMsg(java.lang.String key)
Get trace message from resource bundle.

Parameters:
key - java.lang.String
Returns:
java.lang.String

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2009