CharUtils.verify(builder.scheme, Constants.SCHEME);
CharUtils.verify(builder.path, Constants.IPATH);
CharUtils.verify(builder.query, Constants.IQUERY);
CharUtils.verify(builder.fragment, Constants.IFRAGMENT);
} catch (InvalidCharacterException e) {
throw new IRISyntaxException(e);
}
} else {
throw new IRISyntaxException("Invalid Syntax");
}
}