Skip to content

Remove designs that hide one exception to throw another #83

Description

@neomatrix369

A good example of this is this code block:

try {
        uriBuilder.build();
        this.apiReader = new APIReader(uriBuilder);
    } catch (APIKeyNotAssignedException e) { <<===
        logger.error(e.getMessage());                 <<===
        throw new IllegalStateException("No API Key assigned");
    }

in

https://github.com/carlosvillademor/RESTAPIUnifier/blob/master/java/src/main/java/org/neomatrix369/examples/muzutv/BaseMuzu.java

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions