Java JOptionPane Error showErrorPane(String errorMessage, Exception e)

Here you can find the source of showErrorPane(String errorMessage, Exception e)

Description

show Error Pane

License

Open Source License

Declaration

public static void showErrorPane(String errorMessage, Exception e) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import javax.swing.JOptionPane;

public class Main {
    public static void showErrorPane(String errorMessage, Exception e) {
        JOptionPane.showMessageDialog(null, errorMessage + " " + e.toString(), "Error", JOptionPane.ERROR_MESSAGE);
    }//from w  w w  .  j a  v  a2s .  c o m
}

Related

  1. showErrorMessage(String message, Component component)
  2. showErrorMessage(String message, int errorCode)
  3. showErrorMessage(String msg)
  4. showErrorMessage(String title, String message, java.awt.Component parent)
  5. showErrorMsg(final Container parent, final String message)
  6. showErrorPanel(Component parent, String aS, Icon icon)
  7. showNoMacFoundError()
  8. showPrettyErrorPane(Component caller, String msg)
  9. showSettopLockError(String macAddress)