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.


Constructor Index

 o RPCAuthError(int)
Thrown when an authentication failed.

Method Index

 o getAuthFailure()
Returns the reason why the exception has been thrown.

Constructors

 o 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).

Methods

 o 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