netty5/handler/src/main/java/io/netty
Norman Maurer 8bc21ecdd0 [#3376] Use IllegalArgumentException as replacement for NPE as stated in javadocs
Motivation:

SSLEngine specifies that IllegalArgumentException must be thrown if a null argument is given when using wrap(...) or unwrap(...).

Modifications:

Replace NullPointerException with IllegalArgumentException to match the javadocs.

Result:

Match the javadocs.
2015-01-30 05:56:20 +01:00
..
handler [#3376] Use IllegalArgumentException as replacement for NPE as stated in javadocs 2015-01-30 05:56:20 +01:00