setRejectedExecutionHandler

Sets a new handler for unexecutable tasks.

Parameters

handler

the new handler

See also

.getRejectedExecutionHandler

Throws

if handler is null