Thrown when the state of an object is invalid for the operation.
new (?message:String, ?previous:Exception)