开发者

java.lang.IllegalStateException in .NET?

开发者 https://www.devze.com 2022-12-17 10:44 出处:网络
Description for java.lang.IllegalStateException from the Java docs: Signals that a method has been invoked开发者_如何转开发 at an illegal or inappropriate time. In other words, the Java environment

Description for java.lang.IllegalStateException from the Java docs:

Signals that a method has been invoked开发者_如何转开发 at an illegal or inappropriate time. In other words, the Java environment or Java application is not in an appropriate state for the requested operation.

Is there an equivalent for IllegalStateException in the .NET-Framework?


System.InvalidOperationException

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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号