Exceptional Naming

When code throws or catches an exception, name to communicate rather than regurgitate

A previous version of this article appeared in NDC Developer Magazine
ClassNotFoundException
EnumConstantNotPresentException
IllegalArgumentException
IllegalAccessException
IndexOutOfBoundsException
NegativeArraySizeException
NoSuchMethodException
TypeNotPresentException
UnsupportedOperationException
ClassNotFound
EnumConstantNotPresent
IllegalArgument
IllegalAccess
IndexOutOfBounds
NegativeArraySize
NoSuchMethod
TypeNotPresent
UnsupportedOperation
ArrayStoreException
ClassCastException
InstantiationException
NullPointerException
NumberFormatException
SecurityException
ArrayStore
ClassCast
Instantiation
NullPointer
NumberFormat
Security
IllegalArrayElementType
CastToNonSubclass
ClassCannotBeInstantiated
UnexpectedNullReference
InvalidNumberFormat
SecurityViolation

consultant · father · husband · itinerant · programmer · speaker · trainer · writer