oracle.toplink.remote
Class CommunicationException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--oracle.toplink.exceptions.TopLinkException
                          |
                          +--oracle.toplink.remote.CommunicationException
All Implemented Interfaces:
java.io.Serializable

public class CommunicationException
extends TopLinkException

Purpose:This exception wraps all RMI or CORBA or IO exception that may occur.

See Also:
Serialized Form

Constructor Summary
CommunicationException(java.lang.String theMessage)
          PUBLIC: Creates a CommunicationException.
CommunicationException(java.lang.String message, java.lang.Exception internalException)
          PUBLIC: Creates a CommunicationException.
 
Methods inherited from class oracle.toplink.exceptions.TopLinkException
getErrorCode, getInternalException, getMessage, getSession, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CommunicationException

public CommunicationException(java.lang.String theMessage)
PUBLIC: Creates a CommunicationException.
Parameters:
theMessage - This is the exception message

CommunicationException

public CommunicationException(java.lang.String message,
                              java.lang.Exception internalException)
PUBLIC: Creates a CommunicationException.
Parameters:
theMessage - the detailed message
internalException - the handle of the exception