org.mockftpserver.fake.filesystem
Class FileSystemException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.mockftpserver.core.MockFtpServerException
                  extended by org.mockftpserver.fake.filesystem.FileSystemException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
InvalidFilenameException

public class FileSystemException
extends MockFtpServerException

Represents an error that occurs while performing a FileSystem operation.

Version:
$Revision: 112 $ - $Date: 2008-09-07 18:52:37 -0400 (Sun, 07 Sep 2008) $
Author:
Chris Mair
See Also:
Serialized Form

Constructor Summary
FileSystemException(String path, String messageKey)
          Construct a new instance for the specified path and message key
FileSystemException(String path, String messageKey, Throwable cause)
           
 
Method Summary
 String getMessageKey()
           
 String getPath()
           
 void setMessageKey(String messageKey)
           
 void setPath(String path)
           
 
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

FileSystemException

public FileSystemException(String path,
                           String messageKey)
Construct a new instance for the specified path and message key

Parameters:
path - - the path involved in the file system operation that caused the exception
messageKey - - the exception message key

FileSystemException

public FileSystemException(String path,
                           String messageKey,
                           Throwable cause)
Parameters:
path - - the path involved in the file system operation that caused the exception
messageKey - - the exception message key
cause - - the exception cause, wrapped by this exception
Method Detail

getPath

public String getPath()

setPath

public void setPath(String path)

getMessageKey

public String getMessageKey()

setMessageKey

public void setMessageKey(String messageKey)


Copyright © 2014. All rights reserved.