public class RejectedException extends RemoteException
detail| Constructor and Description |
|---|
RejectedException(boolean isShutdown) |
RejectedException(boolean isShutdown,
String message) |
RejectedException(boolean isShutdown,
String message,
Throwable cause) |
RejectedException(boolean isShutdown,
Throwable cause) |
RejectedException(String message,
RejectedException cause) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isShutdown()
Returns true if caused by executor shutdown.
|
RuntimeException |
throwUncheckedException()
Throws the cause of this exception if unchecked, else throws a
RejectedExecutionException.
|
getCause, getMessageaddSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic RejectedException(boolean isShutdown)
isShutdown - pass true if casued by executor shutdownpublic RejectedException(boolean isShutdown,
String message)
isShutdown - pass true if casued by executor shutdownpublic RejectedException(boolean isShutdown,
Throwable cause)
isShutdown - pass true if casued by executor shutdownpublic RejectedException(boolean isShutdown,
String message,
Throwable cause)
isShutdown - pass true if casued by executor shutdownpublic RejectedException(String message, RejectedException cause)
public boolean isShutdown()
public RuntimeException throwUncheckedException()
Copyright © 2006–2015 Cojen. All rights reserved.