Package org.drasyl

Class 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 Detail

      • DrasylException

        public DrasylException​(Throwable cause)
        Parameters:
        cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null 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 the Throwable.getMessage() method.
      • DrasylException

        public DrasylException​(String message,
                               Throwable cause)
        Parameters:
        message - the detail message (which is saved for later retrieval by the Throwable.getMessage() method).
        cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)