@Deprecated
  public static MaskTree decodeMaskUriFormat(StringBuilder toparse) throws IllegalMaskException
  {
    return decodeMaskUriFormat(toparse.toString());
  }
@Test(dataProvider = "invalidArrayRangeProvider")
  public void invalidArrayRange(String uriMask, String errorMessage)
  {
    try
    {
      URIMaskUtil.decodeMaskUriFormat(uriMask);
      fail("Excepted to throw an exception with a message: " + errorMessage);
    }
    catch (IllegalMaskException e)
    {
      assertTrue(e.getMessage().contains(errorMessage));
    }
  }