Documentation Home
MySQL Cluster API Developer Guide
Download this Manual
PDF (US Ltr) - 5.3Mb
PDF (A4) - 5.3Mb
EPUB - 2.3Mb
HTML Download (TGZ) - 2.2Mb
HTML Download (Zip) - 2.3Mb ClusterJDatastoreException

ClusterJUserException represents a database error. The underlying cause of the exception is contained in the "cause". 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

Figure 4.1 ClusterJDatastoreException Class

ClusterJDatastoreException Class getClassification()
public int getClassification();

Get the classification getCode()
public int getCode();

Get the code


7.3.15, 7.4.13, 7.5.4 getMysqlCode()
public int getMysqlCode();

Get the mysql code


7.3.15, 7.4.13, 7.5.4 getStatus()
public int getStatus();

Get the status

User Comments
Sign Up Login You must be logged in to post a comment.