Package io.jmix.flowui.exception
Interface ExceptionDialogProvider
public interface ExceptionDialogProvider
An interface defines the contract for providing dialogs to handle and display exceptions in the user interface.
-
Method Summary
Modifier and TypeMethodDescriptiongetExceptionDialogOpener(Throwable throwable) Provides anExceptionDialogfor handling and displaying a specific exception in the user interface.booleanDetermines whether the current provider supports handling the specified exception.
-
Method Details
-
supports
Determines whether the current provider supports handling the specified exception.- Parameters:
throwable- the exception that needs to be checked for support- Returns:
trueif the provider supports handling the given exception,falseotherwise
-
getExceptionDialogOpener
Provides anExceptionDialogfor handling and displaying a specific exception in the user interface.- Parameters:
throwable- the exception to be handled and displayed- Returns:
- an
ExceptionDialoginstance for the given exception
-