@Override
public void onBadActionErrorNotification(BadActionErrorNotification notification) {
- LOG.error("Error notification ----"
- + toStr(notification.getType(), notification.getCode(), notification.getTransactionId().getValue()));
+ LOG.error("Error notification {}", toStr(notification.getType(), notification.getCode(),
+ notification.getTransactionId().getValue()));
}
@Override
public void onBadInstructionErrorNotification(BadInstructionErrorNotification notification) {
- LOG.error("Error notification ----"
- + toStr(notification.getType(), notification.getCode(), notification.getTransactionId().getValue()));
+ LOG.error("Error notification {}", toStr(notification.getType(), notification.getCode(),
+ notification.getTransactionId().getValue()));
}
@Override
public void onBadMatchErrorNotification(BadMatchErrorNotification notification) {
- LOG.error("Error notification ----"
- + toStr(notification.getType(), notification.getCode(), notification.getTransactionId().getValue()));
+ LOG.error("Error notification {}", toStr(notification.getType(), notification.getCode(),
+ notification.getTransactionId().getValue()));
}
@Override
public void onBadRequestErrorNotification(BadRequestErrorNotification notification) {
- LOG.error("Error notification ----"
- + toStr(notification.getType(), notification.getCode(), notification.getTransactionId().getValue()));
+ LOG.error("Error notification {}", toStr(notification.getType(), notification.getCode(),
+ notification.getTransactionId().getValue()));
}
@Override
public void onExperimenterErrorNotification(ExperimenterErrorNotification notification) {
- LOG.error("Error notification ----"
- + toStr(notification.getType(), notification.getCode(), notification.getTransactionId().getValue()));
+ LOG.error("Error notification {}", toStr(notification.getType(), notification.getCode(),
+ notification.getTransactionId().getValue()));
}
@Override
public void onFlowModErrorNotification(FlowModErrorNotification notification) {
- LOG.error("Error notification ----"
- + toStr(notification.getType(), notification.getCode(), notification.getTransactionId().getValue()));
+ LOG.error("Error notification {}", toStr(notification.getType(), notification.getCode(),
+ notification.getTransactionId().getValue()));
}
@Override
public void onGroupModErrorNotification(GroupModErrorNotification notification) {
- LOG.error("Error notification ----"
- + toStr(notification.getType(), notification.getCode(), notification.getTransactionId().getValue()));
+ LOG.error("Error notification {}", toStr(notification.getType(), notification.getCode(),
+ notification.getTransactionId().getValue()));
}
@Override
public void onHelloFailedErrorNotification(HelloFailedErrorNotification notification) {
- LOG.error("Error notification ----"
- + toStr(notification.getType(), notification.getCode(), notification.getTransactionId().getValue()));
+ LOG.error("Error notification {}", toStr(notification.getType(), notification.getCode(),
+ notification.getTransactionId().getValue()));
}
@Override
public void onMeterModErrorNotification(MeterModErrorNotification notification) {
- LOG.error("Error notification ----"
- + toStr(notification.getType(), notification.getCode(), notification.getTransactionId().getValue()));
+ LOG.error("Error notification {}", toStr(notification.getType(), notification.getCode(),
+ notification.getTransactionId().getValue()));
}
@Override
public void onPortModErrorNotification(PortModErrorNotification notification) {
- LOG.error("Error notification ----"
- + toStr(notification.getType(), notification.getCode(), notification.getTransactionId().getValue()));
+ LOG.error("Error notification {}", toStr(notification.getType(), notification.getCode(),
+ notification.getTransactionId().getValue()));
}
@Override
public void onQueueOpErrorNotification(QueueOpErrorNotification notification) {
- LOG.error("Error notification ----"
- + toStr(notification.getType(), notification.getCode(), notification.getTransactionId().getValue()));
+ LOG.error("Error notification {}", toStr(notification.getType(), notification.getCode(),
+ notification.getTransactionId().getValue()));
}
@Override
public void onRoleRequestErrorNotification(RoleRequestErrorNotification notification) {
- LOG.error("Error notification ----"
- + toStr(notification.getType(), notification.getCode(), notification.getTransactionId().getValue()));
+ LOG.error("Error notification {}", toStr(notification.getType(), notification.getCode(),
+ notification.getTransactionId().getValue()));
}
@Override
public void onSwitchConfigErrorNotification(SwitchConfigErrorNotification notification) {
- LOG.error("Error notification ----"
- + toStr(notification.getType(), notification.getCode(), notification.getTransactionId().getValue()));
+ LOG.error("Error notification {}", toStr(notification.getType(), notification.getCode(),
+ notification.getTransactionId().getValue()));
}
@Override
public void onTableFeaturesErrorNotification(TableFeaturesErrorNotification notification) {
- LOG.error("Error notification ----"
- + toStr(notification.getType(), notification.getCode(), notification.getTransactionId().getValue()));
+ LOG.error("Error notification {}", toStr(notification.getType(), notification.getCode(),
+ notification.getTransactionId().getValue()));
}
@Override
public void onTableModErrorNotification(TableModErrorNotification notification) {
- LOG.error("Error notification ----"
- + toStr(notification.getType(), notification.getCode(), notification.getTransactionId().getValue()));
+ LOG.error("Error notification {}", toStr(notification.getType(), notification.getCode(),
+ notification.getTransactionId().getValue()));
}
private String toStr(ErrorType type, int code, BigInteger xid) {