Maybe this ship has already sailed, but if it's still possible BaseServiceException should not extend RuntimeException. As is, I can't confidently make any calls to a gcloud-java method without wrapping them in a try-catch block, and should I accidentally miss one it could cause my whole application to crash. I would suggest it extend IOException instead, but just extending Exception would be great.
Reactions are currently unavailable
Maybe this ship has already sailed, but if it's still possible BaseServiceException should not extend RuntimeException. As is, I can't confidently make any calls to a gcloud-java method without wrapping them in a try-catch block, and should I accidentally miss one it could cause my whole application to crash. I would suggest it extend IOException instead, but just extending Exception would be great.