Package org.drasyl
Class DrasylException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.drasyl.DrasylException
-
- All Implemented Interfaces:
Serializable
public class DrasylException extends Exception
All checked exceptions in drasyl inherit from this exception class.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DrasylException(String message)
DrasylException(String message, Throwable cause)
DrasylException(Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
int
hashCode()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
DrasylException
public DrasylException(Throwable cause)
- Parameters:
cause
- the cause (which is saved for later retrieval by theThrowable.getCause()
method). (Anull
value is permitted, and indicates that the cause is nonexistent or unknown.)
-
DrasylException
public DrasylException(String message)
- Parameters:
message
- the detail message. The detail message is saved for later retrieval by theThrowable.getMessage()
method.
-
DrasylException
public DrasylException(String message, Throwable cause)
- 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). (Anull
value is permitted, and indicates that the cause is nonexistent or unknown.)
-
-