com.stratelia.webactiv.util.exception
Class SilverpeasTrappedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.stratelia.webactiv.util.exception.SilverpeasException
com.stratelia.webactiv.util.exception.SilverpeasTrappedException
- All Implemented Interfaces:
- FromModule, WithNested, Serializable
- Direct Known Subclasses:
- JobDomainPeasTrappedException, UtilTrappedException
public abstract class SilverpeasTrappedException
- extends SilverpeasException
SilverpeasException est la racine de la hiérarchie d'exception silverpeas. Toutes les classes
d'exception spécifiques aux differents modules doivent dériver (directement ou non) de
SilverpeasException. La page d'erreur globale à l'application ne saura traiter correctement que
les SilverpeasException. Les autres exception (ou error ou runtime) provoqueront l'affichage
d'une page d'erreur imprévue. Le message que l'on donne à l'exception est très important, il doit
etre affiché à l'utilisateur. C'est pourquoi le label est multilangue. Chaque classe heritant de
SilverpeasException doit surdefinir la fonction getModule qui retourne le nom du module (le meme
nom que celui defini dans Silvertrace)
- See Also:
- Serialized Form
Constructor Summary |
SilverpeasTrappedException(String callingClass,
int errorLevel,
String message)
|
SilverpeasTrappedException(String callingClass,
int errorLevel,
String message,
Exception nested)
|
SilverpeasTrappedException(String callingClass,
int errorLevel,
String message,
String extraParams)
|
SilverpeasTrappedException(String callingClass,
int errorLevel,
String message,
String extraParams,
Exception nested)
|
Methods inherited from class com.stratelia.webactiv.util.exception.SilverpeasException |
getChainedExceptions, getErrorLevel, getExtraInfos, getMessageLang, getMessageLang, getModule, getNested, printStackTrace, printStackTrace, printStackTrace, traceException |
SilverpeasTrappedException
public SilverpeasTrappedException(String callingClass,
int errorLevel,
String message)
SilverpeasTrappedException
public SilverpeasTrappedException(String callingClass,
int errorLevel,
String message,
String extraParams)
SilverpeasTrappedException
public SilverpeasTrappedException(String callingClass,
int errorLevel,
String message,
Exception nested)
SilverpeasTrappedException
public SilverpeasTrappedException(String callingClass,
int errorLevel,
String message,
String extraParams,
Exception nested)
setGoBackPage
public void setGoBackPage(String gbp)
getGoBackPage
public String getGoBackPage()
Copyright © 2016 Silverpeas. All Rights Reserved.