ProtocolViolationException (Naga API)
Date: 2016-06-28

naga.exception

## Class ProtocolViolationException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.io.IOException
      - - naga.exception.ProtocolViolationException

- All Implemented Interfaces:
    java.io.Serializable

      public class ProtocolViolationException
      extends java.io.IOException

  Throw an exception due to unexpected data when reading packets.
  Author:
    Christoffer Lerno
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ProtocolViolationException(java.lang.String message)` Create a new exception.

  - ### Method Summary

    - ### Methods inherited from class java.lang.Throwable

      `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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

    - #### ProtocolViolationException

          public ProtocolViolationException(java.lang.String message)

      Create a new exception.
      Parameters:
        `message` - exception message.