Package org.apache.cassandra.exceptions
Class OperationExecutionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.cassandra.exceptions.CassandraException
-
- org.apache.cassandra.exceptions.RequestExecutionException
-
- org.apache.cassandra.exceptions.FunctionExecutionException
-
- org.apache.cassandra.exceptions.OperationExecutionException
-
- All Implemented Interfaces:
java.io.Serializable,TransportException
public final class OperationExecutionException extends FunctionExecutionException
Thrown when an operation problem has occured (e.g. division by zero with integer).- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.apache.cassandra.exceptions.FunctionExecutionException
argTypes, detail, functionName
-
-
Constructor Summary
Constructors Constructor Description OperationExecutionException(char operator, java.util.List<java.lang.String> argTypes, java.lang.String msg)Creates anOperationExecutionExceptionwith the specified message.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OperationExecutionExceptioncreate(char operator, java.util.List<AbstractType<?>> argTypes, java.lang.Exception e)Creates a newOperationExecutionExceptionfor the specified operation.-
Methods inherited from class org.apache.cassandra.exceptions.FunctionExecutionException
create, create
-
Methods inherited from class org.apache.cassandra.exceptions.CassandraException
code
-
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
-
Methods inherited from interface org.apache.cassandra.exceptions.TransportException
getMessage
-
-
-
-
Constructor Detail
-
OperationExecutionException
public OperationExecutionException(char operator, java.util.List<java.lang.String> argTypes, java.lang.String msg)Creates anOperationExecutionExceptionwith the specified message.- Parameters:
operator- the operatorargTypes- the argument typesmsg- the error message
-
-
Method Detail
-
create
public static OperationExecutionException create(char operator, java.util.List<AbstractType<?>> argTypes, java.lang.Exception e)
Creates a newOperationExecutionExceptionfor the specified operation.- Parameters:
operator- the operatorargTypes- the argument typese- the original Exception- Returns:
- a new
OperationExecutionExceptionfor the specified operation
-
-