com.mindtree.techworks.insight.remoteprotocol
Class RemoteProtocolException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.mindtree.techworks.insight.remoteprotocol.RemoteProtocolException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
PacketDataSizeOverLimitsException

public class RemoteProtocolException
extends java.lang.Exception

All exceptions thrown by the RemoteProtocol classes will be wrapped in this exception.

Version:
$Revision: $ $Date: $
Author:
Bindul Bhowmik
See Also:
Exception, Serialized Form

Constructor Summary
RemoteProtocolException(java.lang.String message)
          Creates an instance of the exception
RemoteProtocolException(java.lang.String message, java.lang.Throwable cause)
          Creates an instance of the exception
 
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

RemoteProtocolException

public RemoteProtocolException(java.lang.String message,
                               java.lang.Throwable cause)
Creates an instance of the exception

Parameters:
message - Message describing the cause of the exception
cause - The root exception that caused this exception

RemoteProtocolException

public RemoteProtocolException(java.lang.String message)
Creates an instance of the exception

Parameters:
message - Message describing the cause of the exception


Copyright © 2003-2008 MindTree Consulting Ltd.. All Rights Reserved.