chemaxon.alchemist
Class AlchemistError

java.lang.Object
  extended by chemaxon.alchemist.AlchemistError

public class AlchemistError
extends java.lang.Object


Method Summary
static void showError(java.awt.Dialog parentDialog, java.lang.Exception exception)
          Shows an AlchemistError dialog from exception
static void showError(java.awt.Dialog parentDialog, java.lang.String humanReadableErrorMessage)
          Shows an AlchemistError dialog with custom message
static void showError(java.awt.Dialog parentDialog, java.lang.String humanReadableErrorMessage, java.lang.Exception exception)
          Shows an AlchemistError dialog from exception, with custom message
static void showError(java.lang.Exception exception)
          Shows an AlchemistError dialog from exception
static void showError(java.awt.Frame parentFrame, java.lang.Exception exception)
          Shows an AlchemistError dialog from exception
static void showError(java.awt.Frame parentFrame, java.lang.String humanReadableErrorMessage)
          Shows an AlchemistError dialog with custom message
static void showError(java.awt.Frame parentFrame, java.lang.String humanReadableErrorMessage, java.lang.Exception exception)
          Shows an AlchemistError dialog from exception, with custom message
static void showError(java.lang.String humanReadableErrorMessage)
          Shows an AlchemistError dialog with custom message
static void showError(java.lang.String humanReadableErrorMessage, java.lang.Exception exception)
          Shows an AlchemistError dialog from exception, with custom message
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

showError

public static void showError(java.lang.String humanReadableErrorMessage)
Shows an AlchemistError dialog with custom message

Parameters:
humanReadableErrorMessage - will be displayed as error message

showError

public static void showError(java.lang.Exception exception)
Shows an AlchemistError dialog from exception

Parameters:
exception - will be used as source for error message and stack

showError

public static void showError(java.lang.String humanReadableErrorMessage,
                             java.lang.Exception exception)
Shows an AlchemistError dialog from exception, with custom message

Parameters:
humanReadableErrorMessage - will be displayed as error message
exception - will be used as source for exception stack

showError

public static void showError(java.awt.Frame parentFrame,
                             java.lang.String humanReadableErrorMessage)
Shows an AlchemistError dialog with custom message

Parameters:
parentFrame - will be the parent of the dialog
humanReadableErrorMessage - will be displayed as error message

showError

public static void showError(java.awt.Frame parentFrame,
                             java.lang.Exception exception)
Shows an AlchemistError dialog from exception

Parameters:
parentFrame - will be the parent of the dialog
exception - will be used as source for error message and stack

showError

public static void showError(java.awt.Frame parentFrame,
                             java.lang.String humanReadableErrorMessage,
                             java.lang.Exception exception)
Shows an AlchemistError dialog from exception, with custom message

Parameters:
parentFrame - will be the parent of the dialog
humanReadableErrorMessage - will be displayed as error message
exception - will be used as source for exception stack

showError

public static void showError(java.awt.Dialog parentDialog,
                             java.lang.String humanReadableErrorMessage)
Shows an AlchemistError dialog with custom message

Parameters:
parentDialog - will be the parent of the dialog
humanReadableErrorMessage - will be displayed as error message

showError

public static void showError(java.awt.Dialog parentDialog,
                             java.lang.Exception exception)
Shows an AlchemistError dialog from exception

Parameters:
parentDialog - will be the parent of the dialog
exception - will be used as source for error message and stack

showError

public static void showError(java.awt.Dialog parentDialog,
                             java.lang.String humanReadableErrorMessage,
                             java.lang.Exception exception)
Shows an AlchemistError dialog from exception, with custom message

Parameters:
parentDialog - will be the parent of the dialog
humanReadableErrorMessage - will be displayed as error message
exception - will be used as source for exception stack