Instead of exception.
https://bitbucket.org/connect2id/nimbus-jose-jwt/commits/ca0d29d2e6bcdc0f2148b79e01620cfe53e3fd97#comment-9967410