org.acplt.oncrpc
public class OncRpcAuthenticationException extends OncRpcException
OncRpcAuthenticationException
indicates an
authentication exception.Modifier and Type | Field and Description |
---|---|
private int |
authStatusDetail
Specific authentication status detail (reason why this authentication
exception was thrown).
|
private static long |
serialVersionUID
Defines the serial version UID for
OncRpcAuthenticationException . |
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, getReason
private static final long serialVersionUID
OncRpcAuthenticationException
.private int authStatusDetail
public 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
.