Skip to content

Pass all exceptions, catch none #11

@chrisinmtown

Description

@chrisinmtown

Thank you for this code. Suggest revising the constructor and other methods to throw IOException; i.e., remove all try-catch blocks. A library should not catch any exceptions, just let them bubble up so I can deal with them most appropriately in my code. As currently written I can't detect whether the constructor succeeded!

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