javax.faces.view.facelets
Class FaceletException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by javax.faces.FacesException
                  extended by javax.faces.view.facelets.FaceletException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
TagAttributeException, TagException

public class FaceletException
extends FacesException

An Exception from the Facelet implementation

Since:
2.0
See Also:
Serialized Form

Constructor Summary
FaceletException()
          

Create an empty FaceletException.

FaceletException(java.lang.String message)
          

Create a FaceletException with argument message as the message.

FaceletException(java.lang.String message, java.lang.Throwable cause)
          

Wrap argument cause in a FaceletException instance, with a message given by the argument message.

FaceletException(java.lang.Throwable cause)
          

Wrap argument cause within this FaceletException instance.

 
Method Summary
 
Methods inherited from class javax.faces.FacesException
getCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FaceletException

public FaceletException()

Create an empty FaceletException.


FaceletException

public FaceletException(java.lang.String message)

Create a FaceletException with argument message as the message.

Parameters:
message - the textual message to display for the exception.

FaceletException

public FaceletException(java.lang.Throwable cause)

Wrap argument cause within this FaceletException instance.

Parameters:
cause - the Throwable to wrap

FaceletException

public FaceletException(java.lang.String message,
                        java.lang.Throwable cause)

Wrap argument cause in a FaceletException instance, with a message given by the argument message.

Parameters:
message - the message for the FacesException
cause - the root cause


Submit a bug or feature

Copyright © 2009, 2010, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.

Generated on 4-June-2010 04:34