com.sun.rpc

Class 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.
Author:
Brent Callaghan
See Also:
RpcException

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
RPCSEC_GSS_FAILED
static int
RPCSEC_GSS_NOCRED
static int
RPC_MISMATCH

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

String
toString()

Field Details

AUTH_BADCRED

public static final int AUTH_BADCRED
Field Value:
1

AUTH_BADVERF

public static final int AUTH_BADVERF
Field Value:
3

AUTH_ERROR

public static final int AUTH_ERROR
Field Value:
1

AUTH_FAILED

public static final int AUTH_FAILED
Field Value:
7

AUTH_INVALIDRESP

public static final int AUTH_INVALIDRESP
Field Value:
6

AUTH_REJECTEDCRED

public static final int AUTH_REJECTEDCRED
Field Value:
2

AUTH_REJECTEDVERF

public static final int AUTH_REJECTEDVERF
Field Value:
4

AUTH_TOOWEAK

public static final int AUTH_TOOWEAK
Field Value:
5

RPCSEC_GSS_FAILED

public static final int RPCSEC_GSS_FAILED
Field Value:
14

RPCSEC_GSS_NOCRED

public static final int RPCSEC_GSS_NOCRED
Field Value:
13

RPC_MISMATCH

public static final int RPC_MISMATCH
Field Value:
0

Constructor Details

MsgRejectedException

public MsgRejectedException(int error)

MsgRejectedException

public MsgRejectedException(int error,
                            int why)

MsgRejectedException

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

Method Details

toString

public String toString()