org.xlightweb
Class ProtocolException

Package class diagram package ProtocolException
java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by org.xlightweb.ProtocolException
All Implemented Interfaces:
Serializable

public class ProtocolException
extends IOException

Checked exception thrown when a protocol error has been occured

See Also:
Serialized Form

Constructor Summary
ProtocolException(String reason, IHeader receivedHeader)
          constructor
 
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

ProtocolException

public ProtocolException(String reason,
                         IHeader receivedHeader)
constructor

Parameters:
reason - the reason