public static class NotAllowedInCurrentState
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
ResourceBusy exception would be used instead.