context.arch.comm.protocol
Class InvalidProtocolException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycontext.arch.comm.protocol.InvalidProtocolException
All Implemented Interfaces:
java.io.Serializable

public class InvalidProtocolException
extends java.lang.Exception

This class implements the InvalidProtocolException. This exception is thrown if the protocol handler class selected can not be instantiated.

See Also:
CommunicationsObject.start(), ProtocolException, Serialized Form

Constructor Summary
InvalidProtocolException()
          Basic constructor for InvalidProtocolException with no message
InvalidProtocolException(java.lang.String message)
          Constructor for InvalidProtocolException with error message
 
Method Summary
 java.lang.String getMessage()
          Returns the error message
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

InvalidProtocolException

public InvalidProtocolException()
Basic constructor for InvalidProtocolException with no message


InvalidProtocolException

public InvalidProtocolException(java.lang.String message)
Constructor for InvalidProtocolException with error message

Parameters:
message - Error message
Method Detail

getMessage

public java.lang.String getMessage()
Returns the error message

Returns:
the error message