- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- javax.servlet.jsp.JspException
-
- com.aoapps.servlet.jsp.LocalizedJspException
-
- All Implemented Interfaces:
Serializable
public class LocalizedJspException extends JspException
ExtendsJspExceptionto provide exceptions with user locale error messages.- Author:
- AO Industries, Inc.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LocalizedJspException(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetLocalizedMessage()-
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 Detail
-
resources
protected final Resources resources
-
key
protected final String key
-
args
protected final Serializable[] args
-
-
Constructor Detail
-
LocalizedJspException
public LocalizedJspException(Resources resources, String key, Serializable... args)
-
LocalizedJspException
public LocalizedJspException(Throwable cause, Resources resources, String key)
-
LocalizedJspException
public LocalizedJspException(Throwable cause, Resources resources, String key, Serializable... args)
-
-
Method Detail
-
getLocalizedMessage
public String getLocalizedMessage()
- Overrides:
getLocalizedMessagein classThrowable
-
-