Lines Matching refs:OperationStatus
6 * $Id: OperationStatus.java,v 12.7 2008/01/17 05:04:53 mjc Exp $
17 public final class OperationStatus {
21 public static final OperationStatus SUCCESS =
22 new OperationStatus("SUCCESS", 0);
27 public static final OperationStatus KEYEXIST =
28 new OperationStatus("KEYEXIST", DbConstants.DB_KEYEXIST);
33 public static final OperationStatus KEYEMPTY =
34 new OperationStatus("KEYEMPTY", DbConstants.DB_KEYEMPTY);
38 public static final OperationStatus NOTFOUND =
39 new OperationStatus("NOTFOUND", DbConstants.DB_NOTFOUND);
42 static OperationStatus fromInt(final int errCode) {
62 private OperationStatus(final String statusName, int errCode) {
69 return "OperationStatus." + statusName;