Top Description Fields Constructors
java.util.concurrent

public Class CompletionException

extends RuntimeException
Class Inheritance

Exception thrown when an error or other exception is encountered in the course of completing a result or task.
Author
Doug Lea
Since
1.8

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
protected
CompletionException()

Constructs a CompletionException with no detail message.

protected
CompletionException(String
the detail message
message
)

Constructs a CompletionException with the specified detail message.

public
CompletionException(String
the detail message
message
,
Throwable
the cause (which is saved for later retrieval by the getCause() method)
cause
)

Constructs a CompletionException with the specified detail message and cause.

public
CompletionException(Throwable
the cause (which is saved for later retrieval by the getCause() method)
cause
)

Constructs a CompletionException with the specified cause.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.lang.RuntimeException.serialVersionUID.

Constructor Detail

CompletionExceptionback to summary
protected CompletionException()

Constructs a CompletionException with no detail message. The cause is not initialized, and may subsequently be initialized by a call to initCause.

CompletionExceptionback to summary
protected CompletionException(String message)

Constructs a CompletionException with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call to initCause.

Parameters
message:String

the detail message

CompletionExceptionback to summary
public CompletionException(String message, Throwable cause)

Constructs a CompletionException with the specified detail message and cause.

Parameters
message:String

the detail message

cause:Throwable

the cause (which is saved for later retrieval by the getCause() method)

CompletionExceptionback to summary
public CompletionException(Throwable cause)

Constructs a CompletionException with the specified cause. The detail message is set to (cause == null ? null : cause.toString()) (which typically contains the class and detail message of cause).

Parameters
cause:Throwable

the cause (which is saved for later retrieval by the getCause() method)