public static class NotAllowedInCurrentState
extends java.lang.Object
NotAllowedInCurrentState
exception indicates that the requested
method is not allowed with a resource or service in its current state. This
could be because the method is performing a configuration change that is not
allowed in the current state or because method itself is not allowed in the
current state.
Examples:
Counterexamples:
ResourceBusy
exception would be used instead.