Files
mirror-processhacker/1.x/trunk/ProcessHacker.Native/Mfs/Exceptions.cs
T
dmex e0579b0393 PH1.x: Code Cleanup/Fixes, Initial KPH2 support
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@4785 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2011-10-30 10:35:02 +00:00

52 lines
1.4 KiB
C#

using System;
namespace ProcessHacker.Native.Mfs
{
[Serializable]
public class MfsException : Exception
{
public MfsException()
{ }
public MfsException(string message)
: base(message)
{ }
public MfsException(string message, Exception innerException)
: base(message, innerException)
{ }
}
[Serializable]
public class MfsInvalidFileSystemException : MfsException
{
public MfsInvalidFileSystemException()
: base("The specified file does not contain a valid file system structure.")
{ }
public MfsInvalidFileSystemException(string message)
: base(message)
{ }
public MfsInvalidFileSystemException(string message, Exception innerException)
: base(message, innerException)
{ }
}
[Serializable]
public class MfsInvalidOperationException : MfsException
{
public MfsInvalidOperationException()
: base("The operation is not valid for the mode specified when the file system was opened.")
{ }
public MfsInvalidOperationException(string message)
: base(message)
{ }
public MfsInvalidOperationException(string message, Exception innerException)
: base(message, innerException)
{ }
}
}