com.ibm.websphere.i18n.localizabletext
Class LocalizableException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.ibm.websphere.exception.DistributedException
                    |
                    +--com.ibm.websphere.i18n.localizabletext.LocalizableException
All Implemented Interfaces:
DistributedExceptionEnabled, java.io.Serializable

public class LocalizableException
extends DistributedException

The class LocalizableException is used as a common exception for many of the LocalizableText classes. This allows users of various LocalizableText classes and methods to only try/catch for this one exception. Because it extends DistributedException, the client of LocalizableText should see all chained exceptions down to the very first exception which caused the problem.

See Also:
Serialized Form

Constructor Summary
LocalizableException(java.lang.String param)
           
LocalizableException(java.lang.String param, java.lang.Throwable exp)
           
LocalizableException(java.lang.Throwable exception)
           
 
Methods inherited from class com.ibm.websphere.exception.DistributedException
getException, getExceptionInfo, getMessage, getOriginalException, getPreviousException, printStackTrace, printStackTrace, printSuperStackTrace, setDefaultMessage, setLocalizationInfo
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, printStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LocalizableException

public LocalizableException(java.lang.String param)
Parameters:
param - Additional text to help describe exception.

LocalizableException

public LocalizableException(java.lang.String param,
                            java.lang.Throwable exp)
Parameters:
param - Additional text to help describe exception.
exp - Exception to be added to the Distributed Exception chain

LocalizableException

public LocalizableException(java.lang.Throwable exception)
Parameters:
exp - Exception to be added to the Distributed Exception chain