0 Replies Latest reply on Oct 22, 2012 10:44 PM by 970023

    WebLogic JMS .NET client error handling?


      I'm wondering how to best go about error handling for an application using the Oracle JMS .NET API. A lot of the functions seem to have void return types, where I'd expect an int or bool indicating success or failure (such as connect/disconnect/sendmessage). Is the best way to go about determining failure just by looking for exceptions?

      Also, where is the TransportException class located within the namespaces? ContextFactory::CreateContext is throwing this whenever I try to connect to a bad address (for testing purposes) but I can't actually catch the exception because the TransportException type is nowhere to be found.

      Thanks very much in advance.

      Edited by: 967020 on Oct 22, 2012 3:44 PM