netbula.ORPC

Class rpc_err


public class rpc_err
extends Exception

Field Summary

static int
AUTH_BADCRED
static int
AUTH_BADVERF
static int
AUTH_FAILED
static int
AUTH_INVALIDRESP
static int
AUTH_OK
static int
AUTH_REJECTEDCRED
static int
AUTH_REJECTEDVERF
static int
AUTH_TOOWEAK
static int
RPC_AUTHERROR
static int
RPC_CANTDECODEARGS
static int
RPC_CANTDECODERES
static int
RPC_CANTENCODEARGS
static int
RPC_CANTRECV
static int
RPC_CANTSEND
static int
RPC_FAILED
static int
RPC_PMAPFAILURE
static int
RPC_PROCUNAVAIL
static int
RPC_PROGNOTREGISTERED
static int
RPC_PROGUNAVAIL
static int
RPC_PROGVERSMISMATCH
static int
RPC_SUCCESS
static int
RPC_SYSTEMERROR
static int
RPC_TIMEDOUT
static int
RPC_UNKNOWNHOST
static int
RPC_UNKNOWNPROTO
static int
RPC_VERSMISMATCH
static boolean
debug
Exception
exception
Underlying exception
int
high
static String
license_file
int
low
static String
netbula_orpc_version
int
re_errno
int
re_why
int
status
static String
update_check_url

Constructor Summary

rpc_err()
rpc_err(int restat, Exception ex)

Method Summary

static String
getLicensee()
String
sperrno(int stat)
Convert integer status to error string
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_FAILED

public static final int AUTH_FAILED
Field Value:
7

AUTH_INVALIDRESP

public static final int AUTH_INVALIDRESP
Field Value:
6

AUTH_OK

public static final int AUTH_OK
Field Value:
0

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

RPC_AUTHERROR

public static final int RPC_AUTHERROR
Field Value:
7

RPC_CANTDECODEARGS

public static final int RPC_CANTDECODEARGS
Field Value:
11

RPC_CANTDECODERES

public static final int RPC_CANTDECODERES
Field Value:
2

RPC_CANTENCODEARGS

public static final int RPC_CANTENCODEARGS
Field Value:
1

RPC_CANTRECV

public static final int RPC_CANTRECV
Field Value:
4

RPC_CANTSEND

public static final int RPC_CANTSEND
Field Value:
3

RPC_FAILED

public static final int RPC_FAILED
Field Value:
16

RPC_PMAPFAILURE

public static final int RPC_PMAPFAILURE
Field Value:
14

RPC_PROCUNAVAIL

public static final int RPC_PROCUNAVAIL
Field Value:
10

RPC_PROGNOTREGISTERED

public static final int RPC_PROGNOTREGISTERED
Field Value:
15

RPC_PROGUNAVAIL

public static final int RPC_PROGUNAVAIL
Field Value:
8

RPC_PROGVERSMISMATCH

public static final int RPC_PROGVERSMISMATCH
Field Value:
9

RPC_SUCCESS

public static final int RPC_SUCCESS
Field Value:
0

RPC_SYSTEMERROR

public static final int RPC_SYSTEMERROR
Field Value:
12

RPC_TIMEDOUT

public static final int RPC_TIMEDOUT
Field Value:
5

RPC_UNKNOWNHOST

public static final int RPC_UNKNOWNHOST
Field Value:
13

RPC_UNKNOWNPROTO

public static final int RPC_UNKNOWNPROTO
Field Value:
17

RPC_VERSMISMATCH

public static final int RPC_VERSMISMATCH
Field Value:
6

debug

public static boolean debug

exception

public Exception exception
Underlying exception

high

public int high

license_file

public static final String license_file

low

public int low

netbula_orpc_version

public static final String netbula_orpc_version

re_errno

public int re_errno

re_why

public int re_why

status

public int status

update_check_url

public static final String update_check_url

Constructor Details

rpc_err

public rpc_err()

rpc_err

public rpc_err(int restat,
               Exception ex)
Parameters:
restat - status
ex - the underlying exception

Method Details

getLicensee

public static final String getLicensee()
Returns:
the licensee of this product

sperrno

public String sperrno(int stat)
Convert integer status to error string
Parameters:
stat - status code

toString

public String toString()
Returns:
The detailed message string for the rpc_err object