org.jnetstream.protocol
Class ProtocolDeclarationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.jnetstream.protocol.ProtocolException
              extended by org.jnetstream.protocol.ProtocolDeclarationException
All Implemented Interfaces:
java.io.Serializable

public class ProtocolDeclarationException
extends ProtocolException

Protocol contains valid NPL syntax, but declaration is in corrent in the corresponding circumstance. For example Multiple protocol defintions contained within the same file, or some other kind of statement encountered instead of expected NPL header statement.

Author:
Mark Bednarczyk, Sly Technologies, Inc.
See Also:
Serialized Form

Constructor Summary
ProtocolDeclarationException()
           
ProtocolDeclarationException(java.lang.String message)
           
ProtocolDeclarationException(java.lang.String message, java.lang.Throwable cause)
           
ProtocolDeclarationException(java.lang.Throwable cause)
           
 
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

ProtocolDeclarationException

public ProtocolDeclarationException()

ProtocolDeclarationException

public ProtocolDeclarationException(java.lang.String message)
Parameters:
message -

ProtocolDeclarationException

public ProtocolDeclarationException(java.lang.String message,
                                    java.lang.Throwable cause)
Parameters:
message -
cause -

ProtocolDeclarationException

public ProtocolDeclarationException(java.lang.Throwable cause)
Parameters:
cause -