com.silverpeas.form
Class FormException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.stratelia.webactiv.util.exception.SilverpeasException
              extended by com.silverpeas.form.FormException
All Implemented Interfaces:
FromModule, WithNested, Serializable
Direct Known Subclasses:
FormFatalException

public class FormException
extends SilverpeasException

Thrown by the form components.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.stratelia.webactiv.util.exception.SilverpeasException
ERROR, FATAL, WARNING
 
Constructor Summary
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 message
  FormException(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 message
  FormException(String caller, String message, String infos, Exception nestedException)
          Set the caller, the error message, infos and the nested exception.
 
Method Summary
 String getModule()
          Returns the module name (as known by SilverTrace).
 
Methods inherited from class com.stratelia.webactiv.util.exception.SilverpeasException
getChainedExceptions, getErrorLevel, getExtraInfos, getMessageLang, getMessageLang, getNested, printStackTrace, printStackTrace, printStackTrace, traceException
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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


FormException

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. Used only by the FatalFormException

Method Detail

getModule

public String getModule()
Returns the module name (as known by SilverTrace).

Specified by:
getModule in interface FromModule
Specified by:
getModule in class SilverpeasException
Returns:
The SilverTrace's module name


Copyright © 2016 Silverpeas. All Rights Reserved.