Unsupported platform should be a user error

This commit is contained in:
Eric Banks 2012-01-26 16:14:25 -05:00
parent cdff23269d
commit 07f72516ae
1 changed files with 1 additions and 1 deletions

View File

@ -159,7 +159,7 @@ public class CycleCovariate implements StandardCovariate {
}
}
else {
throw new IllegalStateException("This method hasn't been implemented yet for " + read.getReadGroup().getPlatform());
throw new UserException("The platform (" + read.getReadGroup().getPlatform() + ") associated with read group " + read.getReadGroup() + " is not a recognized platform. Implemented options are e.g. illumina, 454, and solid");
}
}