de.waldheinz.fs
Class ReadOnlyException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by 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

Constructor Summary
ReadOnlyException()
          Creates a new instance of ReadOnlyException.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReadOnlyException

public ReadOnlyException()
Creates a new instance of ReadOnlyException.



Copyright © 2014. All rights reserved.