com.voytechs.jnetstream.io
Class ProtocolStreamException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.voytechs.jnetstream.io.ProtocolStreamException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
EOPacket, EOPacketStream, StreamFormatException

public class ProtocolStreamException
extends java.lang.Exception

Base class for Protocol Stream exceptions.

See Also:
Serialized Form

Constructor Summary
ProtocolStreamException()
           
ProtocolStreamException(java.lang.String msg)
           
ProtocolStreamException(java.lang.String msg, java.lang.Throwable cause)
           
 
Method Summary
static void main(java.lang.String[] args)
          Test function for ProtocolStreamException
 java.lang.String toString()
          Prints a string representation of the exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProtocolStreamException

public ProtocolStreamException(java.lang.String msg)

ProtocolStreamException

public ProtocolStreamException(java.lang.String msg,
                               java.lang.Throwable cause)

ProtocolStreamException

public ProtocolStreamException()
Method Detail

toString

public java.lang.String toString()
Prints a string representation of the exception.

Overrides:
toString in class java.lang.Throwable

main

public static void main(java.lang.String[] args)
Test function for ProtocolStreamException

Parameters:
args - command line arguments