java.lang.Object
java.lang.Throwable
java.lang.Exception
net.i2p.sam.SAMException
- All Implemented Interfaces:
Serializable
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final longPinned for serialized-form compatibility.Constructor Summary
ConstructorsConstructorDescriptionCreates an exception with no detail message.Creates an exception carrying the message shown to the SAM client.SAMException(String s, Throwable cause) Wrap a protocol or bridge failure that aborts the SAM call.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
SAMException
public SAMException()Creates an exception with no detail message.SAMException
Creates an exception carrying the message shown to the SAM client.- Parameters:
s- the detail message naming the SAM call that failed, shown to the SAM client
SAMException