This class represents an Error that is thrown when a method is called when
the receiving instance is in an invalid state.
For example, this may occur if a method has been called, and other properties
in the instance have not been initialized properly.