|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
| 개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.sql.SQLException
java.sql.SQLRecoverableException
public class SQLRecoverableException
어플리케이션이 회복 순서를 실행해 트랜잭션(transaction) 전체 (분산 트랜잭션(transaction)의 경우는 트랜잭션(transaction) 브랜치(branch))를 재시행하면 전회 실패한 조작이 성공할 가능성이 있을 때 throw 되는 SQLException 의 서브 클래스입니다. 회복 조작에는, 적어도 현재의 접속의 클로즈와 새로운 접속의 취득이 포함될 필요가 있습니다.
| 생성자 의 개요 | |
|---|---|
SQLRecoverableException ()
SQLRecoverableException 객체를 구축합니다. |
|
SQLRecoverableException (String reason)
지정의 reason 로 SQLRecoverableException 객체를 구축합니다. |
|
SQLRecoverableException (String reason,
String SQLState)
지정의 reason 및 SQLState 로 SQLRecoverableException 객체를 구축합니다. |
|
SQLRecoverableException (String reason,
String SQLState,
int vendorCode)
지정의 reason,SQLState, 및 vendorCode 로 SQLRecoverableException 객체를 구축합니다. |
|
SQLRecoverableException (String reason,
String SQLState,
int vendorCode,
Throwable cause)
지정의 reason,SQLState,vendorCode, 및 cause 로 SQLRecoverableException 객체를 구축합니다. |
|
SQLRecoverableException (String reason,
String SQLState,
Throwable cause)
지정의 reason,SQLState, 및 cause 로 SQLRecoverableException 객체를 구축합니다. |
|
SQLRecoverableException (String reason,
Throwable cause)
지정의 reason 및 cause 로 SQLRecoverableException 객체를 구축합니다. |
|
SQLRecoverableException (Throwable cause)
지정의 cause 로 SQLRecoverableException 객체를 구축합니다. |
|
| 메소드의 개요 |
|---|
| 클래스 java.sql. SQLException 로부터 상속된 메소드 |
|---|
getErrorCode , getNextException , getSQLState , iterator , setNextException |
| 클래스 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 SQLRecoverableException()
SQLRecoverableException 객체를 구축합니다. reason 및 SQLState 는 null 에 초기화되어 벤더 코드는 0 에 초기화됩니다.
cause 는 초기화되지 않습니다. Throwable.initCause(java.lang.Throwable) 메소드를 호출하는 것에 의해, 나중에 이것을 초기화할 수 있습니다.
public SQLRecoverableException(String reason)
reason 로 SQLRecoverableException 객체를 구축합니다. SQLState 는 null 에 초기화되어 벤더 코드는 0 에 초기화됩니다.
cause 는 초기화되지 않습니다. Throwable.initCause(java.lang.Throwable) 메소드를 호출하는 것에 의해, 나중에 이것을 초기화할 수 있습니다.
reason - 예외의 설명
public SQLRecoverableException(String reason,
String SQLState)
reason 및 SQLState 로 SQLRecoverableException 객체를 구축합니다.
cause 는 초기화되지 않습니다. Throwable.initCause(java.lang.Throwable) 메소드를 호출하는 것에 의해, 나중에 이것을 초기화할 수 있습니다. 벤더 코드는 0 에 초기화됩니다.
reason - 예외의 설명SQLState - 예외를 식별하는 XOPEN 코드 또는 SQL:2003 코드
public SQLRecoverableException(String reason,
String SQLState,
int vendorCode)
reason,SQLState, 및 vendorCode 로 SQLRecoverableException 객체를 구축합니다.
cause 는 초기화되지 않습니다. Throwable.initCause(java.lang.Throwable) 메소드를 호출하는 것에 의해, 나중에 이것을 초기화할 수 있습니다.
reason - 예외의 설명SQLState - 예외를 식별하는 XOPEN 코드 또는 SQL:2003 코드vendorCode - 데이타베이스 벤더 고유의 예외 코드public SQLRecoverableException(Throwable cause)
cause 로 SQLRecoverableException 객체를 구축합니다. SQLState 는 null 에 초기화되어 벤더 코드는 0 에 초기화됩니다. reason 는 cause==null 의 경우에 null 에 초기화되어cause! =null 의 경우에 cause.toString() 에 초기화됩니다.
cause - 이 SQLException 의 기가 되는 원인 (나중에 getCause() 메소드로 취득하기 위해서 보존된다). null 치가 허가되고 있어 원인이 존재하지 않는가 불명한 것을 나타내는
public SQLRecoverableException(String reason,
Throwable cause)
reason 및 cause 로 SQLRecoverableException 객체를 구축합니다. SQLState 는 null 에 초기화되어 벤더 코드는 0 에 초기화됩니다.
reason - 예외의 설명cause - 이 SQLException 의 기가 되는 원인 (나중에 getCause() 메소드로 취득하기 위해서 보존된다). null 치가 허가되고 있어 원인이 존재하지 않는가 불명한 것을 나타내는
public SQLRecoverableException(String reason,
String SQLState,
Throwable cause)
reason,SQLState, 및 cause 로 SQLRecoverableException 객체를 구축합니다. 벤더 코드는 0 에 초기화됩니다.
reason - 예외의 설명SQLState - 예외를 식별하는 XOPEN 코드 또는 SQL:2003 코드cause - 이 SQLException 의 기가 되는 원인 (나중에 getCause() 메소드로 취득하기 위해서 보존된다). null 치가 허가되고 있어 원인이 존재하지 않는가 불명한 것을 나타내는
public SQLRecoverableException(String reason,
String SQLState,
int vendorCode,
Throwable cause)
reason,SQLState,vendorCode, 및 cause 로 SQLRecoverableException 객체를 구축합니다.
reason - 예외의 설명SQLState - 예외를 식별하는 XOPEN 코드 또는 SQL:2003 코드vendorCode - 데이타베이스 벤더 고유의 예외 코드cause - 이 SQLException 의 기가 되는 원인 (나중에 getCause() 메소드로 취득하기 위해서 보존된다). null 치가 허가되고 있어 원인이 존재하지 않는가 불명한 것을 나타내는
|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
| 개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 | |||||||||
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.