use of org.jdiameter.common.impl.app.cxdx.JUserAuthorizationRequestImpl in project jain-slee.diameter by RestComm.
the class CxDxClientSessionImpl method sendUserAuthorizationRequest.
/* (non-Javadoc)
* @see net.java.slee.resource.diameter.cxdx.CxDxClientSession#sendUserAuthorizationRequest(net.java.slee.resource.diameter.cxdx.events.UserAuthorizationRequest)
*/
public void sendUserAuthorizationRequest(UserAuthorizationRequest userAuthorizationRequest) throws IOException {
try {
DiameterMessageImpl msg = (DiameterMessageImpl) userAuthorizationRequest;
appSession.sendUserAuthorizationRequest(new JUserAuthorizationRequestImpl(msg.getGenericData()));
} catch (org.jdiameter.api.validation.AvpNotAllowedException anae) {
throw new AvpNotAllowedException(anae.getMessage(), anae.getAvpCode(), anae.getVendorId());
} catch (Exception e) {
throw new IOException(e.getMessage());
}
}
Aggregations