Package com.appiancorp.exceptions
Class LocalizedAppianRuntimeException.LocalizedAppianException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.appiancorp.suiteapi.common.exceptions.AppianException
com.appiancorp.exceptions.LocalizedAppianRuntimeException.LocalizedAppianException
- All Implemented Interfaces:
Serializable
- Enclosing class:
- LocalizedAppianRuntimeException
public static class LocalizedAppianRuntimeException.LocalizedAppianException
extends AppianException
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe default implementation is equivalent to callingAppianException.getLocalizedMessage(Locale)withLocale.USas argument.getLocalizedMessage(Locale locale) Returns this exception's message representation.getLocalizedTitle(Locale locale) Returns this exception's title representation.The default implementation is equivalent to callingAppianException.getLocalizedMessage()Methods inherited from class com.appiancorp.suiteapi.common.exceptions.AppianException
getErrorCode, getErrorCodeArguments, getErrorCodeArguments, getErrorCodeArgumentsAsStringArray, getLocalizedMessageWithErrorCode, getLocalizedStaticMessage, toStringMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
LocalizedAppianException
-
-
Method Details
-
getMessage
Description copied from class:AppianExceptionThe default implementation is equivalent to callingAppianException.getLocalizedMessage()- Overrides:
getMessagein classAppianException
-
getLocalizedMessage
Description copied from class:AppianExceptionThe default implementation is equivalent to callingAppianException.getLocalizedMessage(Locale)withLocale.USas argument. Please note that the error message filtering logic in https://issues.appian.com/browse/AN-274235 depends on this default behavior. Please contact Portals Foundations before changing this default behavior.- Overrides:
getLocalizedMessagein classAppianException
-
getLocalizedMessage
Description copied from class:AppianExceptionReturns this exception's message representation. This method should be used whenever the message is to be displayed to the end user. The default representation does not include any error code information because this may be rendered in different ways across the application. If needed, the exception's error code can be retrieved fromAppianException.getErrorCode().- Overrides:
getLocalizedMessagein classAppianException- Parameters:
locale- message's locale- Returns:
- this exception's message representation
- See Also:
-
getLocalizedTitle
Description copied from class:AppianExceptionReturns this exception's title representation. This method should be used whenever the title is to be displayed to the end user. The default representation does not include any error code information because this may be rendered in different ways across the application. If needed, the exception's error code can be retrieved fromAppianException.getErrorCode().- Overrides:
getLocalizedTitlein classAppianException- Parameters:
locale- title's locale- Returns:
- this exception's title representation
- See Also:
-