public static void showErrorDialog ( String message , String details ) { Window window = prepareWindow ( DialogWidth . wide ) ; window . setCaption ( "Error" ) ; window . setContent ( new CmsSetupErrorDialog ( message , details , null , window ) ) ; A_CmsUI . get ( ) . addWindow ( window ) ; }
Shows error dialog manually supplying details instead of getting them from an exception stack trace .