12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * version 2 for more details (a copy is included in the LICENSE file that
15 * accompanied this code).
16 *
17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25
26 package javax.transaction.xa;
27
28 /**
29 * The XAException is thrown by the Resource Manager (RM) to inform the
30 * Transaction Manager of an error encountered by the involved transaction.
31 *
32 */
33 public class XAException extends Exception {
34
35 /**
36 * Specify serialVersionUID for backward compatibility
37 */
38 private static final long serialVersionUID = -8249683284832867751L;
39
40 /**
41 * The error code with which to create the SystemException.
42 *
43 * @serial The error code for the exception
44 */
45 public int errorCode;
46
47 /**
48 * Create an XAException.
49 */
50 public XAException() {
51 super();
|
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * version 2 for more details (a copy is included in the LICENSE file that
15 * accompanied this code).
16 *
17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25
26 package javax.transaction.xa;
27
28 /**
29 * The XAException is thrown by the Resource Manager (RM) to inform the
30 * Transaction Manager of an error encountered by the involved transaction.
31 *
32 * @since 1.4
33 */
34 public class XAException extends Exception {
35
36 /**
37 * Specify serialVersionUID for backward compatibility
38 */
39 private static final long serialVersionUID = -8249683284832867751L;
40
41 /**
42 * The error code with which to create the SystemException.
43 *
44 * @serial The error code for the exception
45 */
46 public int errorCode;
47
48 /**
49 * Create an XAException.
50 */
51 public XAException() {
52 super();
|