Modifier and Type | Method and Description |
---|---|
IllegalArgumentException |
invalidProperty(String property,
Object value)
Creates an exception that can be thrown if
FileSystemProvider.newFileSystem(URI, Map) or
FileSystemProvider.newFileSystem(Path, Map) is called with an invalid value for a property. |
IllegalArgumentException |
invalidPropertyCombination(Collection<String> properties)
Creates an exception that can be thrown if
FileSystemProvider.newFileSystem(URI, Map) or
FileSystemProvider.newFileSystem(Path, Map) is called with an invalid combination of properties. |
IllegalArgumentException |
missingProperty(String property)
Creates an exception that can be thrown if
FileSystemProvider.newFileSystem(URI, Map) or
FileSystemProvider.newFileSystem(Path, Map) is called with a required property missing. |
public IllegalArgumentException missingProperty(String property)
FileSystemProvider.newFileSystem(URI, Map)
or
FileSystemProvider.newFileSystem(Path, Map)
is called with a required property missing.property
- The name of the missing property.public IllegalArgumentException invalidProperty(String property, Object value)
FileSystemProvider.newFileSystem(URI, Map)
or
FileSystemProvider.newFileSystem(Path, Map)
is called with an invalid value for a property.property
- The name of the property.value
- The invalid value.public IllegalArgumentException invalidPropertyCombination(Collection<String> properties)
FileSystemProvider.newFileSystem(URI, Map)
or
FileSystemProvider.newFileSystem(Path, Map)
is called with an invalid combination of properties.properties
- The names of the properties.Copyright © 2016–2023. All rights reserved.