diff --git a/pmd-eclipse/src/net/sourceforge/pmd/eclipse/PMDEclipseException.java b/pmd-eclipse/src/net/sourceforge/pmd/eclipse/PMDEclipseException.java new file mode 100644 index 0000000000..e30e81614c --- /dev/null +++ b/pmd-eclipse/src/net/sourceforge/pmd/eclipse/PMDEclipseException.java @@ -0,0 +1,70 @@ +/* + * + * Copyright 1997-2003 PMD for Eclipse Development team + * under sponsorship of the Defense Advanced Research Projects + * Agency (DARPA). + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the Cougaar Open Source License as published by + * DARPA on the Cougaar Open Source Website (www.cougaar.org). + * + * THE COUGAAR SOFTWARE AND ANY DERIVATIVE SUPPLIED BY LICENSOR IS + * PROVIDED "AS IS" WITHOUT WARRANTIES OF ANY KIND, WHETHER EXPRESS OR + * IMPLIED, INCLUDING (BUT NOT LIMITED TO) ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, AND WITHOUT + * ANY WARRANTIES AS TO NON-INFRINGEMENT. IN NO EVENT SHALL COPYRIGHT + * HOLDER BE LIABLE FOR ANY DIRECT, SPECIAL, INDIRECT OR CONSEQUENTIAL + * DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE OF DATA OR PROFITS, + * TORTIOUS CONDUCT, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + * PERFORMANCE OF THE COUGAAR SOFTWARE. + * + * + */ +package net.sourceforge.pmd.eclipse; + +/** + * An exception to encapsulate exceptions thrown by various plug-in components + * + * @author Philippe Herlin + * @version $Revision$ + * + * $Log$ + * Revision 1.1 2003/10/14 21:56:47 phherlin + * Creation + * + */ +public class PMDEclipseException extends Exception { + + /** + * Default Constructor + */ + public PMDEclipseException() { + super(); + } + + /** + * Constructor with a message + * @param message exception message + */ + public PMDEclipseException(String message) { + super(message); + } + + /** + * Constructor with a message and a root exception + * @param message exception message + * @param cause root exception + */ + public PMDEclipseException(String message, Throwable cause) { + super(message, cause); + } + + /** + * Constructor with a root exception + * @param cause a root exception + */ + public PMDEclipseException(Throwable cause) { + super(cause); + } + +}