1 56 package org.opencrx.kernel.generic; 57 58 public class OpenCrxException { 59 60 public static final String DOMAIN = "OpenCrxDomain"; 61 62 public static final int AUTHORIZATION_FAILURE_UPDATE = 1000; 64 public static final int AUTHORIZATION_FAILURE_DELETE = 1001; 65 public static final int AUTHORIZATION_FAILURE_CREATE = 1002; 66 public static final int AUTHORIZATION_FAILURE_MISSING_PRINCIPAL = 1003; 67 68 public static final int INCIDENT_USER_DOES_NOT_MATCH_CONTACT = 1100; 70 public static final int INCIDENT_STATE_MUST_BE_NA_OR_OPEN = 1101; 71 public static final int INCIDENT_STATE_MUST_OPEN = 1102; 72 public static final int INCIDENT_STATE_MUST_BE_COMPLETE = 1103; 73 public static final int ACTIVITY_GROUP_HAS_ASSIGNED_ACTIVITIES = 1104; 74 public static final int ACTIVITY_UNDEFINED_NEXT_STATE = 1105; 75 public static final int ACTIVITY_TRANSITION_NOT_VALID_FOR_STATE = 1106; 76 77 public static final int DEPOT_MISSING_BOOKING_TEXT = 1200; 79 public static final int DEPOT_MISSING_POSITION_CREDIT = 1201; 80 public static final int DEPOT_MISSING_POSITION_DEBIT = 1202; 81 public static final int DEPOT_MISSING_QUANTITY = 1203; 82 public static final int DEPOT_POSITION_NAME_MISMATCH = 1204; 83 public static final int DEPOT_MISSING_PRODUCT = 1205; 84 public static final int DEPOT_INVALID_POSITION_CREDIT = 1206; 85 public static final int DEPOT_INVALID_POSITION_DEBIT = 1207; 86 public static final int DEPOT_MISSING_DEPOT_NUMBER = 1208; 87 public static final int DEPOT_DEPOT_NOT_FOUND = 1209; 88 public static final int DEPOT_BOOKING_PERIOD_NOT_FOUND = 1210; 89 public static final int DEPOT_BOOKING_PERIOD_IS_CLOSED = 1211; 90 public static final int DEPOT_BOOKING_PERIOD_IS_FINAL = 1212; 91 public static final int DEPOT_DEPOT_IS_LOCKED = 1213; 92 public static final int DEPOT_DEPOT_IS_CLOSED_CAN_NOT_BOOK = 1214; 93 public static final int DEPOT_DEPOT_IS_NOT_OPEN = 1215; 94 public static final int DEPOT_POSITION_IS_LOCKED = 1216; 95 public static final int DEPOT_POSITION_IS_CLOSED = 1217; 96 public static final int DEPOT_POSITION_IS_NOT_OPEN = 1218; 97 public static final int DEPOT_REVERSAL_BALANCE_MISMATCH = 1219; 98 public static final int DEPOT_CAN_NOT_CANCEL_REVERSAL_BOOKING = 1220; 99 public static final int DEPOT_ALREADY_HAS_REVERSAL_BOOKING = 1221; 100 public static final int DEPOT_CAN_NOT_REMOVE_BOOKING = 1222; 101 public static final int BOOKING_STATUS_MUST_BE_PENDING = 1223; 102 public static final int BOOKING_STATUS_MUST_BE_PROCESSED = 1224; 103 public static final int BOOKING_DEPOT_NUMBER_REQUIRED = 1225; 104 public static final int BOOKING_DEPOT_IS_CLOSED_CAN_NOT_CLOSE = 1226; 105 public static final int BOOKING_DEPOT_POSITION_IS_CLOSED_CAN_NOT_CLOSE = 1227; 106 public static final int DEPOT_ENTITY_HAS_BOOKINGS = 1228; 107 public static final int DEPOT_CONTRACT_HAS_BOOKINGS = 1229; 108 public static final int DEPOT_DEPOT_HAS_BOOKINGS = 1230; 109 public static final int DEPOT_POSITION_HAS_BOOKINGS = 1231; 110 111 public static final int CONTRACT_MISSING_PRODUCT_OFFERING = 1232; 113 public static final int CONTRACT_MAX_POSITIONS_REACHED = 1233; 114 public static final int CONTRACT_MIN_POSITIONS_REACHED = 1234; 115 public static final int BOOKING_IS_LOCKED_CAN_NOT_DELETE = 1235; 116 public static final int CONTRACT_MISSING_DEPOT_GOODS_ISSUE = 1236; 117 public static final int CONTRACT_MISSING_DEPOT_GOODS_RETURN = 1237; 118 public static final int CONTRACT_MISSING_DEPOT_GOODS_DELIVERY = 1238; 119 120 public static final int WORKFLOW_MISSING_WORKFLOW = 1239; 122 public static final int WORKFLOW_MISSING_TARGET = 1240; 123 public static final int WORKFLOW_NO_IMPLEMENTATION = 1241; 124 public static final int WORKFLOW_MISSING_CONSTRUCTOR = 1242; 125 public static final int WORKFLOW_CAN_NOT_INSTANTIATE = 1243; 126 public static final int WORKFLOW_ILLEGAL_ACCESS = 1244; 127 public static final int WORKFLOW_ILLEGAL_ARGUMENT = 1245; 128 public static final int WORKFLOW_CAN_NOT_INVOKE = 1246; 129 public static final int WORKFLOW_CAN_NOT_CREATE_PROCESS_INSTANCE = 1247; 130 131 public static final int DEPOT_DEPOT_ENTITY_NOT_EQUAL = 1248; 133 134 public static final int PRODUCT_OPERATION_NOT_ALLOWED_FOR_NON_BASIC_PRICE_LEVEL = 1251; 136 public static final int PRODUCT_OPERATION_NOT_ALLOWED_FOR_FINAL_PRICE_LEVEL = 1252; 137 public static final int PRODUCT_PRICE_LEVEL_MUST_HAVE_CURRENCY = 1253; 138 public static final int PRODUCT_OPERATION_NOT_ALLOWED_FOR_BASEDON_PRICE_LEVEL = 1254; 139 public static final int PRODUCT_OPERATION_NOT_ALLOWED_FOR_PRICE_LEVEL_HAVING_PRICES = 1255; 140 public static final int PRODUCT_OPERATION_NOT_ALLOWED_FOR_BASIC_PRICE_LEVEL = 1256; 141 142 public static final int ASSERTION_FAILURE = 10000; 144 public static final int MEDIA_ACCESS_FAILURE = 10001; 145 public static final int REFERENCE_IS_READONLY = 10002; 146 public static final int OBJECT_TYPE_IS_READONLY = 10003; 147 public static final int DUPLICATE_OBJECT = 10004; 148 149 } 151 152 | Popular Tags |