Duplicate :
|
|
Relates :
|
DatagramPacket::setPort is missing its `@throws IllegalArgumentException` from its spec for an out-of-range port numbers. Subsquently, several methods within this class which call on this method also don't declare this behaviour in their spec e.g. DatagramPacket::setSocketAddress, and several of the DatagramPacket contructors.
|