Class ErrorMessage

    • Constructor Detail

      • ErrorMessage

        public ErrorMessage​(String message)
        Creates an ErrorMessage for the given message.
      • ErrorMessage

        public ErrorMessage​(String message,
                            Throwable cause)
        Creates an ErrorMessage for the given message and cause.
    • Method Detail

      • getCause

        public Throwable getCause()
        Returns the Throwable that caused the error or null if no Throwable caused the error.
      • getMessage

        public String getMessage()
        Returns the error message.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object