java-jwt
java-jwt copied to clipboard
Small exception improvements
Changes
Made it simpler to catch all claim-related Exceptions.
- add claimName to InvalidClaimException (which was already present in all sub-classes)
- make TokenExpiredException extend IncorrectClaimException
Testing
- [ ] This change adds test coverage
- [x] This change has been tested on the latest version of Java or why not
Checklist
- [x] I have read the Auth0 general contribution guidelines
- [x] I have read the Auth0 Code of Conduct
- [x] All existing and new tests complete without errors