Interface SqlExceptionHelper.WarningHandler

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean doProcess()
      Should processing be done? Allows short-circuiting if not.
      void handleWarning​(java.sql.SQLWarning warning)
      Handle an individual warning in the stack.
      void prepare​(java.sql.SQLWarning warning)
      Prepare for processing of a warning stack.
    • Method Detail

      • doProcess

        boolean doProcess()
        Should processing be done? Allows short-circuiting if not.
        Returns:
        True to process warnings, false otherwise.
      • prepare

        void prepare​(java.sql.SQLWarning warning)
        Prepare for processing of a warning stack.

        Note that the warning here is also the first passed to handleWarning(java.sql.SQLWarning)

        Parameters:
        warning - The first warning in the stack.
      • handleWarning

        void handleWarning​(java.sql.SQLWarning warning)
        Handle an individual warning in the stack.
        Parameters:
        warning - The warning to handle.