public abstract class ApplicationException extends Exception
Modifier and Type | Field and Description |
---|---|
private static String |
DEFAULT_BUNDLE_NAME |
private ResourceBundle |
mResourceBundle |
Constructor and Description |
---|
ApplicationException(Locale pLocale) |
ApplicationException(Locale pLocale,
Throwable pCause) |
ApplicationException(String pMessage) |
ApplicationException(String pMessage,
Throwable pCause) |
ApplicationException(String pMessage,
Throwable pCause,
String pBundleName) |
Modifier and Type | Method and Description |
---|---|
protected String |
getBundleDefaultMessage() |
protected String |
getBundleMessage(String pKey) |
abstract String |
getLocalizedMessage() |
String |
getMessage() |
void |
setLocale(Locale pLocale) |
String |
toString() |
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
private static final String DEFAULT_BUNDLE_NAME
private ResourceBundle mResourceBundle
public ApplicationException(String pMessage, Throwable pCause, String pBundleName)
public ApplicationException(String pMessage)
public ApplicationException(Locale pLocale)
public void setLocale(Locale pLocale)
protected String getBundleDefaultMessage()
public String getMessage()
getMessage
in class Throwable
public abstract String getLocalizedMessage()
getLocalizedMessage
in class Throwable
Copyright © 2013 OW2 Consortium. All Rights Reserved.