public class GlobalRequestException extends Exception
GlobalRequestFuture to indicate that the
server sent back a failure reply.| Constructor and Description |
|---|
GlobalRequestException(int code)
Creates a new
GlobalRequestException with the given SSH message code. |
| Modifier and Type | Method and Description |
|---|---|
int |
getCode()
Retrieves the SSH message code.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic GlobalRequestException(int code)
GlobalRequestException with the given SSH message code.code - SSH message code to set; normally SshConstants.SSH_MSG_UNIMPLEMENTED or
SshConstants.SSH_MSG_REQUEST_FAILUREpublic int getCode()
SshConstants.SSH_MSG_UNIMPLEMENTED or
SshConstants.SSH_MSG_REQUEST_FAILURECopyright © 2008–2024 The Apache Software Foundation. All rights reserved.