Skip to content

Fix exception handling #176

@tfmorris

Description

@tfmorris

The error reporting mechanism (at least in the Excel code) is to throw new Exception("Some random error message") which then means the caller needs to catch Exception just for run of the mill errors.

Instead a specific Exception subclass should be defined (e.g. PattypanException) which can then be thrown/caught instead of having to rely on catching the very broad java.lang.Exception which is going to be quite error prone.

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