public class SctpSendingFailureException extends Exception
IHandler.incident(org.snf4j.core.handler.SessionIncident, java.lang.Throwable)
method along with the
SCTP_SENDING_FAILURE
incident.Constructor and Description |
---|
SctpSendingFailureException(ByteBuffer buffer,
ImmutableSctpMessageInfo msgInfo,
Throwable cause)
Constructs an exception with the message that was to be sent along with the
immutable ancillary data about the message and the cause of the failure.
|
Modifier and Type | Method and Description |
---|---|
ByteBuffer |
getBuffer()
Returns the message that was to be sent.
|
ImmutableSctpMessageInfo |
getMessageInfo()
Returns the immutable ancillary data about the message that was to be sent
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public SctpSendingFailureException(ByteBuffer buffer, ImmutableSctpMessageInfo msgInfo, Throwable cause)
buffer
- the message that was to be sentmsgInfo
- the immutable ancillary data about the message that was to be
sentcause
- the cause of the failurepublic ImmutableSctpMessageInfo getMessageInfo()
public ByteBuffer getBuffer()
Copyright © 2017–2022 SNF4J.ORG. All rights reserved.