Package jakarta.faces.view.facelets
Class FaceletException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- jakarta.faces.FacesException
-
- jakarta.faces.view.facelets.FaceletException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
TagAttributeException
,TagException
public class FaceletException extends FacesException
An Exception from the Facelet implementation
- Since:
- 2.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FaceletException()
Create an emptyFaceletException
.FaceletException(String message)
Create aFaceletException
with argumentmessage
as the message.FaceletException(String message, Throwable cause)
Wrap argumentcause
in aFaceletException
instance, with a message given by the argumentmessage
.FaceletException(Throwable cause)
Wrap argumentcause
within thisFaceletException
instance.
-
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
-
FaceletException
public FaceletException()
Create an empty
FaceletException
.
-
FaceletException
public FaceletException(String message)
Create a
FaceletException
with argumentmessage
as the message.- Parameters:
message
- the textual message to display for the exception.
-
FaceletException
public FaceletException(Throwable cause)
Wrap argument
cause
within thisFaceletException
instance.- Parameters:
cause
- theThrowable
to wrap
-
-