Class BitTorrentProtocolViolationException

  • All Implemented Interfaces:
    Serializable

    public class BitTorrentProtocolViolationException
    extends RuntimeException
    Exception to throw when the remote end violates the contract of the BitTorrent protocol.
    See Also:
    Serialized Form
    • Constructor Detail

      • BitTorrentProtocolViolationException

        public BitTorrentProtocolViolationException​(String message)
        Creates a new Protocol Violation exception.
        Parameters:
        message - The reason why the protocol was violated.
      • BitTorrentProtocolViolationException

        public BitTorrentProtocolViolationException​(String message,
                                                    Throwable cause)
        Creates a new Protocol Violation exception.
        Parameters:
        message - The reason why the protocol was violated.
        cause - The underlying cause of the violation.