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:
java.io.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(java.lang.String message)Create aFaceletExceptionwith argumentmessageas the message.FaceletException(java.lang.String message, java.lang.Throwable cause)Wrap argumentcausein aFaceletExceptioninstance, with a message given by the argumentmessage.FaceletException(java.lang.Throwable cause)Wrap argumentcausewithin thisFaceletExceptioninstance.
-
Method Summary
-
Methods inherited from class javax.faces.FacesException
getCause
-
-
-
-
Constructor Detail
-
FaceletException
public FaceletException()
Create an empty
FaceletException.
-
FaceletException
public FaceletException(java.lang.String message)
Create a
FaceletExceptionwith argumentmessageas the message.- Parameters:
message- the textual message to display for the exception.
-
FaceletException
public FaceletException(java.lang.Throwable cause)
Wrap argument
causewithin thisFaceletExceptioninstance.- Parameters:
cause- theThrowableto wrap
-
FaceletException
public FaceletException(java.lang.String message, java.lang.Throwable cause)Wrap argument
causein aFaceletExceptioninstance, with a message given by the argumentmessage.- Parameters:
message- the message for theFacesExceptioncause- the root cause
-
-