Package org.drasyl.node
Class DrasylException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.drasyl.node.DrasylException
- All Implemented Interfaces:
Serializable
All checked exceptions in drasyl inherit from this exception class.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDrasylException(String message) DrasylException(String message, Throwable cause) DrasylException(Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DrasylException
- Parameters:
cause- the cause (which is saved for later retrieval by theThrowable.getCause()method). (Anullvalue is permitted, and indicates that the cause is nonexistent or unknown.)
-
DrasylException
- Parameters:
message- the detail message. The detail message is saved for later retrieval by theThrowable.getMessage()method.
-
DrasylException
- Parameters:
message- the detail message (which is saved for later retrieval by theThrowable.getMessage()method).cause- the cause (which is saved for later retrieval by theThrowable.getCause()method). (Anullvalue is permitted, and indicates that the cause is nonexistent or unknown.)
-
-
Method Details