1 28 29 package org.apache.commons.transaction.file; 30 31 39 public interface ResourceManagerErrorCodes { 40 41 44 public static final int ERR_UNKNOWN = -1; 45 46 49 public static final int ERR_SYSTEM = 1; 50 51 54 public static final int ERR_SYSTEM_INCONSISTENT = ERR_SYSTEM + 1; 55 56 59 public static final int ERR_TX_INCONSISTENT = ERR_SYSTEM + 2; 60 61 64 public static final int ERR_NO_TX = 1000; 65 66 69 public static final int ERR_TXID_INVALID = ERR_NO_TX + 1; 70 71 74 public static final int ERR_TX_INACTIVE = ERR_NO_TX + 2; 75 76 79 public static final int ERR_DUP_TX = ERR_NO_TX + 4; 80 81 84 public static final int ERR_THREAD_INVALID = ERR_NO_TX + 5; 85 86 89 public static final int ERR_ISOLATION_LEVEL_UNSUPPORTED = ERR_NO_TX + 6; 90 91 94 public static final int ERR_MARKED_FOR_ROLLBACK = ERR_NO_TX + 7; 95 96 99 public static final int ERR_RESOURCEID_INVALID = 4000; 100 101 104 public static final int ERR_RESOURCE_EXISTS = ERR_RESOURCEID_INVALID + 1; 105 106 109 public static final int ERR_NO_SUCH_RESOURCE = ERR_RESOURCEID_INVALID + 2; 110 111 114 public static final int ERR_LOCK = 5000; 115 116 119 public static final int ERR_NO_LOCK = ERR_LOCK + 1; 120 121 124 public static final int ERR_DEAD_LOCK = ERR_LOCK + 2; 125 126 127 } 128 | Popular Tags |