com.stratelia.webactiv.util.exception
Interface FromModule
- All Known Implementing Classes:
- AdminException, AdminPersistenceException, AlertUserException, AttachmentException, AuthenticationBadCredentialException, AuthenticationException, AuthenticationHostException, AuthenticationNoMoreUserConnectionAttemptException, AuthenticationPasswordAboutToExpireException, AuthenticationPasswordExpired, AuthenticationPasswordMustBeChangedAtNextLogon, AuthenticationPasswordMustBeChangedOnFirstLogin, AuthenticationPwdChangeNotAvailException, AuthenticationPwdNotAvailException, AuthenticationUserAccountBlockedException, AuthenticationUserAccountDeactivatedException, AuthenticationUserMustAcceptTermsOfService, ClipboardException, ContainerManagerException, ContentManagerException, DomainAuthenticationPropertiesAlreadyExistsException, DomainConflictException, DomainCreationException, DomainDeletionException, DomainPropertiesAlreadyExistsException, ExternalExecutionException, ExtractorException, FileHandlerException, ForbiddenRuntimeException, ForgottenPasswordException, FormException, FormFatalException, FormRuntimeException, GenericPanelException, ImageToolException, InstanciationException, NameAlreadyExistsInDatabaseException, NotificationManagerException, NotificationServerException, ParseException, PersistenceException, PropertyNotFoundRuntimeException, PublicationTemplateException, QuotaException, QuotaFullException, QuotaNotEnoughException, QuotaOutOfBoundsException, QuotaRuntimeException, SearchEngineException, SelectionException, SilverpeasException, SilverpeasRuntimeException, SilverpeasTrappedException, SKDException, SocialNetworkAuthorizationException, SocialNetworkException, SQLDomainDAOException, ThumbnailException, ThumbnailRuntimeException, UtilException, UtilTrappedException, VideoThumbnailExtractorException, ViewerException, WysiwygException
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".
getModule
String getModule()
- This function must be defined by the Classes that herit from this one
- Returns:
- The SilverTrace's module name
getMessageLang
String getMessageLang()
getMessageLang
String getMessageLang(String language)
traceException
void traceException()
getErrorLevel
int getErrorLevel()
Copyright © 2016 Silverpeas. All Rights Reserved.