naga.exception
Class ProtocolViolationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by naga.exception.ProtocolViolationException
All Implemented Interfaces:
java.io.Serializable

public class ProtocolViolationException
extends java.io.IOException

Throw an exception due to unexpected data when reading packets.

Author:
Christoffer Lerno
See Also:
Serialized Form

Constructor Summary
ProtocolViolationException(java.lang.String message)
          Create a new 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

ProtocolViolationException

public ProtocolViolationException(java.lang.String message)
Create a new exception.

Parameters:
message - exception message.