NullPointerException in KeyType.parse(null)

Issue #307 resolved
Ralf Wagner created an issue

While the constructor for KeyType throws an IllegalArgumentException when called with null for the key type, the static factory method KeyType.parse throws a NullPointerException.

The behaviour would be more consistent, if an IllegalArgumentException would be reported in both cases.

Comments (3)

  1. Log in to comment