java.lang.Object
com.swiftmq.amqp.v100.types.AMQPType
com.swiftmq.amqp.v100.types.AMQPList
com.swiftmq.amqp.v100.generated.transport.definitions.Error

public class Error extends AMQPList
Version:
AMQP Version v100. Generation Date: Wed Apr 18 14:09:32 CEST 2012
Author:
IIT Software GmbH, Bremen/Germany, (c) 2012, All Rights Reserved
  • Field Details

  • Constructor Details

    • Error

      public Error(List initValue) throws Exception
      Constructs a Error.
      Parameters:
      initValue - initial value
    • Error

      public Error()
      Constructs a Error.
  • Method Details

    • hasDescriptor

      public boolean hasDescriptor()
      Return whether this Error has a descriptor
      Overrides:
      hasDescriptor in class AMQPType
      Returns:
      true/false
    • getCondition

      public ErrorConditionIF getCondition()
      Returns the mandatory Condition field.
      Returns:
      Condition
    • setCondition

      public void setCondition(ErrorConditionIF condition)
      Sets the mandatory Condition field.
      Parameters:
      condition - Condition
    • getDescription

      public AMQPString getDescription()
      Returns the optional Description field.
      Returns:
      Description
    • setDescription

      public void setDescription(AMQPString description)
      Sets the optional Description field.
      Parameters:
      description - Description
    • getInfo

      public Fields getInfo()
      Returns the optional Info field.
      Returns:
      Info
    • setInfo

      public void setInfo(Fields info)
      Sets the optional Info field.
      Parameters:
      info - Info
    • getPredictedSize

      public int getPredictedSize()
      Returns the predicted size of this Error. The predicted size may be greater than the actual size but it can never be less.
      Overrides:
      getPredictedSize in class AMQPList
      Returns:
      predicted size
    • getArrayConstructor

      public AMQPDescribedConstructor getArrayConstructor() throws IOException
      Returns an array constructor (internal use)
      Returns:
      array constructor
      Throws:
      IOException
    • writeContent

      public void writeContent(DataOutput out) throws IOException
      Description copied from class: AMQPType
      Write the content of this type to a DataOutput.
      Overrides:
      writeContent in class AMQPList
      Parameters:
      out - DataOutput
      Throws:
      IOException - on error
    • getValueString

      public String getValueString()
      Description copied from class: AMQPType
      Returns the value string representation of the type.
      Overrides:
      getValueString in class AMQPList
      Returns:
      value string
    • toString

      public String toString()
      Overrides:
      toString in class AMQPList