Modifier and Type | Method and Description |
---|---|
InvalidPathException |
nulCharacterNotAllowed(String path)
Creates an exception that can be thrown if a path contains a nul (
\0 ) character. |
IllegalArgumentException |
relativizeAbsoluteRelativeMismatch()
Creates an exception that can be thrown if
Path.relativize(Path) is called and one of the paths is absolute and the other is not. |
public InvalidPathException nulCharacterNotAllowed(String path)
\0
) character.path
- The path that contains a nul character.public IllegalArgumentException relativizeAbsoluteRelativeMismatch()
Path.relativize(Path)
is called and one of the paths is absolute and the other is not.Copyright © 2016–2023. All rights reserved.