|
JavaTM Platform Standard Ed. 6 |
|||||||||
전의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세 : 필드 | 생성자 | 메소드 |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
javax.transaction.xa.XAException
public class XAException
XAException 는, 자원 매니저 (RM)에 의해 throw 되어 관련하는 트랜잭션(transaction)로 에러가 검출된 것을 트랜잭션(transaction) 매니저에게 통지합니다.
필드의 개요 | |
---|---|
int |
errorCode
SystemException 를 작성하기 위해서 사용되는 에러 코드입니다. |
static int |
XA_HEURCOM
트랜잭션(transaction) 브랜치(branch)는 휴리스틱에 위탁되었습니다. |
static int |
XA_HEURHAZ
트랜잭션(transaction) 브랜치(branch)는 휴리스틱에 결착된 가능성이 있습니다. |
static int |
XA_HEURMIX
트랜잭션(transaction) 브랜치(branch)은 휴리스틱에 위탁 및 롤백(rollback) 되었습니다. |
static int |
XA_HEURRB
트랜잭션(transaction) 브랜치(branch)은 휴리스틱에 롤백(rollback) 되었습니다. |
static int |
XA_NOMIGRATE
중단한 장소로부터 재개할 필요가 있습니다. |
static int |
XA_RBBASE
롤백(rollback) 코드의 하한 (하한치를 포함한다)입니다. |
static int |
XA_RBCOMMFAIL
통신 장해로 롤백(rollback)가 발생한 것을 나타냅니다. |
static int |
XA_RBDEADLOCK
데드락이 검출되었습니다. |
static int |
XA_RBEND
롤백(rollback) 에러 코드의 상한 (상한치를 포함한다)입니다. |
static int |
XA_RBINTEGRITY
자원의 무결성에 위반한 상태가 검출되었습니다. |
static int |
XA_RBOTHER
자원 매니저에 의해, 이 리스트에 없는 이유로써 트랜잭션(transaction) 브랜치(branch)이 롤백(rollback) 되었습니다. |
static int |
XA_RBPROTO
자원 매니저로 프로토콜 에러가 발생했습니다. |
static int |
XA_RBROLLBACK
지정되어 있지 않은 이유로써 롤백(rollback)가 발생한 것을 나타냅니다. |
static int |
XA_RBTIMEOUT
트랜잭션(transaction) 브랜치(branch)가 너무 깁니다. |
static int |
XA_RBTRANSIENT
트랜잭션(transaction) 브랜치(branch)를 재시행할 수 있습니다. |
static int |
XA_RDONLY
트랜잭션(transaction) 브랜치(branch)는 읽어들여 전용이며, 위탁되었습니다. |
static int |
XA_RETRY
루틴은 어떤 효과도 미치는 일 없이 복귀했습니다. |
static int |
XAER_ASYNC
미처리의 비동기 조작이 있습니다. |
static int |
XAER_DUPID
XID 는 벌써 존재하고 있습니다. |
static int |
XAER_INVAL
무효인 인수가 지정되었습니다. |
static int |
XAER_NOTA
XID 는 유효하지는 않습니다. |
static int |
XAER_OUTSIDE
자원 매니저는 글로벌 트랜잭션(transaction) 이외의 작업을 실시하고 있습니다. |
static int |
XAER_PROTO
올바르지 않은 문맥으로 루틴이 불려 갔습니다. |
static int |
XAER_RMERR
트랜잭션(transaction) 브랜치(branch)로 자원 매니저 에러가 발생했습니다. |
static int |
XAER_RMFAIL
자원 매니저가 사용할 수 없습니다. |
생성자 의 개요 | |
---|---|
XAException ()
XAException 를 작성합니다. |
|
XAException (int errcode)
지정된 에러 코드를 사용해 XAException 를 작성합니다. |
|
XAException (String s)
지정된 캐릭터 라인을 사용해 XAException 를 작성합니다. |
메소드의 개요 |
---|
클래스 java.lang. Throwable 로부터 상속된 메소드 |
---|
fillInStackTrace , getCause , getLocalizedMessage , getMessage , getStackTrace , initCause , printStackTrace , printStackTrace , printStackTrace , setStackTrace , toString |
클래스 java.lang. Object 로부터 상속된 메소드 |
---|
clone , equals , finalize , getClass , hashCode , notify , notifyAll , wait , wait , wait |
필드의 상세 |
---|
public int errorCode
public static final int XA_RBBASE
public static final int XA_RBROLLBACK
public static final int XA_RBCOMMFAIL
public static final int XA_RBDEADLOCK
public static final int XA_RBINTEGRITY
public static final int XA_RBOTHER
public static final int XA_RBPROTO
public static final int XA_RBTIMEOUT
public static final int XA_RBTRANSIENT
public static final int XA_RBEND
public static final int XA_NOMIGRATE
public static final int XA_HEURHAZ
public static final int XA_HEURCOM
public static final int XA_HEURRB
public static final int XA_HEURMIX
public static final int XA_RETRY
public static final int XA_RDONLY
public static final int XAER_ASYNC
public static final int XAER_RMERR
public static final int XAER_NOTA
public static final int XAER_INVAL
public static final int XAER_PROTO
public static final int XAER_RMFAIL
public static final int XAER_DUPID
public static final int XAER_OUTSIDE
생성자 의 상세 |
---|
public XAException()
public XAException(String s)
s
- 예외 메세지를 포함한 String
객체public XAException(int errcode)
errcode
- 예외를 식별하는 에러 코드
|
JavaTM Platform Standard Ed. 6 |
|||||||||
전의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세 : 필드 | 생성자 | 메소드 |
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.