org.glassfish.cafe.api
Class CommunicationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.glassfish.cafe.api.CommunicationException
All Implemented Interfaces:
Serializable

public class CommunicationException
extends RuntimeException

Base exception class for handling failures in the communication.

Author:
binod
See Also:
Serialized Form

Constructor Summary
CommunicationException(String message)
          Creates a CommunicationException with the specified message.
CommunicationException(String message, Throwable throwable)
          Creates a CommunicationException wrapping another Throwable, but with a specific message.
CommunicationException(Throwable throwable)
          Creates a CommunicationException wrapping another Throwable.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CommunicationException

public CommunicationException(String message)
Creates a CommunicationException with the specified message.

Parameters:
message - Message text.

CommunicationException

public CommunicationException(Throwable throwable)
Creates a CommunicationException wrapping another Throwable.

Parameters:
throwable - A Throwable object.

CommunicationException

public CommunicationException(String message,
                              Throwable throwable)
Creates a CommunicationException wrapping another Throwable, but with a specific message.

Parameters:
throwable - A Throwable object.
message - Message text.


Copyright © 2010. All Rights Reserved.