org.jboss.seam.exception
Class Exceptions

java.lang.Object
  extended by org.jboss.seam.exception.Exceptions

@Scope(value=APPLICATION)
@BypassInterceptors
@Install(precedence=0,
         classDependencies="javax.faces.context.FacesContext")
@Name(value="org.jboss.seam.exception.exceptions")
public class Exceptions
extends java.lang.Object

Manages the exception handler chain

Author:
Gavin King

Constructor Summary
Exceptions()
           
 
Method Summary
 java.util.List<ExceptionHandler> getHandlers()
           
 void handle(java.lang.Exception e)
           
 void initialize()
           
static Exceptions instance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Exceptions

public Exceptions()
Method Detail

handle

public void handle(java.lang.Exception e)
            throws java.lang.Exception
Throws:
java.lang.Exception

initialize

@Create
public void initialize()
                throws java.lang.Exception
Throws:
java.lang.Exception

getHandlers

public java.util.List<ExceptionHandler> getHandlers()
Returns:
the exception handler list, which supports addition and removal of handlers

instance

public static Exceptions instance()


Copyright © 2011 Seam Framework. All Rights Reserved.