java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.klomp.snark.Snark.RouterException
- All Implemented Interfaces:
Serializable
- Enclosing class:
Snark
A unique exception class to blame the router that can be caught by SnarkManager.
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final longSerial version of the saved state.Constructor Summary
ConstructorsConstructorDescriptionWith message only.RouterException(String s, Throwable t) With message and cause.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 serialVersionUIDSerial version of the saved state.- See Also:
Constructor Details
RouterException
With message only.- Parameters:
s- the reason the torrent was stopped, reported to the caller
RouterException