net.clackrouter.packets
Class VNSInvalidPacketException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by net.clackrouter.packets.VNSInvalidPacketException
All Implemented Interfaces:
java.io.Serializable

public class VNSInvalidPacketException
extends java.lang.Exception

Encapsulates an exception that is thrown when a packet supplied to a constuctor or method is not of corrent type.

See Also:
Serialized Form

Constructor Summary
VNSInvalidPacketException()
          Constucts an invalid packet exception.
VNSInvalidPacketException(java.lang.String message)
          Constucts an invalid packet 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

VNSInvalidPacketException

public VNSInvalidPacketException()
Constucts an invalid packet exception.


VNSInvalidPacketException

public VNSInvalidPacketException(java.lang.String message)
Constucts an invalid packet exception.

Parameters:
message - A message pertaining to the exception