com.ibm.ims.application
Class IMSErrorMessages

java.lang.Object
  |
  +--java.util.ResourceBundle
        |
        +--java.util.ListResourceBundle
              |
              +--com.ibm.ims.application.IMSErrorMessages

public class IMSErrorMessages
extends java.util.ListResourceBundle

IMSErrorMessages is used by the com.ibm.ims.application package to manage error messages in a central location for the entire package.


Fields inherited from class java.util.ResourceBundle
parent
 
Constructor Summary
IMSErrorMessages()
          Instantiates a new IMSErrorMessages object.
 
Method Summary
protected  java.lang.Object[][] getContents()
          Returns the contents of the error messages.
static IMSErrorMessages getIMSBundle()
          Returns the IMSErrorMessages resource bundle.
 java.lang.String getString(java.lang.String key, java.lang.Object[] inserts)
          Converts the passed in internal key into the user friendly locale error message, substituting any specified parameters into the message.
 
Methods inherited from class java.util.ListResourceBundle
getKeys, handleGetObject
 
Methods inherited from class java.util.ResourceBundle
getBundle, getBundle, getBundle, getLocale, getObject, getString, getStringArray, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IMSErrorMessages

public IMSErrorMessages()
Instantiates a new IMSErrorMessages object.
Method Detail

getContents

protected java.lang.Object[][] getContents()
Returns the contents of the error messages.
Overrides:
getContents in class java.util.ListResourceBundle

getIMSBundle

public static IMSErrorMessages getIMSBundle()
Returns the IMSErrorMessages resource bundle.

getString

public java.lang.String getString(java.lang.String key,
                                  java.lang.Object[] inserts)
Converts the passed in internal key into the user friendly locale error message, substituting any specified parameters into the message.
Returns:
String The user friendly locale dependent error message.


(C) International Business Machines Corporation 2004. All rights reserved.