/** * <p>Constructs and shows the error frame for the given exception. The * exceptions message will be the errorMessage, and the stacktrace will form * the details for the error dialog.</p> * * <p>This method may be called from any thread. It will actually show the error * dialog on the AWT event dispatch thread. This method blocks. If called * on the EDT, the frame shown will be modal. Otherwise, this thread will * block until the error frame has been shown and hidden on the EDT.</p> * * @param e Exception that contains information about the error cause and stack trace */ public static void showFrame(Throwable e) { ErrorInfo ii = new ErrorInfo(null, null, null, null, e, null, null); showFrame(null, ii); }
/** * <p>Constructs and shows the error frame for the given exception. The * exceptions message will be the errorMessage, and the stacktrace will form * the details for the error dialog.</p> * * <p>This method may be called from any thread. It will actually show the error * dialog on the AWT event dispatch thread. This method blocks. If called * on the EDT, the frame shown will be modal. Otherwise, this thread will * block until the error frame has been shown and hidden on the EDT.</p> * * @param e Exception that contains information about the error cause and stack trace */ public static void showFrame(Throwable e) { ErrorInfo ii = new ErrorInfo(null, null, null, null, e, null, null); showFrame(null, ii); }
/** * <p>Constructs and shows the error frame for the given exception. The * exceptions message will be the errorMessage, and the stacktrace will form * the details for the error dialog.</p> * * <p>This method may be called from any thread. It will actually show the error * dialog on the AWT event dispatch thread. This method blocks. If called * on the EDT, the frame shown will be modal. Otherwise, this thread will * block until the error frame has been shown and hidden on the EDT.</p> * * @param e Exception that contains information about the error cause and stack trace */ public static void showFrame(Throwable e) { ErrorInfo ii = new ErrorInfo(null, null, null, null, e, null, null); showFrame(null, ii); }
/** * <p>Constructs and shows the error frame for the given exception. The * exceptions message will be the errorMessage, and the stacktrace will form * the details for the error dialog.</p> * * <p>This method may be called from any thread. It will actually show the error * dialog on the AWT event dispatch thread. This method blocks. If called * on the EDT, the frame shown will be modal. Otherwise, this thread will * block until the error frame has been shown and hidden on the EDT.</p> * * @param e Exception that contains information about the error cause and stack trace */ public static void showFrame(Throwable e) { ErrorInfo ii = new ErrorInfo(null, null, null, null, e, null, null); showFrame(null, ii); }
/** * <p>Constructs and shows the error frame for the given exception. The * exceptions message will be the errorMessage, and the stacktrace will form * the details for the error dialog.</p> * * <p>This method may be called from any thread. It will actually show the error * dialog on the AWT event dispatch thread. This method blocks. If called * on the EDT, the frame shown will be modal. Otherwise, this thread will * block until the error frame has been shown and hidden on the EDT.</p> * * @param e Exception that contains information about the error cause and stack trace */ public static void showFrame(Throwable e) { ErrorInfo ii = new ErrorInfo(null, null, null, null, e, null, null); showFrame(null, ii); }
/** * <p>Constructs and shows the error frame, using the given * <code>ErrorInfo</code> to initialize the view.</p> * * <p>This method may be called from any thread. It will actually show the error * dialog on the AWT event dispatch thread. This method blocks. If called * on the EDT, the frame shown will be modal. Otherwise, this thread will * block until the error frame has been shown and hidden on the EDT.</p> * * @param owner Owner of this error frame. Determines the Window in which the frame * is displayed; if the <code>owner</code> has * no <code>Window</code>, a default <code>Frame</code> is used * @param info <code>ErrorInfo</code> that incorporates all the information about the error */ public static void showFrame(Component owner, ErrorInfo info) { JXErrorPane pane = new JXErrorPane(); pane.setErrorInfo(info); showFrame(owner, pane); }
/** * <p>Constructs and shows the error frame, using the given * <code>ErrorInfo</code> to initialize the view.</p> * * <p>This method may be called from any thread. It will actually show the error * dialog on the AWT event dispatch thread. This method blocks. If called * on the EDT, the frame shown will be modal. Otherwise, this thread will * block until the error frame has been shown and hidden on the EDT.</p> * * @param owner Owner of this error frame. Determines the Window in which the frame * is displayed; if the <code>owner</code> has * no <code>Window</code>, a default <code>Frame</code> is used * @param info <code>ErrorInfo</code> that incorporates all the information about the error */ public static void showFrame(Component owner, ErrorInfo info) { JXErrorPane pane = new JXErrorPane(); pane.setErrorInfo(info); showFrame(owner, pane); }
/** * <p>Constructs and shows the error frame, using the given * <code>ErrorInfo</code> to initialize the view.</p> * * <p>This method may be called from any thread. It will actually show the error * dialog on the AWT event dispatch thread. This method blocks. If called * on the EDT, the frame shown will be modal. Otherwise, this thread will * block until the error frame has been shown and hidden on the EDT.</p> * * @param owner Owner of this error frame. Determines the Window in which the frame * is displayed; if the <code>owner</code> has * no <code>Window</code>, a default <code>Frame</code> is used * @param info <code>ErrorInfo</code> that incorporates all the information about the error */ public static void showFrame(Component owner, ErrorInfo info) { JXErrorPane pane = new JXErrorPane(); pane.setErrorInfo(info); showFrame(owner, pane); }
/** * <p>Constructs and shows the error frame, using the given * <code>ErrorInfo</code> to initialize the view.</p> * * <p>This method may be called from any thread. It will actually show the error * dialog on the AWT event dispatch thread. This method blocks. If called * on the EDT, the frame shown will be modal. Otherwise, this thread will * block until the error frame has been shown and hidden on the EDT.</p> * * @param owner Owner of this error frame. Determines the Window in which the frame * is displayed; if the <code>owner</code> has * no <code>Window</code>, a default <code>Frame</code> is used * @param info <code>ErrorInfo</code> that incorporates all the information about the error */ public static void showFrame(Component owner, ErrorInfo info) { JXErrorPane pane = new JXErrorPane(); pane.setErrorInfo(info); showFrame(owner, pane); }
/** * <p>Constructs and shows the error frame, using the given * <code>ErrorInfo</code> to initialize the view.</p> * * <p>This method may be called from any thread. It will actually show the error * dialog on the AWT event dispatch thread. This method blocks. If called * on the EDT, the frame shown will be modal. Otherwise, this thread will * block until the error frame has been shown and hidden on the EDT.</p> * * @param owner Owner of this error frame. Determines the Window in which the frame * is displayed; if the <code>owner</code> has * no <code>Window</code>, a default <code>Frame</code> is used * @param info <code>ErrorInfo</code> that incorporates all the information about the error */ public static void showFrame(Component owner, ErrorInfo info) { JXErrorPane pane = new JXErrorPane(); pane.setErrorInfo(info); showFrame(owner, pane); }