Interface ErrorItem

    • Method Detail

      • getCode

        String getCode()
        Return the error code.

        Application may use this error code as same as a resource bundle key for simplicity.

        Returns:
        the error code
      • getMessage

        String getMessage()
        Return the (human readable) error message.
        Returns:
        the (human readable) error message
      • equals

        boolean equals​(Object o)
        Compares the specified object with this ErrorItem for equality.
        Overrides:
        equals in class Object
        Parameters:
        o - the object to be compared for equality with this ErrorItem
        Returns:
        true if the specified object is equal to this ErrorItem
      • hashCode

        int hashCode()
        Returns the hash code value for this ErrorItem.
        Overrides:
        hashCode in class Object
        Returns:
        the hash code value for this ErrorItem