org.apache.cassandra.cql.execution
Enum RuntimeErrorMsg

java.lang.Object
  extended by java.lang.Enum<RuntimeErrorMsg>
      extended by org.apache.cassandra.cql.execution.RuntimeErrorMsg
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<RuntimeErrorMsg>

public enum RuntimeErrorMsg
extends java.lang.Enum<RuntimeErrorMsg>

List of error messages thrown by CQL's Execution Layer


Enum Constant Summary
GENERIC_ERROR
           
IMPLEMENTATION_RESTRICTION
           
INTERNAL_ERROR
           
NO_DATA_FOUND
           
 
Method Summary
 java.lang.String getMsg(java.lang.Object... args)
           
static RuntimeErrorMsg valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static RuntimeErrorMsg[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

GENERIC_ERROR

public static final RuntimeErrorMsg GENERIC_ERROR

INTERNAL_ERROR

public static final RuntimeErrorMsg INTERNAL_ERROR

IMPLEMENTATION_RESTRICTION

public static final RuntimeErrorMsg IMPLEMENTATION_RESTRICTION

NO_DATA_FOUND

public static final RuntimeErrorMsg NO_DATA_FOUND
Method Detail

values

public static RuntimeErrorMsg[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (RuntimeErrorMsg c : RuntimeErrorMsg.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static RuntimeErrorMsg valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getMsg

public java.lang.String getMsg(java.lang.Object... args)


Copyright © 2009 The Apache Software Foundation