Skip to content

Add variants of methods without checked exceptions #141

Description

@arjantijms

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions