Class OperationExecutionException

All Implemented Interfaces:
Serializable, TransportException

public final class OperationExecutionException extends FunctionExecutionException
Thrown when an operation problem has occured (e.g. division by zero with integer).
See Also:
  • Constructor Details

    • OperationExecutionException

      public OperationExecutionException(char operator, List<String> argTypes, String msg)
      Creates an OperationExecutionException with the specified message.
      Parameters:
      operator - the operator
      argTypes - the argument types
      msg - the error message
  • Method Details

    • create

      public static OperationExecutionException create(char operator, List<AbstractType<?>> argTypes, Exception e)
      Creates a new OperationExecutionException for the specified operation.
      Parameters:
      operator - the operator
      argTypes - the argument types
      e - the original Exception
      Returns:
      a new OperationExecutionException for the specified operation