Class FormException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.silverpeas.kernel.SilverpeasException
-
- org.silverpeas.core.exception.SilverpeasException
-
- org.silverpeas.core.contribution.content.form.FormException
-
- All Implemented Interfaces:
Serializable
,FromModule
,WithNested
- Direct Known Subclasses:
FormFatalException
public class FormException extends SilverpeasException
Thrown by the form components.- 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
FormException(String caller, int level, String message)
Set the caller, the level and the error message.protected
FormException(String caller, int level, String message, Exception nestedException)
Set the caller, the level, the error message and the nested exception.protected
FormException(String caller, int level, String message, String infos)
Set the caller, the level, the error message and infos.protected
FormException(String caller, int level, String message, String infos, Exception nestedException)
Set the caller, the level, the error message, infos and the nested exception.FormException(String caller, String message)
Set the caller and the error messageFormException(String caller, String message, Exception nestedException)
Set the caller, the error message and the nested exception.FormException(String caller, String message, String infos)
Set the caller, infos and the error messageFormException(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
-
FormException
public FormException(String caller, String message)
Set the caller and the error message
-
FormException
public FormException(String caller, String message, Exception nestedException)
Set the caller, the error message and the nested exception.
-
FormException
public FormException(String caller, String message, String infos)
Set the caller, infos and the error message
-
FormException
public FormException(String caller, String message, String infos, Exception nestedException)
Set the caller, the error message, infos and the nested exception.
-
FormException
protected FormException(String caller, int level, String message)
Set the caller, the level and the error message. Used only by the FatalFormException
-
FormException
protected FormException(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
-
FormException
protected FormException(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
-
-