Package javax.faces.view.facelets
Class FaceletException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
javax.faces.FacesException
javax.faces.view.facelets.FaceletException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
TagAttributeException
,TagException
An Exception from the Facelet implementation
- Since:
- 2.0
- See Also:
-
Constructor Summary
ConstructorDescriptionCreate 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 javax.faces.FacesException
getCause
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
FaceletException
public FaceletException()Create an empty
FaceletException
. -
FaceletException
Create a
FaceletException
with argumentmessage
as the message.- Parameters:
message
- the textual message to display for the exception.
-
FaceletException
Wrap argument
cause
within thisFaceletException
instance.- Parameters:
cause
- theThrowable
to wrap
-
FaceletException
Wrap argument
cause
in aFaceletException
instance, with a message given by the argumentmessage
.- Parameters:
message
- the message for theFacesException
cause
- the root cause
-