This class encapsulates general JavaServer Faces exceptions.
| Modifier and Type | Field and Description |
|---|---|
| private Throwable | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | |
| public | FacesException(String
The detail message for this exception message)Construct a new exception with the specified detail message and no root cause. |
| public | FacesException(Throwable
The root cause for this exception cause)Construct a new exception with the specified root cause. |
| public | FacesException(String
The detail message for this exception message, Throwable The root cause for this exception cause)Construct a new exception with the specified detail message and root cause. |
| Modifier and Type | Method and Description |
|---|---|
| public Throwable | getCause()
Overrides java. Return the cause of this exception, or |
| cause | back to summary |
|---|---|
| private Throwable cause Hides java. The underlying exception that caused this exception. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| FacesException | back to summary |
|---|---|
| public FacesException() Construct a new exception with no detail message or root cause. | |
| FacesException | back to summary |
|---|---|
| public FacesException(String message) Construct a new exception with the specified detail message and no root cause.
| |
| FacesException | back to summary |
|---|---|
| public FacesException(Throwable cause) Construct a new exception with the specified root cause. The detail
message will be set to
| |
| FacesException | back to summary |
|---|---|
| public FacesException(String message, Throwable cause) Construct a new exception with the specified detail message and root cause. | |
| getCause | back to summary |
|---|---|
| public Throwable getCause() Overrides java. Return the cause of this exception, or
| |