RejectedExecutionException

port of java.util.concurrent.RejectedExecutionException

Exception thrown by an Executor when a task cannot be accepted for execution.

Since

1.5

Author

Doug Lea

Constructors

Link copied to clipboard
constructor()

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

constructor(message: String)

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

constructor(message: String, cause: Throwable)

Constructs a RejectedExecutionException with the specified detail message and cause.

constructor(cause: Throwable)

Constructs a RejectedExecutionException 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).

Properties

Link copied to clipboard
expect open val cause: Throwable?
Link copied to clipboard
expect open val message: String?

Functions

Link copied to clipboard