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

All Implemented Interfaces:
    Serializable

Direct Known Subclasses:
    ReferenceSyntaxException, ConverterException, PropertyNotFoundException, MethodNotFoundException, AbortProcessingException, TagAttributeException, EvaluationException, TagException, ValidatorException, UpdateModelException, FaceletException, ViewExpiredException

This class encapsulates general JavaServer Faces exceptions.

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

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

    Parameters:
    message - The detail message for this exception
 public FacesException(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 FacesException(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
Method from javax.faces.FacesException Summary:
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.FacesException Detail:
 public Throwable getCause() 

    Return the cause of this exception, or null if the cause is nonexistent or unknown.