Package com.cmobilecom.af.util.expr
Class DivideByZeroException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.cmobilecom.af.util.ExecException
-
- com.cmobilecom.af.util.expr.EvaluateException
-
- com.cmobilecom.af.util.expr.DivideByZeroException
-
- All Implemented Interfaces:
java.io.Serializable
public class DivideByZeroException extends EvaluateException
Expression exception raised when a value is divided by zero.- Since:
- 3.6
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.cmobilecom.af.util.ExecException
ExecException.Severity
-
-
Field Summary
-
Fields inherited from class com.cmobilecom.af.util.ExecException
localized, messageId, params, severity
-
-
Constructor Summary
Constructors Constructor Description DivideByZeroException(java.lang.String message)
Constructor with a localized message.DivideByZeroException(java.lang.String messageId, java.lang.Object[] params)
Constructor.DivideByZeroException(java.lang.Throwable t)
Constructor with a wrapped Throwable.
-
Method Summary
-
Methods inherited from class com.cmobilecom.af.util.ExecException
getLogLevel, getMessage, getMessage, getMessageId, getParams, getRootCause, getSeverity, isLocalized, setSeverity
-
-
-
-
Constructor Detail
-
DivideByZeroException
public DivideByZeroException(java.lang.String messageId, java.lang.Object[] params)
Constructor. The messageId is not localized, resource bundle will be used to translate the message.- Parameters:
messageId
- message key in resource bundle whose value can contain parameters {n}.params
- an array of parameter values
-
DivideByZeroException
public DivideByZeroException(java.lang.String message)
Constructor with a localized message.- Parameters:
message
- a localized message. Resource bundle will not be used.
-
DivideByZeroException
public DivideByZeroException(java.lang.Throwable t)
Constructor with a wrapped Throwable.- Parameters:
t
- a Throwable
-
-