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
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLocalizedJspException(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 StringgetKey()final ResourcesMethods inherited from class javax.servlet.jsp.JspException
getRootCauseMethods 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:
getLocalizedMessagein interfaceLocalizedException- Overrides:
getLocalizedMessagein classThrowable
-
getResources
- Specified by:
getResourcesin interfaceLocalizedException
-
getKey
- Specified by:
getKeyin interfaceLocalizedException
-
getArgs
- Specified by:
getArgsin interfaceLocalizedException- Returns:
- No defensive copy
-
