Firefish 0.5.10

gov.lbl.dsd.p2pio
Class Err

java.lang.Object
  extended bygov.lbl.dsd.p2pio.MsgElement
      extended bygov.lbl.dsd.p2pio.Msg
          extended bygov.lbl.dsd.p2pio.Response
              extended bygov.lbl.dsd.p2pio.Err

public class Err
extends Response

Error response message used to indicate the failure of a previous request message.

Version:
$Revision: 1.5 $, $Date: 2004/02/06 23:05:35 $

Field Summary
static int CGI_EXCEPTION
           
static int ILLEGAL_QUERY
           
static int INTERNAL_EXCEPTION
           
static int INVALID_REQUEST
           
static int JAXB_EXCEPTION
           
static int REQUEST_EXPECTED_BY_SERVER
           
static int RESPONSE_EXPECTED_BY_CLIENT
           
static int TRANS_ALREADY_CLOSED
           
static int TRANS_ALREADY_KNOWN
          The error codes.
static int TRANS_MUST_NOT_BE_PIPELINED
           
static int TRANS_UNKNOWN
           
static int UNKNOWN_QUERY
           
static int UNKNOWN_REQUEST
           
 
Constructor Summary
Err(TransactionID tid, int code)
           
Err(TransactionID tid, int code, Throwable cause)
           
 
Method Summary
 List getCauses()
           
 int getCode()
           
 String getCodeAsText()
           
 AxisFault toAxisFault()
           
 
Methods inherited from class gov.lbl.dsd.p2pio.Msg
getTransactionID
 
Methods inherited from class gov.lbl.dsd.p2pio.MsgElement
toDOM, toString, toXOM
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TRANS_ALREADY_KNOWN

public static final int TRANS_ALREADY_KNOWN
The error codes.

See Also:
Constant Field Values

TRANS_UNKNOWN

public static final int TRANS_UNKNOWN
See Also:
Constant Field Values

TRANS_ALREADY_CLOSED

public static final int TRANS_ALREADY_CLOSED
See Also:
Constant Field Values

TRANS_MUST_NOT_BE_PIPELINED

public static final int TRANS_MUST_NOT_BE_PIPELINED
See Also:
Constant Field Values

REQUEST_EXPECTED_BY_SERVER

public static final int REQUEST_EXPECTED_BY_SERVER
See Also:
Constant Field Values

RESPONSE_EXPECTED_BY_CLIENT

public static final int RESPONSE_EXPECTED_BY_CLIENT
See Also:
Constant Field Values

UNKNOWN_REQUEST

public static final int UNKNOWN_REQUEST
See Also:
Constant Field Values

INVALID_REQUEST

public static final int INVALID_REQUEST
See Also:
Constant Field Values

UNKNOWN_QUERY

public static final int UNKNOWN_QUERY
See Also:
Constant Field Values

JAXB_EXCEPTION

public static final int JAXB_EXCEPTION
See Also:
Constant Field Values

CGI_EXCEPTION

public static final int CGI_EXCEPTION
See Also:
Constant Field Values

INTERNAL_EXCEPTION

public static final int INTERNAL_EXCEPTION
See Also:
Constant Field Values

ILLEGAL_QUERY

public static final int ILLEGAL_QUERY
See Also:
Constant Field Values
Constructor Detail

Err

public Err(TransactionID tid,
           int code)

Err

public Err(TransactionID tid,
           int code,
           Throwable cause)
Method Detail

getCode

public int getCode()

getCodeAsText

public String getCodeAsText()

getCauses

public List getCauses()

toAxisFault

public AxisFault toAxisFault()

Firefish 0.5.10

Jump to the Firefish Homepage