All Packages Class Hierarchy This Package Previous Next Index
Class distinct.rpc.RPCAuthError
java.lang.Object
|
+----java.lang.Throwable
|
+----java.lang.Exception
|
+----distinct.rpc.RPCError
|
+----distinct.rpc.RPCAuthError
- public class RPCAuthError
- extends RPCError
Interface to the portmapper.
-
RPCAuthError(int)
- Thrown when an authentication failed.
-
getAuthFailure()
- Returns the reason why the exception has been thrown.
RPCAuthError
public RPCAuthError(int auth_failure)
- Thrown when an authentication failed.
- Parameters:
- auth_failure - The reason why the authentication failed (one of JRPC.kAUTH_BADCRED, JRPC.kAUTH_REJECTEDCRED, JRPC.kAUTH_BADVERF, JRPC.kAUTH_REJECTEDVERF, JRPC.kAUTH_TOOWEAK).
getAuthFailure
public int getAuthFailure()
- Returns the reason why the exception has been thrown.
- Returns:
- The reason why the authentication failed (one of
JRPC.kAUTH_BADCRED, JRPC.kAUTH_REJECTEDCRED, JRPC.kAUTH_BADVERF,
JRPC.kAUTH_REJECTEDVERF, JRPC.kAUTH_TOOWEAK).
All Packages Class Hierarchy This Package Previous Next Index