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
An Exception from the Facelet implementation
- Since:
 - 2.0
 - See Also:
 
- 
Constructor Summary
ConstructorsConstructorDescriptionCreate 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
getCauseMethods 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
FaceletExceptionwith argumentmessageas the message.- Parameters:
 message- the textual message to display for the exception.
 - 
FaceletException
Wrap argument
causewithin thisFaceletExceptioninstance.- Parameters:
 cause- theThrowableto wrap
 - 
FaceletException
 
 -