Copy form Josef but then not final. Classes already inheriting InvalidStateException should use this class instead of Josefs'
Authored by: keess 2011-08-26
Parent: [r2319]
Child: [r2321]