Package jakarta.faces.view.facelets
Class TagException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
jakarta.faces.FacesException
jakarta.faces.view.facelets.FaceletException
jakarta.faces.view.facelets.TagException
- All Implemented Interfaces:
Serializable
public final class TagException extends FaceletException
An Exception caused by a Tag
- Since:
- 2.0
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description TagException(Tag tag)
Wrap the argumenttag
so the exception can reference its information.TagException(Tag tag, String message)
Wrap the argumenttag
so the exception can reference its information.TagException(Tag tag, String message, Throwable cause)
Wrap the argumenttag
so the exception can reference its information.TagException(Tag tag, Throwable cause)
Wrap the argumenttag
so the exception can reference its information. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TagException
Wrap the argument
tag
so the exception can reference its information.- Parameters:
tag
- theTag
that caused this exception.
-
TagException
Wrap the argument
tag
so the exception can reference its information.- Parameters:
tag
- theTag
that caused this exception.message
- a message describing the exception
-
TagException
Wrap the argument
tag
so the exception can reference its information.- Parameters:
tag
- theTag
that caused this exception.cause
- the root cause for this exception.
-
TagException
Wrap the argument
tag
so the exception can reference its information.- Parameters:
tag
- theTag
that caused this exception.message
- a message describing the exceptioncause
- the root cause for this exception.
-