context.arch.comm.protocol
Class ProtocolException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--context.arch.comm.protocol.ProtocolException
- public class ProtocolException
- extends java.lang.Exception
This class implements the ProtocolException. This exception is
thrown if the protocol handler class generates an error while
adding or stripping away the protocol.
- See Also:
InvalidProtocolException
, Serialized Form
Constructor Summary |
ProtocolException()
Basic constructor for ProtocolException with no message |
ProtocolException(java.lang.String message)
Constructor for ProtocolException with error message |
Method Summary |
java.lang.String |
getMessage()
Returns the error message |
Methods inherited from class java.lang.Throwable |
fillInStackTrace,
getLocalizedMessage,
printStackTrace,
printStackTrace,
printStackTrace,
toString |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
ProtocolException
public ProtocolException()
- Basic constructor for ProtocolException with no message
ProtocolException
public ProtocolException(java.lang.String message)
- Constructor for ProtocolException with error message
- Parameters:
message
- Error message
getMessage
public java.lang.String getMessage()
- Returns the error message
- Overrides:
- getMessage in class java.lang.Throwable
- Returns:
- the error message