public final class ReadOnlyAttributeException extends IOException
IOException
defined when a file attribute is read only
Methods to set attributes in java.nio.file (such as Files.setAttribute(Path, String, Object, LinkOption...)
) only define IOException
as a possible exception; they do not seem to account for the
scenario when a file attribute is read only.
Use this exception in your custom attribute views if you want to be able to convey information about a read only attribute to user code.
Constructor and Description |
---|
ReadOnlyAttributeException() |
ReadOnlyAttributeException(String message) |
ReadOnlyAttributeException(String message,
Throwable cause) |
ReadOnlyAttributeException(Throwable cause) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString