Package org.fenrir.yggdrasil.ui.dialog

Examples of org.fenrir.yggdrasil.ui.dialog.ErrorFrameDialog$ToggleDetailAction


     * @param error
     */
    public static void displayStandaloneErrorMessage(final String message, final Throwable error)
    {       
        try{
          ErrorFrameDialog dialog = new ErrorFrameDialog(message, error);
          dialog.setCloseCallback(new ICallback<Void, Void>()
      {
        @Override
        public Void execute(Void cArg)
        {
          System.exit(-1);
          return null;
        }
      });
         
            dialog.open();
        }
        catch(Exception e){
            log.error("Error mostrant finestra d'error: {}", e.getMessage(), e);
        }               
    }
View Full Code Here

TOP

Related Classes of org.fenrir.yggdrasil.ui.dialog.ErrorFrameDialog$ToggleDetailAction

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.