|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
| 개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.sql.SQLException
java.sql.SQLTransientException
java.sql.SQLTransactionRollbackException
public class SQLTransactionRollbackException
SQLState 클래스치가 '40' 때에 throw 되는 SQLException 의 서브 클래스입니다. 이것은, 데드락 또는 그 외의 트랜잭션(transaction) 직렬화의 실패가 원인으로, 데이타베이스에 의해 현재의 문장이 자동적으로 롤백(rollback) 된 것을 나타냅니다.
| 생성자 의 개요 | |
|---|---|
SQLTransactionRollbackException ()
SQLTransactionRollbackException 객체를 구축합니다. |
|
SQLTransactionRollbackException (String reason)
지정의 reason 로 SQLTransactionRollbackException 객체를 구축합니다. |
|
SQLTransactionRollbackException (String reason,
String SQLState)
지정의 reason 및 SQLState 로 SQLTransactionRollbackException 객체를 구축합니다. |
|
SQLTransactionRollbackException (String reason,
String SQLState,
int vendorCode)
지정의 reason,SQLState, 및 vendorCode 으로 SQLTransactionRollbackException 객체를 구축합니다. |
|
SQLTransactionRollbackException (String reason,
String SQLState,
int vendorCode,
Throwable cause)
지정의 reason,SQLState,vendorCode, 및 cause 로 SQLTransactionRollbackException 객체를 구축합니다. |
|
SQLTransactionRollbackException (String reason,
String SQLState,
Throwable cause)
지정의 reason,SQLState, 및 cause 로 SQLTransactionRollbackException 객체를 구축합니다. |
|
SQLTransactionRollbackException (String reason,
Throwable cause)
지정의 reason 및 cause 로 SQLTransactionRollbackException 객체를 구축합니다. |
|
SQLTransactionRollbackException (Throwable cause)
지정의 cause 로 SQLTransactionRollbackException 객체를 구축합니다. |
|
| 메소드의 개요 |
|---|
| 클래스 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 SQLTransactionRollbackException()
SQLTransactionRollbackException 객체를 구축합니다. reason 및 SQLState 는 null 에 초기화되어 벤더 코드는 0 에 초기화됩니다.
cause 는 초기화되지 않습니다. Throwable.initCause(java.lang.Throwable) 메소드를 호출하는 것에 의해, 나중에 이것을 초기화할 수 있습니다.
public SQLTransactionRollbackException(String reason)
reason 로 SQLTransactionRollbackException 객체를 구축합니다. SQLState 는 null 에 초기화되어 벤더 코드는 0 에 초기화됩니다.
cause 는 초기화되지 않습니다. Throwable.initCause(java.lang.Throwable) 메소드를 호출하는 것에 의해, 나중에 이것을 초기화할 수 있습니다.
reason - 예외의 설명
public SQLTransactionRollbackException(String reason,
String SQLState)
reason 및 SQLState 로 SQLTransactionRollbackException 객체를 구축합니다.
cause 는 초기화되지 않습니다. Throwable.initCause(java.lang.Throwable) 메소드를 호출하는 것에 의해, 나중에 이것을 초기화할 수 있습니다. 벤더 코드는 0 에 초기화됩니다.
reason - 예외의 설명SQLState - 예외를 식별하는 XOPEN 코드 또는 SQL:2003 코드
public SQLTransactionRollbackException(String reason,
String SQLState,
int vendorCode)
reason,SQLState, 및 vendorCode 으로 SQLTransactionRollbackException 객체를 구축합니다.
cause 는 초기화되지 않습니다. Throwable.initCause(java.lang.Throwable) 메소드를 호출하는 것에 의해, 나중에 이것을 초기화할 수 있습니다.
reason - 예외의 설명SQLState - 예외를 식별하는 XOPEN 코드 또는 SQL:2003 코드vendorCode - 데이타베이스 벤더 고유의 예외 코드public SQLTransactionRollbackException(Throwable cause)
cause 로 SQLTransactionRollbackException 객체를 구축합니다. SQLState 는 null 에 초기화되어 벤더 코드는 0 에 초기화됩니다. reason 는 cause==null 의 경우에 null 에 초기화되어cause! =null 의 경우에 cause.toString() 에 초기화됩니다.
cause - 이 SQLException 의 기가 되는 원인 (나중에 getCause() 메소드로 취득하기 위해서 보존된다). null 치가 허가되고 있어 원인이 존재하지 않는가 불명한 것을 나타내는
public SQLTransactionRollbackException(String reason,
Throwable cause)
reason 및 cause 로 SQLTransactionRollbackException 객체를 구축합니다. SQLState 는 null 에 초기화되어 벤더 코드는 0 에 초기화됩니다.
reason - 예외의 설명cause - 이 SQLException 의 기가 되는 원인 (나중에 getCause() 메소드로 취득하기 위해서 보존된다). null 치가 허가되고 있어 원인이 존재하지 않는가 불명한 것을 나타내는
public SQLTransactionRollbackException(String reason,
String SQLState,
Throwable cause)
reason,SQLState, 및 cause 로 SQLTransactionRollbackException 객체를 구축합니다. 벤더 코드는 0 에 초기화됩니다.
reason - 예외의 설명SQLState - 예외를 식별하는 XOPEN 코드 또는 SQL:2003 코드cause - 이 SQLException 의 기가 되는 원인 (나중에 getCause() 메소드로 취득하기 위해서 보존된다). null 치가 허가되고 있어 원인이 존재하지 않는가 불명한 것을 나타내는
public SQLTransactionRollbackException(String reason,
String SQLState,
int vendorCode,
Throwable cause)
reason,SQLState,vendorCode, 및 cause 로 SQLTransactionRollbackException 객체를 구축합니다.
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 도 참조해 주세요.