Exception handling #364
bocops
started this conversation in
Architecture & Design
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Based on discussion in PR #353, we should decide how we want our exception handling to look like. There's a number of points to consider and discuss:
@Throws
. We need to decide, do we want our exceptions to be checked (using the annotation) or unchecked (not using the annotation) in Java?BigBone*Exception
? For example, some client-side validation throwingIllegalArgumentException
currently exists (see Introduce client-side validation on methods #293 and PR referenced there).BigBoneException
superclass? This would allow catching all exceptions thrown by our code at once.BigBoneClientInstantiationException
do not use the prefix, which seems sensible because these names are a mouthful after a while.If a decision has been made
Beta Was this translation helpful? Give feedback.
All reactions