ConverterException is an exception thrown by the
getAsObject() or getAsText() method of a
Converter, to indicate that the requested conversion cannot
be performed.
| Modifier and Type | Field and Description |
|---|---|
| private FacesMessage | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | |
| public | ConverterException(String
The detail message for this exception message)Construct a new exception with the specified detail message and no root cause. |
| public | ConverterException(Throwable
The root cause for this exception cause)Construct a new exception with the specified root cause. |
| public | ConverterException(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. |
| public | ConverterException(FacesMessage
The detail message for this exception message)Construct a new exception with the specified detail message and no root cause. |
| public | ConverterException(FacesMessage
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 FacesMessage | Returns: the messageReturns the FacesMessage associated with this exception; this will only be available if the converter that thew this exception instance placed it there. |
| facesMessage | back to summary |
|---|---|
| private FacesMessage facesMessage | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| ConverterException | back to summary |
|---|---|
| public ConverterException() Construct a new exception with no detail message or root cause. | |
| ConverterException | back to summary |
|---|---|
| public ConverterException(String message) Construct a new exception with the specified detail message and no root cause.
| |
| ConverterException | back to summary |
|---|---|
| public ConverterException(Throwable cause) Construct a new exception with the specified root cause. The detail
message will be set to
| |
| ConverterException | back to summary |
|---|---|
| public ConverterException(String message, Throwable cause) Construct a new exception with the specified detail message and root cause. | |
| ConverterException | back to summary |
|---|---|
| public ConverterException(FacesMessage message) Construct a new exception with the specified detail message and no root cause.
| |
| ConverterException | back to summary |
|---|---|
| public ConverterException(FacesMessage message, Throwable cause) Construct a new exception with the specified detail message and root cause.
| |
| getFacesMessage | back to summary |
|---|---|
| public FacesMessage getFacesMessage() Returns the FacesMessage associated with this exception; this will only be available if the converter that thew this exception instance placed it there.
| |