org.merlotxml.merlot
Class MerlotError

java.lang.Object
  |
  +--org.merlotxml.merlot.MerlotError

public class MerlotError
extends java.lang.Object
implements MerlotConstants

Gui error reporter for the end-user


Inner Class Summary
 class MerlotError.msgRunnable
           
protected static class MerlotError.ShowErrorDetailsAction
          shows the stack trace of an error message
 class MerlotError.ShowMessageLaterRunnable
           
 
Field Summary
static MerlotError.ShowMessageLaterRunnable _later
           
static java.lang.Thread _laterThread
           
static boolean _showingLater
           
 
Fields inherited from interface org.merlotxml.merlot.MerlotConstants
ACTION_MENU_ACCELERATOR, ACTION_MENU_ICON, ACTION_NAME, ACTION_SHORT_DESCRIPTION, ACTION_SMALL_ICON, AFTER, BEFORE, ERR, INTO, UI, XML
 
Constructor Summary
MerlotError()
          init some neccessary error stuff
 
Method Summary
static void exception(java.lang.Throwable ex, java.lang.String usermsg)
           
static void msg(java.lang.String usermsg)
           
static void msg(java.lang.String usermsg, java.lang.String title)
           
 void quit()
           
static void showMessageLater(java.lang.String usermsg, java.lang.String title)
          Special version of msg that displays messages in a different thread from the calling thread (due to some nasty drag and drop event handling bugs that cause deadlocks if certain gui operations are done at dnd drop event time)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_later

public static MerlotError.ShowMessageLaterRunnable _later

_laterThread

public static java.lang.Thread _laterThread

_showingLater

public static boolean _showingLater
Constructor Detail

MerlotError

public MerlotError()
init some neccessary error stuff
Method Detail

quit

public void quit()

exception

public static void exception(java.lang.Throwable ex,
                             java.lang.String usermsg)

msg

public static void msg(java.lang.String usermsg)

msg

public static void msg(java.lang.String usermsg,
                       java.lang.String title)

showMessageLater

public static void showMessageLater(java.lang.String usermsg,
                                    java.lang.String title)
Special version of msg that displays messages in a different thread from the calling thread (due to some nasty drag and drop event handling bugs that cause deadlocks if certain gui operations are done at dnd drop event time)