//-----------------------------------------------------------------------
@DataProvider(name="error")
Object[][] data_error() {
return new Object[][] {
{new OffsetIdPrinterParser("Z", "+HH:MM:ss"), "hello", -1, IndexOutOfBoundsException.class},
{new OffsetIdPrinterParser("Z", "+HH:MM:ss"), "hello", 6, IndexOutOfBoundsException.class},
};
}