com.voytechs.jnetstream.io
Class ProtocolStreamException
java.lang.Object
java.lang.Throwable
java.lang.Exception
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
|
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 |
ProtocolStreamException
public ProtocolStreamException(java.lang.String msg)
ProtocolStreamException
public ProtocolStreamException(java.lang.String msg,
java.lang.Throwable cause)
ProtocolStreamException
public ProtocolStreamException()
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