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 argumenttagso the exception can reference its information.TagException(Tag tag, String message)Wrap the argumenttagso the exception can reference its information.TagException(Tag tag, String message, Throwable cause)Wrap the argumenttagso the exception can reference its information.TagException(Tag tag, Throwable cause)Wrap the argumenttagso the exception can reference its information.
-
Method Summary
-
Methods inherited from class jakarta.faces.FacesException
getCause
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
TagException
public TagException(Tag tag)
Wrap the argument
tagso the exception can reference its information.- Parameters:
tag- theTagthat caused this exception.
-
TagException
public TagException(Tag tag, String message)
Wrap the argument
tagso the exception can reference its information.- Parameters:
tag- theTagthat caused this exception.message- a message describing the exception
-
TagException
public TagException(Tag tag, Throwable cause)
Wrap the argument
tagso the exception can reference its information.- Parameters:
tag- theTagthat caused this exception.cause- the root cause for this exception.
-
-