From 6feda540a4be919bb629deeeada76e8a8d476519 Mon Sep 17 00:00:00 2001 From: Mauricio Carneiro Date: Tue, 4 Dec 2012 23:55:35 -0500 Subject: [PATCH] Better error message for SimpleGATKReports --- .../src/org/broadinstitute/sting/gatk/report/GATKReport.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/java/src/org/broadinstitute/sting/gatk/report/GATKReport.java b/public/java/src/org/broadinstitute/sting/gatk/report/GATKReport.java index 6685ee12a..7ae2bb453 100755 --- a/public/java/src/org/broadinstitute/sting/gatk/report/GATKReport.java +++ b/public/java/src/org/broadinstitute/sting/gatk/report/GATKReport.java @@ -343,7 +343,7 @@ public class GATKReport { GATKReportTable table = tables.firstEntry().getValue(); if ( table.getNumColumns() != values.length ) - throw new ReviewedStingException("The number of arguments in writeRow() must match the number of columns in the table"); + throw new ReviewedStingException("The number of arguments in writeRow() " + values.length + " must match the number of columns in the table" + table.getNumColumns()); final int rowIndex = table.getNumRows(); for ( int i = 0; i < values.length; i++ )