001 package org.springframework.richclient.samples.showcase.exceptionhandling;
002
003 import org.springframework.richclient.exceptionhandling.JXErrorDialogExceptionHandler;
004
005 /**
006 * Simple exception to use with the {@link JXErrorDialogExceptionHandler}.
007 *
008 * @author Jan Hoskens
009 *
010 */
011 public class JXErrorDialogException extends RuntimeException {
012
013 public JXErrorDialogException() {
014 this("JXErrorDialogException message");
015 }
016
017 public JXErrorDialogException(String message) {
018 this(message, new UnsupportedOperationException("JXErrorDialogException cause message."));
019 }
020
021 public JXErrorDialogException(String message, Throwable cause) {
022 super(message, cause);
023 }
024 }