Package org.cyclos.model.system.scripts
Class CustomScriptException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.cyclos.model.CyclosException
-
- org.cyclos.model.FrameworkException
-
- org.cyclos.model.system.scripts.CustomScriptException
-
- All Implemented Interfaces:
Serializable
public class CustomScriptException extends FrameworkException
Exception when running a custom script- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CustomScriptException()CustomScriptException(String message)CustomScriptException(String message, Throwable cause)CustomScriptException(Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanshouldGenerateLog()Returns whether the current exception should generate an error log (stored in the database with ErrorLogService)-
Methods inherited from class org.cyclos.model.CyclosException
getAttribute, getMessage, setAttribute
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
shouldGenerateLog
public boolean shouldGenerateLog()
Description copied from class:CyclosExceptionReturns whether the current exception should generate an error log (stored in the database with ErrorLogService)- Overrides:
shouldGenerateLogin classCyclosException
-
-