Save This Page
Home » mojarra-1.2_09-b02-FCS-source » 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:
    ViewExpiredException, MethodNotFoundException, PropertyNotFoundException, AbortProcessingException, ConverterException, EvaluationException, ValidatorException, ReferenceSyntaxException

This class encapsulates general JavaServer Faces exceptions.

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:
equals,   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.