in src/main/csharp/ConnectionFactory.cs [72:92]
public ConnectionFactory(Uri brokerUri)
{
try
{
// BrokerUri will construct the xmsConnectionFactory
this.BrokerUri = brokerUri;
}
catch(Exception ex)
{
Apache.NMS.Tracer.DebugFormat(
"Exception instantiating IBM.XMS.ConnectionFactory: {0}",
ex.Message);
ExceptionUtil.WrapAndThrowNMSException(ex);
}
// In case WrapAndThrowNMSException masks the exception
if(this.xmsConnectionFactory == null)
{
throw new Apache.NMS.NMSException(
"Error instantiating XMS connection factory object.");
}
}