parseOrNull

Parses text like parse, or returns null where parse throws. For URIs a peer supplied, such as link targets in a link-format document (RFC 6690 §2) or a URI built from Location-Path and Location-Query (RFC 7252 §5.10.7), whose malformation is the peer's, not the application's.