java.lang.Object
java.lang.Throwable
java.lang.Exception
javax.servlet.jsp.JspException
com.aoapps.servlet.jsp.LocalizedJspException
- All Implemented Interfaces:
LocalizedException
,Serializable
Extends
JspException
to provide exceptions with user locale error messages.- Author:
- AO Industries, Inc.
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionLocalizedJspException
(Resources resources, String key) LocalizedJspException
(Resources resources, String key, Serializable... args) LocalizedJspException
(Throwable cause, Resources resources, String key) LocalizedJspException
(Throwable cause, Resources resources, String key, Serializable... args) -
Method Summary
Modifier and TypeMethodDescriptionfinal Serializable[]
getArgs()
final String
getKey()
final Resources
Methods inherited from class javax.servlet.jsp.JspException
getRootCause
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
resources
-
key
-
args
-
-
Constructor Details
-
LocalizedJspException
-
LocalizedJspException
-
LocalizedJspException
-
LocalizedJspException
public LocalizedJspException(Throwable cause, Resources resources, String key, Serializable... args)
-
-
Method Details
-
getLocalizedMessage
- Specified by:
getLocalizedMessage
in interfaceLocalizedException
- Overrides:
getLocalizedMessage
in classThrowable
-
getResources
- Specified by:
getResources
in interfaceLocalizedException
-
getKey
- Specified by:
getKey
in interfaceLocalizedException
-
getArgs
- Specified by:
getArgs
in interfaceLocalizedException
- Returns:
- No defensive copy
-