本文整理汇总了Java中hla.rti1516e.exceptions.TimeRegulationIsNotEnabled类的典型用法代码示例。如果您正苦于以下问题:Java TimeRegulationIsNotEnabled类的具体用法?Java TimeRegulationIsNotEnabled怎么用?Java TimeRegulationIsNotEnabled使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
TimeRegulationIsNotEnabled类属于hla.rti1516e.exceptions包,在下文中一共展示了TimeRegulationIsNotEnabled类的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: disableTimeRegulation
import hla.rti1516e.exceptions.TimeRegulationIsNotEnabled; //导入依赖的package包/类
public void disableTimeRegulation() throws TimeRegulationIsNotEnabled, SaveInProgress, RestoreInProgress, FederateNotExecutionMember, NotConnected, RTIinternalError {
this.logger.trace("disableTimeRegulation");
try {
this._rtiAmbassador.disableTimeRegulation();
} catch (TimeRegulationIsNotEnabled | SaveInProgress | RestoreInProgress | FederateNotExecutionMember | NotConnected | RTIinternalError e) {
this.logger.error("disableTimeRegulation exception=" + e.getMessage());
throw e;
}
}
示例2: modifyLookahead
import hla.rti1516e.exceptions.TimeRegulationIsNotEnabled; //导入依赖的package包/类
public void modifyLookahead(final LogicalTimeInterval theLookahead) throws InvalidLookahead, InTimeAdvancingState, TimeRegulationIsNotEnabled, SaveInProgress, RestoreInProgress, FederateNotExecutionMember, NotConnected, RTIinternalError {
this.logger.trace("modifyLookahead theLookahead=" + theLookahead.toString());
try {
this._rtiAmbassador.modifyLookahead(theLookahead);
} catch (InvalidLookahead | InTimeAdvancingState | TimeRegulationIsNotEnabled | SaveInProgress | RestoreInProgress | FederateNotExecutionMember | NotConnected | RTIinternalError e) {
this.logger.error("modifyLookahead exception=" + e.getMessage());
throw e;
}
}
示例3: queryLookahead
import hla.rti1516e.exceptions.TimeRegulationIsNotEnabled; //导入依赖的package包/类
public LogicalTimeInterval queryLookahead() throws TimeRegulationIsNotEnabled, SaveInProgress, RestoreInProgress, FederateNotExecutionMember, NotConnected, RTIinternalError {
this.logger.trace("queryLookahead");
try {
final LogicalTimeInterval logicalTimeInterval = this._rtiAmbassador.queryLookahead();
this.logger.trace("queryLookahead return " + logicalTimeInterval.toString());
return logicalTimeInterval;
} catch (TimeRegulationIsNotEnabled | SaveInProgress | RestoreInProgress | FederateNotExecutionMember | NotConnected | RTIinternalError e) {
this.logger.error("queryLookahead exception=" + e.getMessage());
throw e;
}
}
示例4: retract
import hla.rti1516e.exceptions.TimeRegulationIsNotEnabled; //导入依赖的package包/类
public void retract(final MessageRetractionHandle theHandle) throws MessageCanNoLongerBeRetracted, InvalidMessageRetractionHandle, TimeRegulationIsNotEnabled, SaveInProgress, RestoreInProgress, FederateNotExecutionMember, NotConnected, RTIinternalError {
this.logger.trace("retract theHandle=" + theHandle.toString());
try {
this._rtiAmbassador.retract(theHandle);
} catch (MessageCanNoLongerBeRetracted | InvalidMessageRetractionHandle | TimeRegulationIsNotEnabled | SaveInProgress | RestoreInProgress | FederateNotExecutionMember | NotConnected | RTIinternalError e) {
this.logger.error("retract exception=" + e.getMessage());
throw e;
}
}