com.stratelia.webactiv.survey
Class SurveyException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.stratelia.webactiv.util.exception.SilverpeasException
              extended by com.stratelia.webactiv.survey.SurveyException
All Implemented Interfaces:
com.stratelia.webactiv.util.exception.FromModule, com.stratelia.webactiv.util.exception.WithNested, Serializable

public class SurveyException
extends com.stratelia.webactiv.util.exception.SilverpeasException

Non runtime exception management for this jobPeas.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.stratelia.webactiv.util.exception.SilverpeasException
ERROR, FATAL, WARNING
 
Constructor Summary
SurveyException(String callingClass, int errorLevel, String message)
           
SurveyException(String callingClass, int errorLevel, String message, Exception nested)
           
SurveyException(String callingClass, int errorLevel, String message, String extraParams)
           
SurveyException(String callingClass, int errorLevel, String message, String extraParams, Exception nested)
          Constructor which calls the super constructor
 
Method Summary
 String getModule()
          Returns the name of this jobPeas
 
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

SurveyException

public SurveyException(String callingClass,
                       int errorLevel,
                       String message,
                       String extraParams,
                       Exception nested)
Constructor which calls the super constructor

Parameters:
callingClass - (String) the name of the module which catchs the Exception
errorLevel - (int) the level error of the exception
message - (String) the level of the exception label
extraParams - (String) the generic exception message
nested - (Exception) the exception catched

SurveyException

public SurveyException(String callingClass,
                       int errorLevel,
                       String message,
                       String extraParams)

SurveyException

public SurveyException(String callingClass,
                       int errorLevel,
                       String message,
                       Exception nested)

SurveyException

public SurveyException(String callingClass,
                       int errorLevel,
                       String message)
Method Detail

getModule

public String getModule()
Returns the name of this jobPeas

Specified by:
getModule in interface com.stratelia.webactiv.util.exception.FromModule
Specified by:
getModule in class com.stratelia.webactiv.util.exception.SilverpeasException
Returns:
the name of this module


Copyright © 2016 Silverpeas. All Rights Reserved.