Class WarningImpl

    • Constructor Detail

      • WarningImpl

        public WarningImpl​(int code,
                           String state,
                           String message)
        An warning that occurred while executing a statement.
        Parameters:
        code - The warning code.
        state - The warning state.
        message - The warning message.
    • Method Detail

      • getCode

        public int getCode()
        Specified by:
        getCode in interface Warning
        Returns:
        The warning code.
      • getState

        public String getState()
        Specified by:
        getState in interface Warning
        Returns:
        The warning state.
      • getMessage

        public String getMessage()
        Specified by:
        getMessage in interface Warning
        Returns:
        The warning message.
      • isHandled

        public boolean isHandled()
        Description copied from interface: Warning
        Checks whether this warning has already been handled.
        Specified by:
        isHandled in interface Warning
        Returns:
        true true if this warning has already be handled or false if it should flow via the default warning handler.
      • setHandled

        public void setHandled​(boolean handled)
        Description copied from interface: Warning
        Sets whether this warning has already been handled.
        Specified by:
        setHandled in interface Warning
        Parameters:
        handled - true if this warning has already be handled or false if it should flow via the default warning handler.