java.lang.IllegalStateException in .NET? java.lang.IllegalStateException in .NET? java java

java.lang.IllegalStateException in .NET?


System.InvalidOperationException

The exception that is thrown when a method call is invalid for the object's current state.