DatagramProtocol.errorReceived

Called when a previous send or receive operation raises an exception.

interface DatagramProtocol
void
errorReceived
(
Exception exception
)

Parameters

exception Exception

is the exception instance.

This method is called in rare conditions, when the transport (e.g. UDP) detects that a datagram couldn’t be delivered to its recipient. In many conditions though, undeliverable datagrams will be silently dropped.

Meta