23Throw URI exceptions?

Configuration on Java

  • Feature ResolverFeature.THROW_URI_EXCEPTIONS (type: Boolean)

  • System property xml.catalog.throwUriExceptions

  • Property file property throw-uri-exceptions

Configuration on .NET

  • This setting has no equivalent on .NET

If this setting is true, errors in URIs that raise illegal argument exceptions, malformed URI exceptions, or URI syntax exceptions will be thrown. If it’s false, null is returned and the exception is ignored.