Class Error
java.lang.Object
com.swiftmq.amqp.v100.types.AMQPType
com.swiftmq.amqp.v100.types.AMQPList
com.swiftmq.amqp.v100.generated.transport.definitions.Error
- 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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns an array constructor (internal use)Returns the mandatory Condition field.Returns the optional Description field.getInfo()
Returns the optional Info field.int
Returns the predicted size of this Error.Returns the value string representation of the type.boolean
Return whether this Error has a descriptorvoid
setCondition
(ErrorConditionIF condition) Sets the mandatory Condition field.void
setDescription
(AMQPString description) Sets the optional Description field.void
Sets the optional Info field.toString()
void
writeContent
(DataOutput out) Write the content of this type to a DataOutput.Methods inherited from class com.swiftmq.amqp.v100.types.AMQPList
getValue, readContent, setValue
Methods inherited from class com.swiftmq.amqp.v100.types.AMQPType
getCode, getConstructor, getName, isWriteCode, resetConstructor, setCode, setConstructor, setWriteCode
-
Field Details
-
DESCRIPTOR_NAME
-
DESCRIPTOR_CODE
public static long DESCRIPTOR_CODE -
codeConstructor
-
nameConstructor
-
-
Constructor Details
-
Error
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 classAMQPType
- Returns:
- true/false
-
getCondition
Returns the mandatory Condition field.- Returns:
- Condition
-
setCondition
Sets the mandatory Condition field.- Parameters:
condition
- Condition
-
getDescription
Returns the optional Description field.- Returns:
- Description
-
setDescription
Sets the optional Description field.- Parameters:
description
- Description
-
getInfo
Returns the optional Info field.- Returns:
- Info
-
setInfo
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 classAMQPList
- Returns:
- predicted size
-
getArrayConstructor
Returns an array constructor (internal use)- Returns:
- array constructor
- Throws:
IOException
-
writeContent
Description copied from class:AMQPType
Write the content of this type to a DataOutput.- Overrides:
writeContent
in classAMQPList
- Parameters:
out
- DataOutput- Throws:
IOException
- on error
-
getValueString
Description copied from class:AMQPType
Returns the value string representation of the type.- Overrides:
getValueString
in classAMQPList
- Returns:
- value string
-
toString
-