Class TcpDeserializationExceptionEvent

java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.integration.events.IntegrationEvent
org.springframework.integration.ip.event.IpIntegrationEvent
org.springframework.integration.ip.tcp.serializer.TcpDeserializationExceptionEvent
All Implemented Interfaces:
Serializable

public class TcpDeserializationExceptionEvent extends IpIntegrationEvent
Event representing an exception while decoding an incoming stream. Contains the buffer of data decoded so far and the offset in the buffer where the exception occurred, if available, otherwise -1.
Since:
4.0
See Also:
  • Constructor Details

    • TcpDeserializationExceptionEvent

      public TcpDeserializationExceptionEvent(Object source, Throwable cause, byte[] buffer, int offset)
  • Method Details

    • getBuffer

      public byte[] getBuffer()
    • getOffset

      public int getOffset()