Package org.acplt.oncrpc
Class OncRpcAuthenticationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.acplt.oncrpc.OncRpcException
org.acplt.oncrpc.OncRpcAuthenticationException
- All Implemented Interfaces:
Serializable
The class
OncRpcAuthenticationException
indicates an
authentication exception.- Version:
- $Revision: 1.2 $ $Date: 2005/11/11 21:01:44 $ $State: Exp $ $Locker: $
- Author:
- Harald Albrecht
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int
Specific authentication status detail (reason why this authentication exception was thrown).private static final long
Defines the serial version UID forOncRpcAuthenticationException
.Fields inherited from class org.acplt.oncrpc.OncRpcException
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 Summary
ConstructorsConstructorDescriptionOncRpcAuthenticationException
(int authStatus) Initializes anOncRpcAuthenticationException
with a detail ofOncRpcException.RPC_AUTHERROR
and the specifiedauthentication status
detail. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns the authentication status detail of this ONC/RPC exception object.Methods inherited from class org.acplt.oncrpc.OncRpcException
getMessage, getReason
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDDefines the serial version UID forOncRpcAuthenticationException
.- See Also:
-
authStatusDetail
private int authStatusDetailSpecific authentication status detail (reason why this authentication exception was thrown).
-
-
Constructor Details
-
OncRpcAuthenticationException
public OncRpcAuthenticationException(int authStatus) Initializes anOncRpcAuthenticationException
with a detail ofOncRpcException.RPC_AUTHERROR
and the specifiedauthentication status
detail.- Parameters:
authStatus
- The authentication status, which can be any one of theOncRpcAuthStatus constants
.
-
-
Method Details
-
getAuthStatus
public int getAuthStatus()Returns the authentication status detail of this ONC/RPC exception object.- Returns:
- The authentication status of this
OncRpcException
.
-