All Implemented Interfaces:
Serializable
Enclosing class:
PeerAcceptor

public static class PeerAcceptor.ProtocolExceptionextends IOException
A unique exception so we can tell the ConnectionAcceptor about non-BT connections.
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      Fixed id, the runnable's format is never cross-versioned.
      See Also:
  • Constructor Details

    • ProtocolException

      public ProtocolException(String s)
      Create an acceptor exception.
      Parameters:
      s - the detail message
    • ProtocolException

      public ProtocolException(String s, Throwable t)
      Create an acceptor exception that carries the protocol failure as its cause.
      Parameters:
      s - the detail message describing why the connection was rejected
      t - the cause of the protocol failure, when one is available