Class BasicExceptionDialog


  • public class BasicExceptionDialog
    extends java.lang.Object
    A dialog that displays some basic information about an exception
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static java.util.concurrent.atomic.AtomicInteger dialogInstances  
      private static Logger LOG  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean areShown()  
      static javax.swing.JButton getClearCacheButton​(java.awt.Component parent)  
      static javax.swing.JButton getShowButton​(java.awt.Component parent)  
      static void show​(java.lang.Exception exception)
      Must be invoked from the Swing EDT.
      private static int willBeHidden()  
      static int willBeShown()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • LOG

        private static final Logger LOG
      • dialogInstances

        private static final java.util.concurrent.atomic.AtomicInteger dialogInstances
    • Constructor Detail

      • BasicExceptionDialog

        public BasicExceptionDialog()
    • Method Detail

      • show

        public static void show​(java.lang.Exception exception)
        Must be invoked from the Swing EDT.
        Parameters:
        exception - the exception to indicate
      • getShowButton

        public static javax.swing.JButton getShowButton​(java.awt.Component parent)
      • getClearCacheButton

        public static javax.swing.JButton getClearCacheButton​(java.awt.Component parent)
      • willBeHidden

        private static int willBeHidden()
      • willBeShown

        public static int willBeShown()
      • areShown

        public static boolean areShown()