public class OncRpcAuthenticationException extends OncRpcException
OncRpcAuthenticationException indicates an
authentication exception.RPC_AUTHERROR, RPC_BUFFEROVERFLOW, RPC_BUFFERUNDERFLOW, RPC_CANNOTREGISTER, RPC_CANTDECODEARGS, RPC_CANTDECODERES, RPC_CANTENCODEARGS, RPC_CANTRECV, RPC_CANTSEND, RPC_FAILED, RPC_PMAPFAILURE, RPC_PROCUNAVAIL, RPC_PROGNOTREGISTERED, RPC_PROGUNAVAIL, RPC_PROGVERSMISMATCH, RPC_SUCCESS, RPC_SYSTEMERROR, RPC_TIMEDOUT, RPC_UNKNOWNPROTO, RPC_VERSMISMATCH, RPC_WRONGMESSAGE| Constructor and Description |
|---|
OncRpcAuthenticationException(int authStatus)
Initializes an
OncRpcAuthenticationException
with a detail of OncRpcException.RPC_AUTHERROR and
the specified authentication status detail. |
| Modifier and Type | Method and Description |
|---|---|
int |
getAuthStatus()
Returns the authentication status detail of this ONC/RPC exception
object.
|
getMessage, getReasonaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic OncRpcAuthenticationException(int authStatus)
OncRpcAuthenticationException
with a detail of OncRpcException.RPC_AUTHERROR and
the specified authentication status detail.authStatus - The authentication status, which can be any one of
the OncRpcAuthStatus constants.Copyright © 2015. All rights reserved.