Helper class for getClassification(). import com.mysql.clusterj.ClusterJDatastoreException.Classification; Classification c = Classification.lookup(datastoreException.getClassification()); System.out.println("exceptionClassification " + c + " with value " + c.value);
public static final class ClusterJDatastoreException.Classification extends, Enum<Classification> {
// Public Static Fieldspublic static final Classification ApplicationError ;
public static final Classification ConstraintViolation ;
public static final Classification FunctionNotImplemented ;
public static final Classification InsufficientSpace ;
public static final Classification InternalError ;
public static final Classification InternalTemporary ;
public static final Classification NoDataFound ;
public static final Classification NoError ;
public static final Classification NodeRecoveryError ;
public static final Classification NodeShutdown ;
public static final Classification OverloadError ;
public static final Classification SchemaError ;
public static final Classification SchemaObjectExists ;
public static final Classification TemporaryResourceError ;
public static final Classification TimeoutExpired ;
public static final Classification UnknownErrorCode ;
public static final Classification UnknownResultError ;
public static final Classification UserDefinedError ;
// Public Static Methodspublic static Classification lookup(int value);
public static Classification valueOf(String name);
public static Classification[] values();
}
Methods inherited from
java.lang.Enum:
compareTo
, equals
, getDeclaringClass
, hashCode
, name
, ordinal
, toString
, valueOf
Methods inherited from
java.lang.Object:
getClass
, notify
, notifyAll
, wait
- Since
7.3.15, 7.4.13, 7.5.4