_delegate = (AMQConnectionDelegate) c.getConstructor(partypes).newInstance(this);
_sessions.setMaxChannelID(_delegate.getMaxChannelID());
}
catch (ClassNotFoundException e)
{
throw new AMQProtocolException
(AMQConstant.UNSUPPORTED_CLIENT_PROTOCOL_ERROR,
String.format("Protocol: %s.%s is rquired by the broker but is not " +
"currently supported by this client library implementation",
pe.getMajorVersion(), pe.getMinorVersion()),
e);