From 0baa8c0f765b4e907a1ec66b4e1b77b5c6ed0861 Mon Sep 17 00:00:00 2001 From: aaron Date: Tue, 7 Apr 2009 00:13:45 +0000 Subject: [PATCH] We need a base exception so we can differentiate between exceptions we've generated and those external to our code. All our exceptions should extend this exception. I'll migrate the ones I can find later on. git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@307 348d0f76-0448-11de-a6fe-93d51630548a --- .../broadinstitute/sting/StingException.java | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 java/src/org/broadinstitute/sting/StingException.java diff --git a/java/src/org/broadinstitute/sting/StingException.java b/java/src/org/broadinstitute/sting/StingException.java new file mode 100644 index 000000000..b79621a21 --- /dev/null +++ b/java/src/org/broadinstitute/sting/StingException.java @@ -0,0 +1,35 @@ +package org.broadinstitute.sting; + +/** + * + * User: aaron + * Date: Apr 6, 2009 + * Time: 8:11:12 PM + * + * The Broad Institute + * SOFTWARE COPYRIGHT NOTICE AGREEMENT + * This software and its documentation are copyright 2009 by the + * Broad Institute/Massachusetts Institute of Technology. All rights are reserved. + * + * This software is supplied without any warranty or guaranteed support whatsoever. Neither + * the Broad Institute nor MIT can be responsible for its use, misuse, or functionality. + * + */ + + +/** + * @author aaron + * @version 1.0 + * @date Apr 6, 2009 + *

+ * Class StingException + *

+ * This exception allows us to filter out exceptions that come from core GATK code, and those that + * are not homegrown.. + */ +public class StingException extends Exception { + public StingException(String msg) { + super(msg); + } +} +