java.lang.Object
java.lang.Throwable
java.lang.Exception
javax.servlet.jsp.JspException
javax.servlet.jsp.JspTagException
com.aoapps.servlet.jsp.LocalizedJspTagException
- All Implemented Interfaces:
LocalizedException
,Serializable
Extends
JspTagException
to provide exceptions with user locale error messages.- Author:
- AO Industries, Inc.
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionLocalizedJspTagException
(Resources resources, String key) LocalizedJspTagException
(Resources resources, String key, Serializable... args) LocalizedJspTagException
(Throwable cause, Resources resources, String key) LocalizedJspTagException
(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
-
LocalizedJspTagException
-
LocalizedJspTagException
-
LocalizedJspTagException
-
LocalizedJspTagException
public LocalizedJspTagException(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
-