org.apache.qpid.transport
Class ExecutionException

java.lang.Object
  extended by org.apache.qpid.transport.Struct
      extended by org.apache.qpid.transport.Method
          extended by org.apache.qpid.transport.ExecutionException
All Implemented Interfaces:
Encodable, ProtocolEvent

public final class ExecutionException
extends Method


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.qpid.transport.Method
Method.CompletionListener
 
Field Summary
static int TYPE
           
 
Fields inherited from class org.apache.qpid.transport.Struct
dirty
 
Constructor Summary
ExecutionException()
           
ExecutionException(ExecutionErrorCode errorCode, int commandId, short classCode, short commandCode, short fieldIndex, String description, Map<String,Object> errorInfo, Option... _options)
           
 
Method Summary
 ExecutionException classCode(short value)
           
 ExecutionException clearClassCode()
           
 ExecutionException clearCommandCode()
           
 ExecutionException clearCommandId()
           
 ExecutionException clearDescription()
           
 ExecutionException clearErrorCode()
           
 ExecutionException clearErrorInfo()
           
 ExecutionException clearFieldIndex()
           
 ExecutionException commandCode(short value)
           
 ExecutionException commandId(int value)
           
 ExecutionException description(String value)
           
<C> void
dispatch(C context, MethodDelegate<C> delegate)
           
 ExecutionException errorCode(ExecutionErrorCode value)
           
 ExecutionException errorInfo(Map<String,Object> value)
           
 ExecutionException fieldIndex(short value)
           
 short getClassCode()
           
 short getCommandCode()
           
 int getCommandId()
           
 String getDescription()
           
 byte getEncodedTrack()
           
 ExecutionErrorCode getErrorCode()
           
 Map<String,Object> getErrorInfo()
           
 short getFieldIndex()
           
 Map<String,Object> getFields()
           
 int getPackWidth()
           
 int getSizeWidth()
           
 int getStructType()
           
 boolean hasClassCode()
           
 boolean hasCommandCode()
           
 boolean hasCommandId()
           
 boolean hasDescription()
           
 boolean hasErrorCode()
           
 boolean hasErrorInfo()
           
 boolean hasFieldIndex()
           
 boolean hasPayload()
           
 void read(Decoder dec)
          Decodes this encodable using the given decoder.
 ExecutionException setClassCode(short value)
           
 ExecutionException setCommandCode(short value)
           
 ExecutionException setCommandId(int value)
           
 ExecutionException setDescription(String value)
           
 ExecutionException setErrorCode(ExecutionErrorCode value)
           
 ExecutionException setErrorInfo(Map<String,Object> value)
           
 ExecutionException setFieldIndex(short value)
           
 void write(Encoder enc)
          Encodes this encodable using the given encoder.
 
Methods inherited from class org.apache.qpid.transport.Method
complete, create, delegate, getBody, getBodySize, getChannel, getHeader, getId, hasCompletionListener, idSet, isBatch, isSync, isUnreliable, setBatch, setBody, setChannel, setCompletionListener, setHeader, setId, setSync, setUnreliable, toString
 
Methods inherited from class org.apache.qpid.transport.Struct
getEncodedType, isDirty, setDirty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TYPE

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

ExecutionException

public ExecutionException()

ExecutionException

public ExecutionException(ExecutionErrorCode errorCode,
                          int commandId,
                          short classCode,
                          short commandCode,
                          short fieldIndex,
                          String description,
                          Map<String,Object> errorInfo,
                          Option... _options)
Method Detail

getStructType

public final int getStructType()
Specified by:
getStructType in class Struct

getSizeWidth

public final int getSizeWidth()
Specified by:
getSizeWidth in class Struct

getPackWidth

public final int getPackWidth()
Specified by:
getPackWidth in class Struct

hasPayload

public final boolean hasPayload()
Specified by:
hasPayload in class Method

getEncodedTrack

public final byte getEncodedTrack()
Specified by:
getEncodedTrack in interface ProtocolEvent
Specified by:
getEncodedTrack in class Method

dispatch

public <C> void dispatch(C context,
                         MethodDelegate<C> delegate)
Specified by:
dispatch in class Method

hasErrorCode

public final boolean hasErrorCode()

clearErrorCode

public final ExecutionException clearErrorCode()

getErrorCode

public final ExecutionErrorCode getErrorCode()

setErrorCode

public final ExecutionException setErrorCode(ExecutionErrorCode value)

errorCode

public final ExecutionException errorCode(ExecutionErrorCode value)

hasCommandId

public final boolean hasCommandId()

clearCommandId

public final ExecutionException clearCommandId()

getCommandId

public final int getCommandId()

setCommandId

public final ExecutionException setCommandId(int value)

commandId

public final ExecutionException commandId(int value)

hasClassCode

public final boolean hasClassCode()

clearClassCode

public final ExecutionException clearClassCode()

getClassCode

public final short getClassCode()

setClassCode

public final ExecutionException setClassCode(short value)

classCode

public final ExecutionException classCode(short value)

hasCommandCode

public final boolean hasCommandCode()

clearCommandCode

public final ExecutionException clearCommandCode()

getCommandCode

public final short getCommandCode()

setCommandCode

public final ExecutionException setCommandCode(short value)

commandCode

public final ExecutionException commandCode(short value)

hasFieldIndex

public final boolean hasFieldIndex()

clearFieldIndex

public final ExecutionException clearFieldIndex()

getFieldIndex

public final short getFieldIndex()

setFieldIndex

public final ExecutionException setFieldIndex(short value)

fieldIndex

public final ExecutionException fieldIndex(short value)

hasDescription

public final boolean hasDescription()

clearDescription

public final ExecutionException clearDescription()

getDescription

public final String getDescription()

setDescription

public final ExecutionException setDescription(String value)

description

public final ExecutionException description(String value)

hasErrorInfo

public final boolean hasErrorInfo()

clearErrorInfo

public final ExecutionException clearErrorInfo()

getErrorInfo

public final Map<String,Object> getErrorInfo()

setErrorInfo

public final ExecutionException setErrorInfo(Map<String,Object> value)

errorInfo

public final ExecutionException errorInfo(Map<String,Object> value)

write

public void write(Encoder enc)
Description copied from interface: Encodable
Encodes this encodable using the given encoder.

Specified by:
write in interface Encodable
Specified by:
write in class Struct
Parameters:
enc - the encoder.

read

public void read(Decoder dec)
Description copied from interface: Encodable
Decodes this encodable using the given decoder.

Specified by:
read in interface Encodable
Specified by:
read in class Struct
Parameters:
dec - the decoder.

getFields

public Map<String,Object> getFields()
Specified by:
getFields in class Struct


Licensed to the Apache Software Foundation