From f7a877bfeb9fa005ecb13cdf98cc6e2d665b325c Mon Sep 17 00:00:00 2001 From: aaron Date: Wed, 29 Apr 2009 22:09:41 +0000 Subject: [PATCH] Changed Sting exception from a base exception to a runtime exception. This makes it so you can throw it without the consumer having to check it, and hopefully people will be more inclined to use it. Please use this instead of throwing a plain runtime exception. git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@567 348d0f76-0448-11de-a6fe-93d51630548a --- java/src/org/broadinstitute/sting/utils/StingException.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/src/org/broadinstitute/sting/utils/StingException.java b/java/src/org/broadinstitute/sting/utils/StingException.java index 0c0f95564..74ccd9ebc 100644 --- a/java/src/org/broadinstitute/sting/utils/StingException.java +++ b/java/src/org/broadinstitute/sting/utils/StingException.java @@ -27,7 +27,7 @@ package org.broadinstitute.sting.utils; * 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 class StingException extends RuntimeException { public StingException(String msg) { super(msg); }