Just use IllegalStateException? Fewer types is more daggerey