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 aFaceletExceptionwith argumentmessageas the message.FaceletException(String message, Throwable cause)Wrap argumentcausein aFaceletExceptioninstance, with a message given by the argumentmessage.FaceletException(Throwable cause)Wrap argumentcausewithin thisFaceletExceptioninstance. 
- 
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
FaceletExceptionwith argumentmessageas the message.- Parameters:
 message- the textual message to display for the exception.
 
- 
FaceletException
public FaceletException(Throwable cause)
Wrap argument
causewithin thisFaceletExceptioninstance.- Parameters:
 cause- theThrowableto wrap
 
 - 
 
 -