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
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.
The text was updated successfully, but these errors were encountered:
tfmorris
added a commit
to tfmorris/pattypan
that referenced
this issue
Jul 11, 2023
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 catchException
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 broadjava.lang.Exception
which is going to be quite error prone.The text was updated successfully, but these errors were encountered: