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:
Serializable,TransportException
Thrown when an operation problem has occured (e.g. division by zero with integer).
- See Also:
-
Field Summary
Fields inherited from class org.apache.cassandra.exceptions.FunctionExecutionException
argTypes, detail, functionName -
Constructor Summary
ConstructorsConstructorDescriptionOperationExecutionException(char operator, List<String> argTypes, String msg) Creates anOperationExecutionExceptionwith the specified message. -
Method Summary
Modifier and TypeMethodDescriptionstatic OperationExecutionExceptioncreate(char operator, List<AbstractType<?>> argTypes, Exception e) Creates a newOperationExecutionExceptionfor the specified operation.Methods inherited from class org.apache.cassandra.exceptions.FunctionExecutionException
create, createMethods inherited from class org.apache.cassandra.exceptions.CassandraException
codeMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.cassandra.exceptions.TransportException
getMessage
-
Constructor Details
-
OperationExecutionException
Creates anOperationExecutionExceptionwith the specified message.- Parameters:
operator- the operatorargTypes- the argument typesmsg- the error message
-
-
Method Details
-
create
public static OperationExecutionException create(char operator, List<AbstractType<?>> argTypes, 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
-