Documentation Home
MySQL NDB Cluster API Developer Guide
Related Documentation Download this Manual
PDF (US Ltr) - 3.6Mb
PDF (A4) - 3.6Mb


4.3.1.2 ClusterJDatastoreException

ClusterJUserException represents a database error. The underlying cause of the exception is contained in the "cause".

4.3.1.2.1 Synopsis
 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();
}

Methods inherited from com.mysql.clusterj.ClusterJException: printStackTrace

Methods inherited from java.lang.Throwable: addSuppressed , fillInStackTrace , getCause , getLocalizedMessage , getMessage , getStackTrace , getSuppressed , initCause , setStackTrace , toString

Methods inherited from java.lang.Object: equals , getClass , hashCode , notify , notifyAll , wait

4.3.1.2.2 getClassification()
public int getClassification();

Get the classification

4.3.1.2.3 getCode()
public int getCode();

Get the code

Since

7.3.15, 7.4.13, 7.5.4

4.3.1.2.4 getMysqlCode()
public int getMysqlCode();

Get the mysql code

Since

7.3.15, 7.4.13, 7.5.4

4.3.1.2.5 getStatus()
public int getStatus();

Get the status