Interface ExceptionDialogProvider


public interface ExceptionDialogProvider
An interface defines the contract for providing dialogs to handle and display exceptions in the user interface.
  • Method Details

    • supports

      boolean supports(Throwable throwable)
      Determines whether the current provider supports handling the specified exception.
      Parameters:
      throwable - the exception that needs to be checked for support
      Returns:
      true if the provider supports handling the given exception, false otherwise
    • getExceptionDialogOpener

      ExceptionDialog getExceptionDialogOpener(Throwable throwable)
      Provides an ExceptionDialog for handling and displaying a specific exception in the user interface.
      Parameters:
      throwable - the exception to be handled and displayed
      Returns:
      an ExceptionDialog instance for the given exception