1 21 22 package org.apache.derby.client.am; 23 24 31 public class SqlCode { 32 private int code_; 33 34 public SqlCode(int code) { 35 code_ = code; 36 } 37 38 43 public final int getCode() { 44 return code_; 45 } 46 47 public final static SqlCode invalidCommitOrRollbackUnderXA = new SqlCode(-4200); 48 49 public final static SqlCode invalidSetAutoCommitUnderXA = new SqlCode(-4201); 50 51 public final static SqlCode queuedXAError = new SqlCode(-4203); 52 53 public final static SqlCode disconnectError = new SqlCode(-4499); 54 55 public final static SqlCode undefinedError = new SqlCode(-99999); 56 57 59 public final static SqlCode END_OF_DATA = new SqlCode(100); 60 } 61 | Popular Tags |