如果應用程式呼叫方法的時間不對或不適當, 或者就所要求的作業來說,XMS 不是處於適當狀態, 則 XMS 即會擲出此異常狀況。
std::exception | +----xms::Exception | +----xms::IllegalStateException