org.gxml.i18n
Class LocalizableException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.gxml.i18n.LocalizableException
All Implemented Interfaces:
java.io.Serializable, LocalizableMessage

public abstract class LocalizableException
extends java.lang.Exception
implements LocalizableMessage

See Also:
Serialized Form

Constructor Summary
LocalizableException()
           
 
Method Summary
 java.lang.String getLocalizedMessage()
           
 java.lang.String getLocalizedMessage(java.util.Locale locale)
          Implementing LocalizableMessage and having this method is optional but it does indicate that the message text is "late-bound" to the arguments.
 java.lang.String getMessage()
           
protected abstract  java.util.ResourceBundle getResourceBundle(java.util.Locale locale)
           
protected abstract  ResourceBundleMessage getResourceBundleMessage()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, 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

LocalizableException

public LocalizableException()
Method Detail

getLocalizedMessage

public final java.lang.String getLocalizedMessage()
Overrides:
getLocalizedMessage in class java.lang.Throwable

getLocalizedMessage

public final java.lang.String getLocalizedMessage(java.util.Locale locale)
Description copied from interface: LocalizableMessage
Implementing LocalizableMessage and having this method is optional but it does indicate that the message text is "late-bound" to the arguments.

Specified by:
getLocalizedMessage in interface LocalizableMessage
Parameters:
locale - The locale requested for the message text.
Returns:
The localized message.

getMessage

public final java.lang.String getMessage()
Overrides:
getMessage in class java.lang.Throwable

getResourceBundle

protected abstract java.util.ResourceBundle getResourceBundle(java.util.Locale locale)

getResourceBundleMessage

protected abstract ResourceBundleMessage getResourceBundleMessage()


Copyright © 2009 TIBCO Software Inc. All Rights Reserved.