Package org.silverpeas.web.directory
Class DirectoryException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.silverpeas.core.exception.SilverpeasException
-
- org.silverpeas.web.directory.DirectoryException
-
- All Implemented Interfaces:
Serializable
,FromModule
,WithNested
public class DirectoryException extends SilverpeasException
Thrown by the directory service- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.silverpeas.core.exception.SilverpeasException
ERROR, FATAL, WARNING
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
DirectoryException(String caller, int level, String message)
Set the caller, the level and the error message.protected
DirectoryException(String caller, int level, String message, Exception nestedException)
Set the caller, the level, the error message and the nested exception.protected
DirectoryException(String caller, int level, String message, String infos)
Set the caller, the level, the error message and infos.protected
DirectoryException(String caller, int level, String message, String infos, Exception nestedException)
Set the caller, the level, the error message, infos and the nested exception.DirectoryException(String caller, String message)
Set the caller and the error messageDirectoryException(String caller, String message, Exception nestedException)
Set the caller, the error message and the nested exception.DirectoryException(String caller, String message, String infos)
Set the caller, infos and the error messageDirectoryException(String caller, String message, String infos, Exception nestedException)
Set the caller, the error message, infos and the nested exception.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getModule()
Returns the module name.-
Methods inherited from class org.silverpeas.core.exception.SilverpeasException
getChainedExceptions, getErrorLevel, getExtraInfos, getMessageLang, getMessageLang, getNested, printStackTrace, printStackTrace, printStackTrace, traceException
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
-
-
-
-
Constructor Detail
-
DirectoryException
public DirectoryException(String caller, String message)
Set the caller and the error message
-
DirectoryException
public DirectoryException(String caller, String message, Exception nestedException)
Set the caller, the error message and the nested exception.
-
DirectoryException
public DirectoryException(String caller, String message, String infos)
Set the caller, infos and the error message
-
DirectoryException
public DirectoryException(String caller, String message, String infos, Exception nestedException)
Set the caller, the error message, infos and the nested exception.
-
DirectoryException
protected DirectoryException(String caller, int level, String message)
Set the caller, the level and the error message. Used only by the FatalFormException
-
DirectoryException
protected DirectoryException(String caller, int level, String message, Exception nestedException)
Set the caller, the level, the error message and the nested exception. Used only by the FatalFormException
-
DirectoryException
protected DirectoryException(String caller, int level, String message, String infos)
Set the caller, the level, the error message and infos. Used only by the FatalFormException
-
-
Method Detail
-
getModule
public String getModule()
Returns the module name.- Specified by:
getModule
in interfaceFromModule
- Specified by:
getModule
in classSilverpeasException
- Returns:
- The module name
-
-