JexlArithmetic.CoercionException (Apache Commons JEXL 3.7.0 API)
Description: declaration: package: org.apache.commons.jexl3, class: JexlArithmetic, class: CoercionException

Package org.apache.commons.jexl3

# Class JexlArithmetic.CoercionException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.ArithmeticException
org.apache.commons.jexl3.JexlArithmetic.CoercionException

All Implemented Interfaces:
  `Serializable`

Enclosing class:
  `JexlArithmetic`

public static class JexlArithmetic.CoercionException extends ArithmeticException
Marker class for coercion operand exceptions.

See Also:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `CoercionException(String msg)`
  Constructs a new instance.
  `CoercionException(String msg, Throwable cause)`
  Constructs a new instance.

- ## Method Summary

  ### Methods inherited from class java.lang.Throwable

  `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### CoercionException

    public CoercionException(String msg)
    Constructs a new instance.
    Parameters:
      `msg` - the detail message.

  - ### CoercionException

    public CoercionException(String msg, Throwable cause)
    Constructs a new instance.
    Parameters:
      `msg` - the detail message.
      `cause` - The cause of this Throwable.
    Since:
      3.5.0