Class FileSystemException
Represents an error condition the underlying file system wants to communicate to the client.
Inheritance
FileSystemException
Implements
Inherited Members
Namespace: FubarDev.FtpServer.FileSystem.Error
Assembly: FubarDev.FtpServer.Abstractions.dll
Syntax
public abstract class FileSystemException : Exception, ISerializable
Constructors
| Improve this Doc View SourceFileSystemException()
Initializes a new instance of the FileSystemException class.
Declaration
protected FileSystemException()
FileSystemException(String)
Initializes a new instance of the FileSystemException class.
Declaration
protected FileSystemException(string message)
Parameters
| Type | Name | Description |
|---|---|---|
| String | message | The error message. |
FileSystemException(String, Exception)
Initializes a new instance of the FileSystemException class.
Declaration
protected FileSystemException(string message, Exception innerException)
Parameters
| Type | Name | Description |
|---|---|---|
| String | message | The error message. |
| Exception | innerException | The underlying exception. |
Properties
| Improve this Doc View SourceFtpErrorCode
Gets the FTP error code.
Declaration
public abstract int FtpErrorCode { get; }
Property Value
| Type | Description |
|---|---|
| Int32 |
FtpErrorName
Gets a human-readable generic error description.
Declaration
public abstract string FtpErrorName { get; }
Property Value
| Type | Description |
|---|---|
| String |