Package org.craftercms.commons.i10n
Class AbstractI10nRuntimeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.craftercms.commons.i10n.AbstractI10nRuntimeException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DateParseException
public abstract class AbstractI10nRuntimeException extends RuntimeException
Root runtime exception for anyException
that wants to be localized.- Author:
- avasquez
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AbstractI10nRuntimeException()
AbstractI10nRuntimeException(String key, Object... args)
AbstractI10nRuntimeException(String key, Throwable cause, Object... args)
AbstractI10nRuntimeException(Throwable cause)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description String
getMessage()
protected abstract ResourceBundle
getResourceBundle()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
getMessage
public String getMessage()
- Overrides:
getMessage
in classThrowable
-
getResourceBundle
protected abstract ResourceBundle getResourceBundle()
-
-