public class RemoteInterruptedException extends RuntimeException
InterruptedException
. Since it is an error to propagate such
an exception to a different thread, this exception may be thrown in its place.Constructor and Description |
---|
RemoteInterruptedException()
Constructs a
RemoteInterruptedException with no detail message. |
RemoteInterruptedException(String msg)
Constructs a
RemoteInterruptedException with the specified detail message. |
RemoteInterruptedException(String msg,
Throwable cause)
Constructs a
RemoteInterruptedException with the specified detail message and cause. |
RemoteInterruptedException(Throwable cause)
Constructs a
RemoteInterruptedException with the specified cause. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public RemoteInterruptedException()
RemoteInterruptedException
with no detail message. The cause is not initialized, and may
subsequently be initialized by a call to initCause
.public RemoteInterruptedException(String msg)
RemoteInterruptedException
with the specified detail message. The cause is not initialized, and
may subsequently be initialized by a call to initCause
.msg
- the detail messagepublic RemoteInterruptedException(Throwable cause)
RemoteInterruptedException
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
).cause
- the cause (which is saved for later retrieval by the Throwable.getCause()
method)public RemoteInterruptedException(String msg, Throwable cause)
RemoteInterruptedException
with the specified detail message and cause.msg
- the detail messagecause
- the cause (which is saved for later retrieval by the Throwable.getCause()
method)Copyright © 2018 JBoss by Red Hat. All rights reserved.