*
* @param errorMessage error string for MessageBox
* @param ex exception of error
*/
public static void showError(String errorMessage, Exception ex) {
ErrorInfo errorInfo = new ErrorInfo(
I18n.COMPONENT.getString("MessageBox.Title.Error"),
"<html><body>" + errorMessage + "</body></html>",
null, null, ex, Level.SEVERE, null);
JXErrorPane.showDialog(new JFrame(), errorInfo);
}