use of org.jdiameter.common.impl.app.auth.ReAuthAnswerImpl in project jain-slee.diameter by RestComm.
the class AuthClientSessionActivityImpl method sendReAuthAnswer.
public void sendReAuthAnswer(ReAuthAnswer answer) throws IOException {
try {
// super.sendMessage(answer);
DiameterMessageImpl msg = (DiameterMessageImpl) answer;
this.clientSession.sendReAuthAnswer(new ReAuthAnswerImpl((Answer) msg.getGenericData()));
} catch (org.jdiameter.api.validation.AvpNotAllowedException e) {
throw new AvpNotAllowedException("Message validation failed.", e, e.getAvpCode(), e.getVendorId());
} catch (Exception e) {
throw new IOException("Failed to send message, due to: " + e.getMessage());
}
}
Aggregations