- 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:
Serializable
public class LocalizedJspTagException extends JspTagException
ExtendsJspTagExceptionto provide exceptions with user locale error messages.- Author:
- AO Industries, Inc.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LocalizedJspTagException(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
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
-
LocalizedJspTagException
public LocalizedJspTagException(Resources resources, String key, Serializable... args)
-
LocalizedJspTagException
public LocalizedJspTagException(Throwable cause, Resources resources, String key)
-
LocalizedJspTagException
public LocalizedJspTagException(Throwable cause, Resources resources, String key, Serializable... args)
-
-
Method Detail
-
getLocalizedMessage
public String getLocalizedMessage()
- Overrides:
getLocalizedMessagein classThrowable
-
-