com.sun.rpc
Class MsgRejectedException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.io.IOException
                    |
                    +--com.sun.rpc.RpcException
                          |
                          +--com.sun.rpc.MsgRejectedException

public class MsgRejectedException
extends RpcException

Handle the RPC "message rejected" class of errors. Note that some of the errors also convey low and high version information or an authentication sub-error.

See Also:
RpcException, Serialized Form

Field Summary
static int AUTH_BADCRED
           
static int AUTH_BADVERF
           
static int AUTH_ERROR
           
static int AUTH_FAILED
           
static int AUTH_INVALIDRESP
           
static int AUTH_REJECTEDCRED
           
static int AUTH_REJECTEDVERF
           
static int AUTH_TOOWEAK
           
static int RPC_MISMATCH
           
static int RPCSEC_GSS_FAILED
           
static int RPCSEC_GSS_NOCRED
           
 
Fields inherited from class com.sun.rpc.RpcException
error, hi, lo, why
 
Constructor Summary
MsgRejectedException(int error)
           
MsgRejectedException(int error, int why)
           
MsgRejectedException(int error, int lo, int hi)
           
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

RPC_MISMATCH

public static final int RPC_MISMATCH

AUTH_ERROR

public static final int AUTH_ERROR

AUTH_BADCRED

public static final int AUTH_BADCRED

AUTH_REJECTEDCRED

public static final int AUTH_REJECTEDCRED

AUTH_BADVERF

public static final int AUTH_BADVERF

AUTH_REJECTEDVERF

public static final int AUTH_REJECTEDVERF

AUTH_TOOWEAK

public static final int AUTH_TOOWEAK

AUTH_INVALIDRESP

public static final int AUTH_INVALIDRESP

AUTH_FAILED

public static final int AUTH_FAILED

RPCSEC_GSS_NOCRED

public static final int RPCSEC_GSS_NOCRED

RPCSEC_GSS_FAILED

public static final int RPCSEC_GSS_FAILED
Constructor Detail

MsgRejectedException

public MsgRejectedException(int error)

MsgRejectedException

public MsgRejectedException(int error,
                            int why)

MsgRejectedException

public MsgRejectedException(int error,
                            int lo,
                            int hi)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Throwable