de.waldheinz.fs
Class UnknownFileSystemException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
de.waldheinz.fs.UnknownFileSystemException
- All Implemented Interfaces:
- Serializable
public final class UnknownFileSystemException
- extends IOException
Indicates that it was not possible to determine the type of the file
system being used on a block device.
- Author:
- Matthias Treydte <waldheinz at gmail.com>
- See Also:
- Serialized Form
Method Summary |
BlockDevice |
getDevice()
Returns the BlockDevice whose file system could not be
determined. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
UnknownFileSystemException
public UnknownFileSystemException(BlockDevice device)
- Creates a new instance of
UnknownFileSystemException
.
- Parameters:
device
- the BlockDevice
whose file system could not
be determined
getDevice
public BlockDevice getDevice()
- Returns the
BlockDevice
whose file system could not be
determined.
- Returns:
- the
BlockDevice
with an unknown file system
Copyright © 2010. All Rights Reserved.