Class ErrorResponse
- java.lang.Object
-
- net.timewalker.ffmq4.transport.packet.AbstractPacket
-
- net.timewalker.ffmq4.transport.packet.AbstractResponsePacket
-
- net.timewalker.ffmq4.transport.packet.response.ErrorResponse
-
public final class ErrorResponse extends AbstractResponsePacket
ErrorResponse
-
-
Constructor Summary
Constructors Constructor Description ErrorResponse()ConstructorErrorResponse(javax.jms.JMSException error)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description bytegetType()Get the type value for this packetvoidrespawnError()Respawn the original errorprotected voidserializeTo(RawDataBuffer out)Write the packet content to the given output streamStringtoString()protected voidunserializeFrom(RawDataBuffer in)Read the packet content to the given input stream-
Methods inherited from class net.timewalker.ffmq4.transport.packet.AbstractResponsePacket
isResponseExpected
-
Methods inherited from class net.timewalker.ffmq4.transport.packet.AbstractPacket
getEndpointId, setEndpointId
-
-
-
-
Method Detail
-
getType
public byte getType()
Description copied from class:AbstractPacketGet the type value for this packet- Specified by:
getTypein classAbstractPacket
-
serializeTo
protected void serializeTo(RawDataBuffer out)
Description copied from class:AbstractPacketWrite the packet content to the given output stream- Overrides:
serializeToin classAbstractPacket
-
unserializeFrom
protected void unserializeFrom(RawDataBuffer in)
Description copied from class:AbstractPacketRead the packet content to the given input stream- Overrides:
unserializeFromin classAbstractPacket
-
respawnError
public void respawnError() throws javax.jms.JMSExceptionRespawn the original error- Throws:
javax.jms.JMSException
-
toString
public String toString()
- Overrides:
toStringin classAbstractPacket
-
-