|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FromModule
Cette interface doit etre implémentée par toutes les exception souhaitant être monitorés. La méthode getModule() doit être implementée pour permettre de connaitre le nom du module ayant généré cette exception. Par exemple, pour le module d'administration, on va définir une AdminException qui "extends" SilverpeasException, et "implements" FromModuleException. La méthode getModule devra renvoyer une chaine du style "Admin".
Method Summary | |
---|---|
int |
getErrorLevel()
|
String |
getMessageLang()
|
String |
getMessageLang(String language)
|
String |
getModule()
This function must be defined by the Classes that herit from this one |
void |
traceException()
|
Method Detail |
---|
String getModule()
String getMessageLang()
String getMessageLang(String language)
void traceException()
int getErrorLevel()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |