Package org.apache.commons.vfs2
Class FileTypeHasNoContentException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- org.apache.commons.vfs2.FileSystemException
-
- org.apache.commons.vfs2.FileTypeHasNoContentException
-
- All Implemented Interfaces:
java.io.Serializable
public class FileTypeHasNoContentException extends FileSystemException
A file-not-folder exception which happens when trying to issueFileObject.getChildren()
on a file.- Since:
- 2.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FileTypeHasNoContentException(java.lang.Object info)
Constructs exception with the specified detail message.FileTypeHasNoContentException(java.lang.Object info, java.lang.Throwable cause)
Constructs exception with the specified detail message and cause.
-
Method Summary
-
Methods inherited from class org.apache.commons.vfs2.FileSystemException
getCode, getInfo, getMessage, requireNonNull, requireNonNull
-
-
-
-
Constructor Detail
-
FileTypeHasNoContentException
public FileTypeHasNoContentException(java.lang.Object info)
Constructs exception with the specified detail message.- Parameters:
info
- one context information.
-
FileTypeHasNoContentException
public FileTypeHasNoContentException(java.lang.Object info, java.lang.Throwable cause)
Constructs exception with the specified detail message and cause.- Parameters:
info
- one context information.cause
- the cause.
-
-