org.mockftpserver.fake.filesystem
Class InvalidFilenameException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.mockftpserver.core.MockFtpServerException
org.mockftpserver.fake.filesystem.FileSystemException
org.mockftpserver.fake.filesystem.InvalidFilenameException
- All Implemented Interfaces:
- Serializable
public class InvalidFilenameException
- extends FileSystemException
Exception thrown when a path/filename is not valid. Causes include:
- The filename contains invalid characters
- The path specifies a new filename, but its parent directory does not exist
- The path is expected to be a file, but actually specifies an existing directory
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
InvalidFilenameException
public InvalidFilenameException(String path)
- Parameters:
path - - the path involved in the file system operation that caused the exception
InvalidFilenameException
public InvalidFilenameException(String path,
Throwable cause)
- Parameters:
path - - the path involved in the file system operation that caused the exceptioncause - - the exception cause, wrapped by this exception
Copyright © 2014. All rights reserved.