1 23 24 package javax.resource.spi.work; 25 26 32 public class WorkException extends javax.resource.ResourceException { 33 34 35 38 public static final String INTERNAL = "-1"; 39 40 43 public static final String UNDEFINED = "0"; 44 45 48 public static final String START_TIMED_OUT = "1"; 49 50 55 public static final String TX_CONCURRENT_WORK_DISALLOWED = "2"; 56 57 60 public static final String TX_RECREATE_FAILED = "3"; 61 62 65 public WorkException() { super(); } 66 67 72 public WorkException(String message) { 73 super(message); 74 } 75 76 82 public WorkException(Throwable cause) { 83 super(cause); 84 } 85 86 94 public WorkException(String message, Throwable cause) { 95 super(message, cause); 96 } 97 98 105 public WorkException(String message, String errorCode) { 106 super(message, errorCode); 107 } 108 } 109 | Popular Tags |