public class FacesException extends RuntimeException
This class encapsulates general Jakarta Server Faces exceptions.
Constructor and Description |
---|
FacesException()
Construct a new exception with no detail message or root cause.
|
FacesException(String message)
Construct a new exception with the specified detail message and no root cause.
|
FacesException(String message,
Throwable cause)
Construct a new exception with the specified detail message and root cause.
|
FacesException(Throwable cause)
Construct a new exception with the specified root cause.
|
Modifier and Type | Method and Description |
---|---|
Throwable |
getCause()
Return the cause of this exception, or
null if the cause is nonexistent or unknown. |
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public FacesException()
Construct a new exception with no detail message or root cause.
public FacesException(String message)
Construct a new exception with the specified detail message and no root cause.
message
- The detail message for this exceptionpublic FacesException(Throwable cause)
Construct a new exception with the specified root cause. The detail message will be set to
(cause == null ? null :
cause.toString()
cause
- The root cause for this exceptionCopyright © 2018,2020 Eclipse Foundation.
Use is subject to license terms.