java.lang.Object
java.lang.Throwable
java.lang.Exception
net.i2p.sam.SAMInvalidDirectionException
- All Implemented Interfaces:
Serializable
Exception thrown by SAM methods when an application tries to create outgoing connections through a receive-only SAM session.
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final longPinned for serialized-form compatibility.Constructor Summary
ConstructorsConstructorDescriptionSignals that the session's direction forbids the requested operation.Signals a direction violation, naming the forbidden direction in the message.Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Field Details
serialVersionUID
private static final long serialVersionUIDPinned for serialized-form compatibility.- See Also:
Constructor Details
SAMInvalidDirectionException
public SAMInvalidDirectionException()Signals that the session's direction forbids the requested operation.SAMInvalidDirectionException
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