Class ErrorDetails

    • Constructor Detail

      • ErrorDetails

        public ErrorDetails()
    • Method Detail

      • setCode

        public void setCode​(String code)

        The system ID or error number code of the error.

        Parameters:
        code - The system ID or error number code of the error.
      • getCode

        public String getCode()

        The system ID or error number code of the error.

        Returns:
        The system ID or error number code of the error.
      • withCode

        public ErrorDetails withCode​(String code)

        The system ID or error number code of the error.

        Parameters:
        code - The system ID or error number code of the error.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setMessage

        public void setMessage​(String message)

        The text of the error message.

        Parameters:
        message - The text of the error message.
      • getMessage

        public String getMessage()

        The text of the error message.

        Returns:
        The text of the error message.
      • withMessage

        public ErrorDetails withMessage​(String message)

        The text of the error message.

        Parameters:
        message - The text of the error message.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object