javax.transaction.xa

Class XAException

Implemented Interfaces:
Serializable

public class XAException
extends Exception

See Also:
Serialized Form

Field Summary

static int
XAER_ASYNC
static int
XAER_DUPID
static int
XAER_INVAL
static int
XAER_NOTA
static int
XAER_OUTSIDE
static int
XAER_PROTO
static int
XAER_RMERR
static int
XAER_RMFAIL
static int
XA_HEURCOM
static int
XA_HEURHAZ
static int
XA_HEURMIX
static int
XA_HEURRB
static int
XA_NOMIGRATE
static int
XA_RBBASE
static int
XA_RBCOMMFAIL
static int
XA_RBDEADLOCK
static int
XA_RBEND
static int
XA_RBINTEGRITY
static int
XA_RBOTHER
static int
XA_RBPROTO
static int
XA_RBROLLBACK
static int
XA_RBTIMEOUT
static int
XA_RBTRANSIENT
static int
XA_RDONLY
static int
XA_RETRY
int
errorCode

Constructor Summary

XAException()
Create an exception without a message.
XAException(int errcode)
XAException(String msg)
Create an exception with a message.

Method Summary

Methods inherited from class java.lang.Throwable

fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

Methods inherited from class java.lang.Object

clone, equals, extends Object> getClass, finalize, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Details

XAER_ASYNC

public static final int XAER_ASYNC
Field Value:
-2

XAER_DUPID

public static final int XAER_DUPID
Field Value:
-8

XAER_INVAL

public static final int XAER_INVAL
Field Value:
-5

XAER_NOTA

public static final int XAER_NOTA
Field Value:
-4

XAER_OUTSIDE

public static final int XAER_OUTSIDE
Field Value:
-9

XAER_PROTO

public static final int XAER_PROTO
Field Value:
-6

XAER_RMERR

public static final int XAER_RMERR
Field Value:
-3

XAER_RMFAIL

public static final int XAER_RMFAIL
Field Value:
-7

XA_HEURCOM

public static final int XA_HEURCOM
Field Value:
7

XA_HEURHAZ

public static final int XA_HEURHAZ
Field Value:
8

XA_HEURMIX

public static final int XA_HEURMIX
Field Value:
5

XA_HEURRB

public static final int XA_HEURRB
Field Value:
6

XA_NOMIGRATE

public static final int XA_NOMIGRATE
Field Value:
9

XA_RBBASE

public static final int XA_RBBASE
Field Value:
100

XA_RBCOMMFAIL

public static final int XA_RBCOMMFAIL
Field Value:
101

XA_RBDEADLOCK

public static final int XA_RBDEADLOCK
Field Value:
102

XA_RBEND

public static final int XA_RBEND
Field Value:
107

XA_RBINTEGRITY

public static final int XA_RBINTEGRITY
Field Value:
103

XA_RBOTHER

public static final int XA_RBOTHER
Field Value:
104

XA_RBPROTO

public static final int XA_RBPROTO
Field Value:
105

XA_RBROLLBACK

public static final int XA_RBROLLBACK
Field Value:
100

XA_RBTIMEOUT

public static final int XA_RBTIMEOUT
Field Value:
106

XA_RBTRANSIENT

public static final int XA_RBTRANSIENT
Field Value:
107

XA_RDONLY

public static final int XA_RDONLY
Field Value:
3

XA_RETRY

public static final int XA_RETRY
Field Value:
4

errorCode

public int errorCode

Constructor Details

XAException

public XAException()
Create an exception without a message. The cause remains uninitialized.

XAException

public XAException(int errcode)

XAException

public XAException(String msg)
Create an exception with a message. The cause remains uninitialized.
Parameters:

XAException.java -- Copyright (C) 2001, 2002, 2005 Free Software Foundation, Inc. This file is part of GNU Classpath. GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and conditions of the GNU General Public License cover the whole combination. As a special exception, the copyright holders of this library give you permission to link this library with independent modules to produce an executable, regardless of the license terms of these independent modules, and to copy and distribute the resulting executable under terms of your choice, provided that you also meet, for each linked independent module, the terms and conditions of the license of that module. An independent module is a module which is not derived from or based on this library. If you modify this library, you may extend this exception to your version of the library, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version.