| Modifier and Type | Method and Description |
|---|---|
IllegalArgumentException |
hasAuthority(URI uri)
Creates an exception that can be thrown if a URI (e.g.
|
IllegalArgumentException |
hasFragment(URI uri)
Creates an exception that can be thrown if a URI (e.g.
|
IllegalArgumentException |
hasHost(URI uri)
Creates an exception that can be thrown if a URI (e.g.
|
IllegalArgumentException |
hasNoAuthority(URI uri)
Creates an exception that can be thrown if a URI (e.g.
|
IllegalArgumentException |
hasNoFragment(URI uri)
Creates an exception that can be thrown if a URI (e.g.
|
IllegalArgumentException |
hasNoHost(URI uri)
Creates an exception that can be thrown if a URI (e.g.
|
IllegalArgumentException |
hasNoPath(URI uri)
Creates an exception that can be thrown if a URI (e.g.
|
IllegalArgumentException |
hasNoPort(URI uri)
Creates an exception that can be thrown if a URI (e.g.
|
IllegalArgumentException |
hasNoQuery(URI uri)
Creates an exception that can be thrown if a URI (e.g.
|
IllegalArgumentException |
hasNoUserInfo(URI uri)
Creates an exception that can be thrown if a URI (e.g.
|
IllegalArgumentException |
hasPath(URI uri)
Creates an exception that can be thrown if a URI (e.g.
|
IllegalArgumentException |
hasPort(URI uri)
Creates an exception that can be thrown if a URI (e.g.
|
IllegalArgumentException |
hasQuery(URI uri)
Creates an exception that can be thrown if a URI (e.g.
|
IllegalArgumentException |
hasUserInfo(URI uri)
Creates an exception that can be thrown if a URI (e.g.
|
IllegalArgumentException |
invalidScheme(URI uri,
String expectedScheme)
Creates an exception that can be thrown if a URI (e.g.
|
IllegalArgumentException |
notAbsolute(URI uri)
Creates an exception that can be thrown if a URI (e.g.
|
IllegalArgumentException |
notHierarchical(URI uri)
Creates an exception that can be thrown if a URI (e.g.
|
public IllegalArgumentException invalidScheme(URI uri, String expectedScheme)
FileSystemProvider.getPath(URI)) has an invalid scheme.uri - The URI with the invalid scheme.expectedScheme - The expected scheme.URI.getScheme()public IllegalArgumentException notAbsolute(URI uri)
FileSystemProvider.getPath(URI)) is not absolute.uri - The non-absolute URI.URI.isAbsolute()public IllegalArgumentException notHierarchical(URI uri)
FileSystemProvider.getPath(URI)) is not hierarchical.
This is the same as being opaque.uri - The non-hierarchical URI.URI.isOpaque()public IllegalArgumentException hasAuthority(URI uri)
FileSystemProvider.getPath(URI)) has an authority component.uri - The URI with the authority component.URI.getAuthority(),
hasNoAuthority(URI)public IllegalArgumentException hasFragment(URI uri)
FileSystemProvider.getPath(URI)) has a fragment component.uri - The URI with the fragment component.URI.getFragment(),
hasNoFragment(URI)public IllegalArgumentException hasHost(URI uri)
FileSystemProvider.getPath(URI)) has a host component.uri - The URI with the host component.URI.getHost(),
hasNoHost(URI)public IllegalArgumentException hasPath(URI uri)
FileSystemProvider.getPath(URI)) has a path component.uri - The URI with the path component.URI.getPath(),
hasNoHost(URI)public IllegalArgumentException hasPort(URI uri)
FileSystemProvider.getPath(URI)) has a port number.uri - The URI with the port number.URI.getPort(),
hasNoPort(URI)public IllegalArgumentException hasQuery(URI uri)
FileSystemProvider.getPath(URI)) has a query component.uri - The URI with the query component.URI.getQuery(),
hasNoQuery(URI)public IllegalArgumentException hasUserInfo(URI uri)
FileSystemProvider.getPath(URI)) has a user-info component.uri - The URI with the user-info component.URI.getUserInfo(),
hasNoUserInfo(URI)public IllegalArgumentException hasNoAuthority(URI uri)
FileSystemProvider.getPath(URI)) does not have an authority
component.uri - The URI without the authority component.URI.getAuthority(),
hasAuthority(URI)public IllegalArgumentException hasNoFragment(URI uri)
FileSystemProvider.getPath(URI)) does not have a fragment
component.uri - The URI without the fragment component.URI.getFragment(),
hasFragment(URI)public IllegalArgumentException hasNoHost(URI uri)
FileSystemProvider.getPath(URI)) does not have a host component.uri - The URI without the host component.URI.getHost(),
hasHost(URI)public IllegalArgumentException hasNoPath(URI uri)
FileSystemProvider.getPath(URI)) does not have a path component.uri - The URI without the path component.URI.getPath(),
hasPath(URI)public IllegalArgumentException hasNoPort(URI uri)
FileSystemProvider.getPath(URI)) does not have a port number.uri - The URI without the port number.URI.getPort(),
hasPort(URI)public IllegalArgumentException hasNoQuery(URI uri)
FileSystemProvider.getPath(URI)) does not have a query component.uri - The URI without the query component.URI.getQuery(),
hasQuery(URI)public IllegalArgumentException hasNoUserInfo(URI uri)
FileSystemProvider.getPath(URI)) does not have a user-info
component.uri - The URI without the user-info component.URI.getUserInfo(),
hasUserInfo(URI)Copyright © 2016–2019. All rights reserved.