You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
jakarta.security.jacc.PolicyContext.getContext(String) and jakarta.security.jacc.PolicyConfigurationFactory.getPolicyConfigurationFactory() are tedious to use, since they declare exceptions that most application code cannot reasonably handle. In practice they are always caught and retrown in some other exception.
To make those not so tedious to use, introduce variants that throw a runtime exception instead. Clients can still choose to call the variant with the checked exception.
The text was updated successfully, but these errors were encountered:
jakarta.security.jacc.PolicyContext.getContext(String)
andjakarta.security.jacc.PolicyConfigurationFactory.getPolicyConfigurationFactory()
are tedious to use, since they declare exceptions that most application code cannot reasonably handle. In practice they are always caught and retrown in some other exception.To make those not so tedious to use, introduce variants that throw a runtime exception instead. Clients can still choose to call the variant with the checked exception.
The text was updated successfully, but these errors were encountered: