public class PeerException extends Exception
| Modifier and Type | Class and Description |
|---|---|
static class |
PeerException.AbortCause
USER_ABORT means that this peer aborts the communication.
|
| Constructor and Description |
|---|
PeerException(FutureResponse future) |
PeerException(PeerException.AbortCause abortCause,
String message)
Specified error with custom message.
|
PeerException(Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
PeerException.AbortCause |
abortCause() |
String |
toString() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic PeerException(PeerException.AbortCause abortCause, String message)
abortCause - either USER_ABORT, PEER_ERROR, PEER_ABORT, or TIMEOUT.message - Custom messagepublic PeerException(FutureResponse future)
public PeerException(Throwable cause)
public PeerException.AbortCause abortCause()
Copyright © 2014. All rights reserved.