src/java.transaction.xa/share/classes/javax/transaction/xa/XAException.java
author sangheki
Wed, 13 Nov 2019 10:51:41 -0800
changeset 59062 6530de931b8e
parent 49126 f29637bb390e
permissions -rw-r--r--
8220312: Implementation: NUMA-Aware Memory Allocation for G1, Logging (3/3) Reviewed-by: kbarrett, sjohanss, tschatzl
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
28298
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
     1
/*
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
     2
 * Copyright (c) 2000, 2001, Oracle and/or its affiliates. All rights reserved.
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
     4
 *
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
     7
 * published by the Free Software Foundation.  Oracle designates this
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
     8
 * particular file as subject to the "Classpath" exception as provided
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
     9
 * by Oracle in the LICENSE file that accompanied this code.
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    10
 *
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    11
 * This code is distributed in the hope that it will be useful, but WITHOUT
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    12
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    13
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    14
 * version 2 for more details (a copy is included in the LICENSE file that
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    15
 * accompanied this code).
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    16
 *
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    17
 * You should have received a copy of the GNU General Public License version
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    18
 * 2 along with this work; if not, write to the Free Software Foundation,
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    19
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    20
 *
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    21
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    22
 * or visit www.oracle.com if you need additional information or have any
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    23
 * questions.
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    24
 */
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    25
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    26
package javax.transaction.xa;
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    27
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    28
/**
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    29
 * The XAException is thrown by the Resource Manager (RM) to inform the
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    30
 * Transaction Manager of an error encountered by the involved transaction.
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    31
 *
44256
12050b22e372 8176721: @since value errors java.sql module
mli
parents: 32849
diff changeset
    32
 * @since 1.4
28298
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    33
 */
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    34
public class XAException extends Exception {
32849
a2a6b6d26059 8134426: Add serialVersionUID field to relevant javax.transaction classes
lancea
parents: 28298
diff changeset
    35
a2a6b6d26059 8134426: Add serialVersionUID field to relevant javax.transaction classes
lancea
parents: 28298
diff changeset
    36
    /**
a2a6b6d26059 8134426: Add serialVersionUID field to relevant javax.transaction classes
lancea
parents: 28298
diff changeset
    37
     * Specify serialVersionUID for backward compatibility
a2a6b6d26059 8134426: Add serialVersionUID field to relevant javax.transaction classes
lancea
parents: 28298
diff changeset
    38
     */
a2a6b6d26059 8134426: Add serialVersionUID field to relevant javax.transaction classes
lancea
parents: 28298
diff changeset
    39
    private static final long serialVersionUID = -8249683284832867751L;
28298
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    40
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    41
    /**
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    42
     * The error code with which to create the SystemException.
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    43
     *
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    44
     * @serial The error code for the exception
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    45
     */
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    46
    public int errorCode;
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    47
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    48
    /**
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    49
     * Create an XAException.
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    50
     */
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    51
    public XAException() {
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    52
        super();
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    53
    }
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    54
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    55
    /**
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    56
     * Create an XAException with a given string.
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    57
     *
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    58
     * @param s The <code>String</code> object containing the exception
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    59
     *          message.
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    60
     */
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    61
    public XAException(String s) {
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    62
        super(s);
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    63
    }
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    64
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    65
    /**
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    66
     * Create an XAException with a given error code.
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    67
     *
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    68
     * @param errcode The error code identifying the exception.
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    69
     */
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    70
    public XAException(int errcode) {
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    71
        super();
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    72
        errorCode = errcode;
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    73
    }
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    74
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    75
    /**
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    76
     * The inclusive lower bound of the rollback codes.
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    77
     */
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    78
    public final static int XA_RBBASE = 100;
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    79
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    80
    /**
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    81
     * Indicates that the rollback was caused by an unspecified reason.
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    82
     */
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    83
    public final static int XA_RBROLLBACK = XA_RBBASE;
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    84
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    85
    /**
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    86
     * Indicates that the rollback was caused by a communication failure.
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    87
     */
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    88
    public final static int XA_RBCOMMFAIL = XA_RBBASE + 1;
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    89
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    90
    /**
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    91
     * A deadlock was detected.
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    92
     */
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    93
    public final static int XA_RBDEADLOCK = XA_RBBASE + 2;
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    94
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    95
    /**
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    96
     * A condition that violates the integrity of the resource was detected.
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    97
     */
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    98
    public final static int XA_RBINTEGRITY = XA_RBBASE + 3;
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
    99
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   100
    /**
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   101
     * The resource manager rolled back the transaction branch for a reason
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   102
     * not on this list.
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   103
     */
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   104
    public final static int XA_RBOTHER = XA_RBBASE + 4;
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   105
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   106
    /**
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   107
     * A protocol error occurred in the resource manager.
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   108
     */
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   109
    public final static int XA_RBPROTO = XA_RBBASE + 5;
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   110
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   111
    /**
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   112
     * A transaction branch took too long.
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   113
     */
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   114
    public final static int XA_RBTIMEOUT = XA_RBBASE + 6;
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   115
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   116
    /**
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   117
     * May retry the transaction branch.
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   118
     */
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   119
    public final static int XA_RBTRANSIENT = XA_RBBASE + 7;
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   120
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   121
    /**
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   122
     * The inclusive upper bound of the rollback error code.
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   123
     */
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   124
    public final static int XA_RBEND = XA_RBTRANSIENT;
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   125
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   126
    /**
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   127
     * Resumption must occur where the suspension occurred.
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   128
     */
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   129
    public final static int XA_NOMIGRATE = 9;
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   130
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   131
    /**
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   132
     * The transaction branch may have been heuristically completed.
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   133
     */
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   134
    public final static int XA_HEURHAZ = 8;
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   135
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   136
    /**
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   137
     * The transaction branch has been heuristically committed.
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   138
     */
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   139
    public final static int XA_HEURCOM = 7;
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   140
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   141
    /**
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   142
     * The transaction branch has been heuristically rolled back.
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   143
     */
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   144
    public final static int XA_HEURRB = 6;
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   145
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   146
    /**
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   147
     * The transaction branch has been heuristically committed and
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   148
     * rolled back.
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   149
     */
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   150
    public final static int XA_HEURMIX = 5;
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   151
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   152
    /**
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   153
     * Routine returned with no effect and may be reissued.
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   154
     */
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   155
    public final static int XA_RETRY = 4;
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   156
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   157
    /**
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   158
     * The transaction branch was read-only and has been committed.
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   159
     */
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   160
    public final static int XA_RDONLY = 3;
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   161
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   162
    /**
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   163
     * There is an asynchronous operation already outstanding.
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   164
     */
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   165
    public final static int XAER_ASYNC = -2;
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   166
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   167
    /**
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   168
     * A resource manager error has occurred in the transaction branch.
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   169
     */
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   170
    public final static int XAER_RMERR = -3;
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   171
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   172
    /**
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   173
     * The XID is not valid.
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   174
     */
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   175
    public final static int XAER_NOTA = -4;
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   176
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   177
    /**
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   178
     * Invalid arguments were given.
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   179
     */
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   180
    public final static int XAER_INVAL = -5;
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   181
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   182
    /**
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   183
     * Routine was invoked in an inproper context.
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   184
     */
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   185
    public final static int XAER_PROTO = -6;
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   186
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   187
    /**
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   188
     * Resource manager is unavailable.
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   189
     */
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   190
    public final static int XAER_RMFAIL = -7;
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   191
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   192
    /**
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   193
     * The XID already exists.
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   194
     */
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   195
    public final static int XAER_DUPID = -8;
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   196
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   197
    /**
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   198
     * The resource manager is doing work outside a global transaction.
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   199
     */
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   200
    public final static int XAER_OUTSIDE = -9;
7fca67ba0b9f 8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff changeset
   201
}