Class FileSystemException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.apache.commons.vfs.FileSystemException
- All Implemented Interfaces:
Serializable
Thrown for file system errors.
- Version:
- $Revision: 480428 $ $Date: 2006-11-29 07:15:24 +0100 (Wed, 29 Nov 2006) $
- Author:
- Adam Murdoch
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionFileSystemException(String code) Constructs exception with the specified detail message.FileSystemException(String code, Object info0) Constructs exception with the specified detail message.FileSystemException(String code, Object[] info) Constructs exception with the specified detail message.FileSystemException(String code, Object[] info, Throwable throwable) Constructs exception with the specified detail message.FileSystemException(String code, Object info0, Throwable throwable) Constructs exception with the specified detail message.FileSystemException(String code, Throwable throwable) Constructs exception with the specified detail message.FileSystemException(Throwable throwable) Constructs wrapper exception. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
FileSystemException
Constructs exception with the specified detail message.- Parameters:
code- the error code of the message.
-
FileSystemException
-
FileSystemException
-
FileSystemException
-
FileSystemException
-
FileSystemException
-
FileSystemException
Constructs wrapper exception.- Parameters:
throwable- the root cause to wrap.
-
-
Method Details
-
getMessage
-
getCause
-
getCode
Retrieve error code of the exception. Could be used as key for internationalization.- Returns:
- the code.
-
getInfo
Retrieve array of complementary info (context). Could be used as parameter for internationalization.- Returns:
- the context info.
-