Framework Serveur J2EE ACube V3.1.0
CLASSE PRECEDANTE CLASSE SUIVANTE
SOMMAIRE: ATTR CONSTR METH DETAIL: ATTR CONSTR METH

acube.framework.web.interceptor
Classe ExceptionInterceptor
java.lang.Object
  com.opensymphony.xwork2.interceptor.AbstractInterceptor
      acube.framework.web.interceptor.ExceptionInterceptor
Interfaces à implémenter:
com.opensymphony.xwork2.interceptor.Interceptor, Serializable

public class ExceptionInterceptor
hérite de com.opensymphony.xwork2.interceptor.AbstractInterceptor
Use when an exception is thrown in a action. This will generate an error Stream for the client.

Sommaire des Attributs
private static final String
DEFAULT_MESSAGE
DEFAULT_MESSAGE DEFAULT_MESSAGE
private static final SecureRandom
GEN
GEN GEN
private static final int
GEN_ID
serialVersionUID the serialVersionUID
private static org.apache.log4j.Logger
logger
logger the logger for ExceptionInterceptor class.
private static String
nodeId
nodeId nodeId
private static final long
serialVersionUID
serialVersionUID the serialVersionUID
Sommaire des Constructeurs
Sommaire des Méthodes
private static String
genReportId()
Génération d'un rapport d'id
String
intercept(com.opensymphony.xwork2.ActionInvocation invocation)
Intercept all BusinessException, and convert this exception in validation Error. see {@inheritDoc} inheritDoc
Méthodes héritées de la classe com.opensymphony.xwork2.interceptor.AbstractInterceptor
destroy, init, intercept
Méthodes héritées de la classe java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Méthodes héritées de l'interface com.opensymphony.xwork2.interceptor.Interceptor
destroy, init, intercept
Détail des Attributs
serialVersionUID
private static final long serialVersionUID
serialVersionUID the serialVersionUID

GEN_ID
private static final int GEN_ID
serialVersionUID the serialVersionUID

DEFAULT_MESSAGE
private static final String DEFAULT_MESSAGE
DEFAULT_MESSAGE DEFAULT_MESSAGE

logger
private static org.apache.log4j.Logger logger
logger the logger for ExceptionInterceptor class.

GEN
private static final SecureRandom GEN
GEN GEN

nodeId
private static String nodeId
nodeId nodeId
Détail des Constructeurs
ExceptionInterceptor
public ExceptionInterceptor()
Détail des méthodes
intercept
public String intercept(com.opensymphony.xwork2.ActionInvocation invocation)
                 throws Exception
Intercept all BusinessException, and convert this exception in validation Error. see {@inheritDoc} inheritDoc
Spécifié par:
intercept in interface com.opensymphony.xwork2.interceptor.Interceptor
Dépacées:
intercept in class com.opensymphony.xwork2.interceptor.AbstractInterceptor
Exceptions:
Exception

genReportId
private static String genReportId()
Génération d'un rapport d'id
Retours:
String

Framework Serveur J2EE ACube V3.1.0
CLASSE PRECEDANTE CLASSE SUIVANTE
SOMMAIRE: ATTR CONSTR METH DETAIL: ATTR CONSTR METH

Version 3.1.0 du 06/11/2009 / Etat : Validé
Cette création est mise à disposition selon le Contrat Paternité - Pas d'Utilisation Commerciale - Partage des Conditions Initiales à l'Identique disponible en ligne http://creativecommons.org/licenses/by-nc-sa/2.0/fr/ ou par courrier postal à Creative Commons, 559 Nathan Abbott Way, Stanford,California 94305, USA.
Documentation generated by DocFlex