com.codestreet.messageforge
Class ProtocolException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.codestreet.messageforge.RBaseException
              extended bycom.codestreet.messageforge.RSystemException
                  extended bycom.codestreet.messageforge.ProtocolException
All Implemented Interfaces:
java.io.Serializable

public class ProtocolException
extends RSystemException

Exception thrown by when an exception from the underlying network/protocol is caught. For example, if the Tibrv if used as the transport then this class will wrap TibrvException. On the other hand, if a JMS implementation is used, then then this class will wrap JMSException. The intent is to insulate the application from the underlying transport protocol.

Author:
Jawaid Hakim.
See Also:
Serialized Form

Constructor Summary
ProtocolException(java.lang.String desc)
          Constructor.
ProtocolException(java.lang.Throwable original)
          Constructor.
 
Methods inherited from class com.codestreet.messageforge.RBaseException
generateStackTraceString, getMessage, getRootCause, getStackTraceString, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProtocolException

public ProtocolException(java.lang.String desc)
Constructor.

Parameters:
desc - Description of exception.

ProtocolException

public ProtocolException(java.lang.Throwable original)
Constructor.

Parameters:
original - Original throwable.


Copyright © 2003-2006 CodeStreet. All Rights Reserved.