* @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);
}
}