Class ErrorHandler


  • public class ErrorHandler
    extends Object
    This class represents a handler for errors.
    • Constructor Detail

      • ErrorHandler

        public ErrorHandler()
    • Method Detail

      • handleError

        public static void handleError​(Throwable t)
        Opens an ErrorDialog that shows some information about the given Throwable.
        Parameters:
        t - the Throwable representing the error.
      • showInformationDialog

        public static void showInformationDialog​(String message)
        Opens an MessageDialog that displays the given message.
        Parameters:
        message - the message to display.