javaanpr icon indicating copy to clipboard operation
javaanpr copied to clipboard

Refactor exception handling

Open oskopek opened this issue 8 years ago • 0 comments

Currently, exceptions are thrown and caught all over the place.

  • Consolidate the usage of exceptions. If applicable, prefer to fail-fast (wrapping thrown exception in unchecked exceptions (IllegalStateE, IllegalArgumentE, ...)
  • Try to separate all IO from the domain classes. (F.e. IO should not be done in constructors, ...)

oskopek avatar Dec 22 '16 16:12 oskopek