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
This commit is contained in:
parent
ba9a0b5da8
commit
f7a877bfeb
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue