MySQL NDB Cluster API 开发人员指南 / 第 4 章 MySQL NDB Cluster Connector for Java / 4.3 ClusterJ API 参考 / 4.3.1 com.mysql.clusterj /
4.3.1.3 ClusterJDatastoreException.分类
getClassification() 的辅助类。导入 com.mysql.clusterj.ClusterJDatastoreException.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 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 Classification lookup(int value);
public static Classification valueOf(String name);
public static Classification[] values();
从 java.lang.Enum 继承的方法:
compareTo
, equals
, getDeclaringClass
, hashCode
, name
, ordinal
, toString
,valueOf
从 java.lang.Object 继承的方法:
getClass
, notify
, notifyAll
,wait
- 自从
7.3.15、7.4.13、7.5.4