IllegalStateException; replace bad exceptions with ones that make more sense