code: private void showDialog(String msg, String stack) {
  		ExceptionDialog warning = new ExceptionDialog(msg, stack);
  		warning.show();
  	}
docs: Makes a dialog box to show exception message and stack trace.
  
  @param msg
  error message
  @param stack
  stack trace