当前页面:
在线文档首页 >
JBoss Seam 1.1.0 cr1 API 英文版文档
Exceptions (JBoss Seam API Documentation) - JBoss Seam 1.1.0 cr1 API 英文版文档
org.jboss.seam.core
Class Exceptions
java.lang.Object
org.jboss.seam.core.Exceptions
@Scope(value=APPLICATION)
@Intercept(value=NEVER)
@Name(value="org.jboss.seam.core.exceptions")
public class Exceptions
- extends Object
Holds metadata for pages defined in pages.xml, including
page actions and page descriptions.
- Author:
- Gavin King
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Exceptions
public Exceptions()
handle
public Object handle(Exception e)
throws Exception
- Throws:
Exception
initialize
@Create
public void initialize()
throws Exception
- Throws:
Exception
getDisplayMessage
protected static String getDisplayMessage(Exception e,
String message)
addFacesMessage
protected static void addFacesMessage(Exception e,
String message)
error
protected static void error(int code,
String message)
redirect
protected static void redirect(String viewId)
render
protected static void render(String viewId)
instance
public static Exceptions instance()