Class ErrorPanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class ErrorPanel extends JPanel
Panel that displays exception information. TODO: deal with only having a message or exception.
See Also:
  • Constructor Details

    • ErrorPanel

      public ErrorPanel()
    • ErrorPanel

      public ErrorPanel(String pMessage)
    • ErrorPanel

      public ErrorPanel(Throwable pException)
    • ErrorPanel

      public ErrorPanel(String pMsg, Exception pException)
  • Method Details

    • getException

      public Throwable getException()
    • getMessage

      public String getMessage()
    • setException

      public final void setException(Throwable pException)
      Update fields with info from exception.
    • setMessage

      public final void setMessage(String pMessage)
    • main

      public static void main(String[] pArgs)
      Test run.