use of org.jdiameter.common.impl.app.auth.AbortSessionAnswerImpl in project jain-slee.diameter by RestComm.
the class AuthClientSessionActivityImpl method sendAbortSessionAnswer.
public void sendAbortSessionAnswer(AbortSessionAnswer answer) throws IOException {
try {
// super.sendMessage(answer);
DiameterMessageImpl asa = (DiameterMessageImpl) answer;
this.clientSession.sendAbortSessionAnswer(new AbortSessionAnswerImpl((Answer) asa.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