Java Client API Reference 6.0.2.61

com.ssaglobal.bde
Class BdeCommunicationException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.ssaglobal.bde.BdeException
                    |
                    +--com.ssaglobal.bde.BdeCommunicationException
All Implemented Interfaces:
java.io.Serializable

public class BdeCommunicationException
extends BdeException

A BdeCommunicationException is thrown during the processing of a request. All internal OpenWorld errors/exceptions are translated into a BdeCommunicationExption.

Users can catch the BdeCommunicationException explicitly or catch the generic BdeException. For e.g.:
try
{
    ...
    manager.List();
}
catch(BdeCommunicationException ex_bdeCommunicationException)
{
    String messageCode = ex_bdeCommunicationException.getMessage();
}
or
try
{
    ...
    manager.List();
}
catch(BdeException ex_bdeException)
{
    String messageText = ex_bdeException.getMessage();
}

See Also:
Serialized Form

Constructor Summary
BdeCommunicationException()
          Creates a new instance of BdeCommunicationException without a message.
BdeCommunicationException(java.lang.String msg)
          Constructs an instance of BdeCommunicationException with the specified message.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BdeCommunicationException

public BdeCommunicationException()
Creates a new instance of BdeCommunicationException without a message.

BdeCommunicationException

public BdeCommunicationException(java.lang.String msg)
Constructs an instance of BdeCommunicationException with the specified message.
Parameters:
msg - the message.

Java Client API Reference 6.0.2.61

Visit the SSA Global website for more information.