translator.getCharIndex(fcEnd, translator.getCharIndex(fcStart)),
buf
);
+
+ if ( fcStart > fcEnd )
+ throw new IllegalArgumentException( "fcStart (" + fcStart
+ + ") > fcEnd (" + fcEnd + ")" );
+
this.startBytes = fcStart;
this.endBytes = fcEnd;
}
_logger.log(POILogger.WARN, "A property claimed to start before zero, at " + _cpStart + "! Resetting it to zero, and hoping for the best");
_cpStart = 0;
}
+
+ if ( fcStart > fcEnd )
+ throw new IllegalArgumentException( "fcStart (" + fcStart
+ + ") > fcEnd (" + fcEnd + ")" );
}
/**