*/
public static void checkNoFragment(URI address)
throws IllegalAddressException {
String fragment = address.getFragment();
if (fragment != null && fragment.length() > 0) {
throw new IllegalAddressException(
address, IllegalAddressException.Reason.FRAGMENT_UNSUPPORTED, null);
}
}