Class I10nProfileException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.craftercms.profile.api.exceptions.ProfileException
-
- org.craftercms.profile.api.exceptions.I10nProfileException
-
- All Implemented Interfaces:
Serializable
public class I10nProfileException extends ProfileException
Localized version ofProfileException
. Follows the same strategy asAbstractI10nException
.- Author:
- avasquez
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description I10nProfileException()
I10nProfileException(String key, Object... args)
I10nProfileException(String key, Throwable cause, Object... args)
I10nProfileException(Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getMessage()
protected ResourceBundle
getResourceBundle()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Field Detail
-
ERROR_BUNDLE_NAME
public static final String ERROR_BUNDLE_NAME
- See Also:
- Constant Field Values
-
key
protected String key
-
args
protected Object[] args
-
-
Constructor Detail
-
I10nProfileException
public I10nProfileException()
-
I10nProfileException
public I10nProfileException(Throwable cause)
-
-
Method Detail
-
getMessage
public String getMessage()
- Overrides:
getMessage
in classThrowable
-
getResourceBundle
protected ResourceBundle getResourceBundle()
-
-