文件首頁
MySQL NDB Cluster API 開發人員指南
相關文件 下載本手冊
PDF (美式信紙) - 3.6Mb
PDF (A4) - 3.6Mb


4.3.1.2 ClusterJDatastoreException

ClusterJUserException 代表資料庫錯誤。 例外狀況的根本原因包含在「原因」中。

4.3.1.2.1 概要
 public class ClusterJDatastoreException extends, ClusterJException {
// Public Constructors  public ClusterJDatastoreException(String message);
  public ClusterJDatastoreException(String msg,
                                    int code,
                                    int mysqlCode,
                                    int status,
                                    int classification);

  public ClusterJDatastoreException(String message,
                                    Throwable t);

  public ClusterJDatastoreException(Throwable t);
// Public Methods  public int getClassification();
  public int getCode();
  public int getMysqlCode();
  public int getStatus();
}

從 com.mysql.clusterj.ClusterJException 繼承的方法printStackTrace

從 java.lang.Throwable 繼承的方法addSuppressedfillInStackTracegetCausegetLocalizedMessagegetMessagegetStackTracegetSuppressedinitCausesetStackTracetoString

從 java.lang.Object 繼承的方法equalsgetClasshashCodenotifynotifyAllwait

4.3.1.2.2 getClassification()
public int getClassification();

取得分類

4.3.1.2.3 getCode()
public int getCode();

取得代碼

7.3.15, 7.4.13, 7.5.4

4.3.1.2.4 getMysqlCode()
public int getMysqlCode();

取得 mysql 代碼

7.3.15, 7.4.13, 7.5.4

4.3.1.2.5 getStatus()
public int getStatus();

取得狀態