java.lang.Object
java.lang.Throwable
java.lang.Exception
net.i2p.sam.SAMInvalidDirectionException
All Implemented Interfaces:
Serializable

class SAMInvalidDirectionExceptionextends Exception
Exception thrown by SAM methods when an application tries to create outgoing connections through a receive-only SAM session.
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      Pinned for serialized-form compatibility.
      See Also:
  • Constructor Details

    • SAMInvalidDirectionException

      public SAMInvalidDirectionException()
      Signals that the session's direction forbids the requested operation.
    • SAMInvalidDirectionException

      public SAMInvalidDirectionException(String s)
      Signals a direction violation, naming the forbidden direction in the message.
      Parameters:
      s - the detail message naming the direction the session cannot be used in