Java Exceptions naming convention: <problem><noun>Exception

I have long been inconsistent when creating Java Exception classes, in terms of how I name them. Having looked through the Exeptions that are supplied with Java, I see there is no real standard naming convention.

I have found more exceptions with the form <problem><noun>Exception. For example, IllegalArgumentException. So that's what I've decided to use in the future.

This article is © Adrian Smith.
It was originally published on 16 May 2017
More on: Java | Coding