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 Object

Manages the exception handler chain

Author:
Gavin King

Constructor Summary
Exceptions()
           
 
Method Summary
 List<ExceptionHandler> getHandlers()
           
 void handle(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(Exception e)
            throws Exception
Throws:
Exception

initialize

@Create
public void initialize()
                throws Exception
Throws:
Exception

getHandlers

public 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.