|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
| 개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.util.concurrent.ExecutionException
public class ExecutionException
예외를 throw 하는 것에 의해 중단한 태스크의 결과를 취득하려고 했을 때에 throw 되는 예외입니다. 이 예외는,Throwable.getCause() 메소드를 사용해 검사할 수 있습니다.
Future ,
직렬화 된 형식 | 생성자 의 개요 | |
|---|---|
protected |
ExecutionException ()
상세 메세지를 가지지 않는 ExecutionException 를 구축합니다. |
protected |
ExecutionException (String message)
지정된 상세 메세지를 가지는 ExecutionException 를 구축합니다. |
|
ExecutionException (String message,
Throwable cause)
지정된 상세 메세지와 원인을 가지는 ExecutionException 를 구축합니다. |
|
ExecutionException (Throwable cause)
지정된 원인을 사용해 ExecutionException 를 생성합니다. |
| 메소드의 개요 |
|---|
| 클래스 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 |
| 생성자 의 상세 |
|---|
protected ExecutionException()
initCause 를 호출하는 것으로 초기화됩니다.
protected ExecutionException(String message)
initCause 를 호출하는 것으로 초기화됩니다.
message - 상세 메세지
public ExecutionException(String message,
Throwable cause)
message - 상세 메세지cause - 원인 (나중에 Throwable.getCause() 메소드로 취득하기 위해서 보존된다)public ExecutionException(Throwable cause)
(cause == null ? null : cause.toString())(일반적으로의 경우,cause 의 클래스와 상세 메세지가 포함된다).
cause - 원인 (나중에 Throwable.getCause() 메소드로 취득하기 위해서 보존된다)
|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
| 개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 | |||||||||
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.