IMC Epclient 5.0.3

at.spardat.enterprise.fmt
Class FmtParseException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byat.spardat.enterprise.fmt.AParseException
                  extended byat.spardat.enterprise.fmt.FmtParseException
All Implemented Interfaces:
java.io.Serializable

public class FmtParseException
extends AParseException

This class denotes a parse exception. Associated with this class is a ressource bundle of the name FmtErrors. It must hold MessageFormat strings. This class is for internal usage in the package fmt only.

See Also:
Serialized Form

Constructor Summary
FmtParseException(java.lang.String bundleKey)
          Constructor for FmtParseException.
FmtParseException(java.lang.String bundleKey, java.lang.Object arg)
          Constructor for FmtParseException.
FmtParseException(java.lang.String bundleKey, java.lang.Object arg1, java.lang.Object arg2)
          Constructor for FmtParseException.
 
Method Summary
 java.lang.String getMessage()
           
 java.lang.String getUIMessage(java.util.Locale l)
          Returns an UI displayable message explaing the reason for this exception.
protected  void setResBundle(java.lang.String resBundle)
          Sets the resource bundle used for error messages.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FmtParseException

public FmtParseException(java.lang.String bundleKey)
Constructor for FmtParseException.


FmtParseException

public FmtParseException(java.lang.String bundleKey,
                         java.lang.Object arg)
Constructor for FmtParseException.


FmtParseException

public FmtParseException(java.lang.String bundleKey,
                         java.lang.Object arg1,
                         java.lang.Object arg2)
Constructor for FmtParseException.

Method Detail

getMessage

public java.lang.String getMessage()
See Also:
Throwable.getMessage()

getUIMessage

public java.lang.String getUIMessage(java.util.Locale l)
Returns an UI displayable message explaing the reason for this exception. The text is taken from ressource bundle FmtErrors.

Overrides:
getUIMessage in class AParseException
Returns:
Non null string with an explanation which may be shown directly to the user.

setResBundle

protected void setResBundle(java.lang.String resBundle)
Sets the resource bundle used for error messages. If this method is not called than an enterprise internal resource bundle is used.

Parameters:
resBundle -
Since:
version_number

IMC Epclient 5.0.3