Home » Mojarra-2.0.1 » javax » faces » convert » [javadoc | source]
javax.faces.convert
public class: ConverterException [javadoc | source]
java.lang.Object
   java.lang.Throwable
      java.lang.Exception
         java.lang.RuntimeException
            javax.faces.FacesException
               javax.faces.convert.ConverterException

All Implemented Interfaces:
    Serializable

ConverterException is an exception thrown by the getAsObject() or getAsText() method of a Converter , to indicate that the requested conversion cannot be performed.

Fields inherited from java.lang.RuntimeException:
serialVersionUID
Fields inherited from java.lang.Exception:
serialVersionUID
Constructor:
 public ConverterException() 
 public ConverterException(String message) 

    Construct a new exception with the specified detail message and no root cause.

    Parameters:
    message - The detail message for this exception
 public ConverterException(Throwable cause) 

    Construct a new exception with the specified root cause. The detail message will be set to (cause == null ? null : cause.toString()

    Parameters:
    cause - The root cause for this exception
 public ConverterException(FacesMessage message) 

    Construct a new exception with the specified detail message and no root cause.

    Parameters:
    message - The detail message for this exception
 public ConverterException(String message,
    Throwable cause) 

    Construct a new exception with the specified detail message and root cause.

    Parameters:
    message - The detail message for this exception
    cause - The root cause for this exception
 public ConverterException(FacesMessage message,
    Throwable cause) 

    Construct a new exception with the specified detail message and root cause.

    Parameters:
    message - The detail message for this exception
    cause - The root cause for this exception
Method from javax.faces.convert.ConverterException Summary:
getFacesMessage
Methods from javax.faces.FacesException:
getCause
Methods from java.lang.Throwable:
fillInStackTrace,   getCause,   getLocalizedMessage,   getMessage,   getStackTrace,   initCause,   printStackTrace,   printStackTrace,   printStackTrace,   setStackTrace,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.faces.convert.ConverterException Detail:
 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.