de.waldheinz.fs
Class ReadOnlyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
de.waldheinz.fs.ReadOnlyException
- All Implemented Interfaces:
- Serializable
public final class ReadOnlyException
- extends RuntimeException
This exception is thrown when an attempt is made to write to a read-only
BlockDevice
, FileSystem
or other file system object. This is
an unchecked exception, as it should always be possible to query the object
about it's read-only state using it's isReadOnly()
method.
- Author:
- Matthias Treydte <waldheinz at gmail.com>
- See Also:
FileSystem.isReadOnly()
,
BlockDevice.isReadOnly()
,
Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
ReadOnlyException
public ReadOnlyException()
- Creates a new instance of
ReadOnlyException
.
Copyright © 2014. All rights reserved.