JavaTM Platform
Standard Ed. 6

java.sql
클래스 SQLTimeoutException

java.lang.Object 
  상위를 확장 java.lang.Throwable 
      상위를 확장 java.lang.Exception 
          상위를 확장 java.sql.SQLException 
              상위를 확장 java.sql.SQLTransientException 
                  상위를 확장 java.sql.SQLTimeoutException
모든 구현된 인터페이스:
Serializable , Iterable <Throwable >


public class SQLTimeoutException
extends SQLTransientException

Statement 로 지정한 타임 아웃이 경과했을 때에 throw 되는 SQLException 의 서브 클래스입니다.  

이 예외는, 표준 SQLState 에 대응하지 않습니다.

도입된 버젼:
1.6
관련 항목:
직렬화 된 형식

생성자 의 개요
SQLTimeoutException ()
          SQLTimeoutException 객체를 구축합니다.
SQLTimeoutException (String  reason)
          지정의 reasonSQLTimeoutException 객체를 구축합니다.
SQLTimeoutException (String  reason, String  SQLState)
          지정의 reasonSQLStateSQLTimeoutException 객체를 구축합니다.
SQLTimeoutException (String  reason, String  SQLState, int vendorCode)
          지정의 reason,SQLState, 및 vendorCode 으로 SQLTimeoutException 객체를 구축합니다.
SQLTimeoutException (String  reason, String  SQLState, int vendorCode, Throwable  cause)
          지정의 reason,SQLState,vendorCode, 및 causeSQLTimeoutException 객체를 구축합니다.
SQLTimeoutException (String  reason, String  SQLState, Throwable  cause)
          지정의 reason,SQLState, 및 causeSQLTimeoutException 객체를 구축합니다.
SQLTimeoutException (String  reason, Throwable  cause)
          지정의 reasoncauseSQLTimeoutException 객체를 구축합니다.
SQLTimeoutException (Throwable  cause)
          지정의 causeSQLTimeoutException 객체를 구축합니다.
 
메소드의 개요
 
클래스 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
 

생성자 의 상세

SQLTimeoutException

public SQLTimeoutException()
SQLTimeoutException 객체를 구축합니다. reasonSQLStatenull 에 초기화되어 벤더 코드는 0 에 초기화됩니다. cause 는 초기화되지 않습니다. Throwable.initCause(java.lang.Throwable) 메소드를 호출하는 것에 의해, 나중에 이것을 초기화할 수 있습니다.  

도입된 버젼:
1.6

SQLTimeoutException

public SQLTimeoutException(String  reason)
지정의 reasonSQLTimeoutException 객체를 구축합니다. SQLStatenull 에 초기화되어 벤더 코드는 0 에 초기화됩니다. cause 는 초기화되지 않습니다. Throwable.initCause(java.lang.Throwable) 메소드를 호출하는 것에 의해, 나중에 이것을 초기화할 수 있습니다.  

파라미터:
reason - 예외의 설명
도입된 버젼:
1.6

SQLTimeoutException

public SQLTimeoutException(String  reason,
                           String  SQLState)
지정의 reasonSQLStateSQLTimeoutException 객체를 구축합니다. cause 는 초기화되지 않습니다. Throwable.initCause(java.lang.Throwable) 메소드를 호출하는 것에 의해, 나중에 이것을 초기화할 수 있습니다. 벤더 코드는 0 에 초기화됩니다.  

파라미터:
reason - 예외의 설명
SQLState - 예외를 식별하는 XOPEN 코드 또는 SQL:2003 코드
도입된 버젼:
1.6

SQLTimeoutException

public SQLTimeoutException(String  reason,
                           String  SQLState,
                           int vendorCode)
지정의 reason,SQLState, 및 vendorCode 으로 SQLTimeoutException 객체를 구축합니다. cause 는 초기화되지 않습니다. Throwable.initCause(java.lang.Throwable) 메소드를 호출하는 것에 의해, 나중에 이것을 초기화할 수 있습니다.  

파라미터:
reason - 예외의 설명
SQLState - 예외를 식별하는 XOPEN 코드 또는 SQL:2003 코드
vendorCode - 데이타베이스 벤더 고유의 예외 코드
도입된 버젼:
1.6

SQLTimeoutException

public SQLTimeoutException(Throwable  cause)
지정의 causeSQLTimeoutException 객체를 구축합니다. SQLStatenull 에 초기화되어 벤더 코드는 0 에 초기화됩니다. reasoncause==null 의 경우에 null 에 초기화되어cause! =null 의 경우에 cause.toString() 에 초기화됩니다.  

파라미터:
cause - 이 SQLException 의 기가 되는 원인 (나중에 getCause() 메소드로 취득하기 위해서 보존된다). null 치가 허가되고 있어 원인이 존재하지 않는가 불명한 것을 나타내는
도입된 버젼:
1.6

SQLTimeoutException

public SQLTimeoutException(String  reason,
                           Throwable  cause)
지정의 reasoncauseSQLTimeoutException 객체를 구축합니다. SQLStatenull 에 초기화되어 벤더 코드는 0 에 초기화됩니다.  

파라미터:
reason - 예외의 설명
cause - 이 SQLException 의 기가 되는 원인 (나중에 getCause() 메소드로 취득하기 위해서 보존된다). null 치가 허가되고 있어 원인이 존재하지 않는가 불명한 것을 나타내는
도입된 버젼:
1.6

SQLTimeoutException

public SQLTimeoutException(String  reason,
                           String  SQLState,
                           Throwable  cause)
지정의 reason,SQLState, 및 causeSQLTimeoutException 객체를 구축합니다. 벤더 코드는 0 에 초기화됩니다.  

파라미터:
reason - 예외의 설명
SQLState - 예외를 식별하는 XOPEN 코드 또는 SQL:2003 코드
cause - 이 SQLException 의 기가 되는 원인 (나중에 getCause() 메소드로 취득하기 위해서 보존된다). null 치가 허가되고 있어 원인이 존재하지 않는가 불명한 것을 나타내는
도입된 버젼:
1.6

SQLTimeoutException

public SQLTimeoutException(String  reason,
                           String  SQLState,
                           int vendorCode,
                           Throwable  cause)
지정의 reason,SQLState,vendorCode, 및 causeSQLTimeoutException 객체를 구축합니다.  

파라미터:
reason - 예외의 설명
SQLState - 예외를 식별하는 XOPEN 코드 또는 SQL:2003 코드
vendorCode - 데이타베이스 벤더 고유의 예외 코드
cause - 이 SQLException 의 기가 되는 원인 (나중에 getCause() 메소드로 취득하기 위해서 보존된다). null 치가 허가되고 있어 원인이 존재하지 않는가 불명한 것을 나타내는
도입된 버젼:
1.6

JavaTM Platform
Standard Ed. 6

버그의 보고와 기능의 요청
한층 더 자세한 API 레퍼런스 및 개발자 문서에 대해서는,Java SE 개발자용 문서를 참조해 주세요. 개발자전용의 상세한 해설, 개념의 개요, 용어의 정의, 버그의 회피책, 및 코드 실례가 포함되어 있습니다.

Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.