Class HALMConnection.AbstractResult

    • Field Detail

      • error

        public String error
        If an error occurs while parsing the authorization info, this will be set to a message indicating what the problem was.
    • Constructor Detail

      • AbstractResult

        public AbstractResult()
    • Method Detail

      • isError

        public final boolean isError()
        Checks if the result indicates an error occurred. Check getErrorMessage() for an error message.
        Returns:
        True if there was an error,
      • getErrorMessage

        public String getErrorMessage()
        Any relevant error message. If no error message exists, a default one is returned.
        Returns:
        Any relevant error message. If no error message exists, a default one is returned.
      • isErrorInternal

        protected boolean isErrorInternal()
        Implementer can extend isError safely by implementing isErrorInternal.
        Returns:
        True indicates the implementor thinks this result should be a failure.