Files
mirror-processhacker/1.x/trunk/ProcessHacker.Native/Mfs/Exceptions.cs
T
wj32 6e46a701a9 added exception messages
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2454 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-18 05:39:03 +00:00

52 lines
1.4 KiB
C#

using System;
using System.Collections.Generic;
using System.Text;
namespace ProcessHacker.Native.Mfs
{
public class MfsException : Exception
{
public MfsException()
: base()
{ }
public MfsException(string message)
: base(message)
{ }
public MfsException(string message, Exception innerException)
: base(message, innerException)
{ }
}
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)
{ }
}
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)
{ }
}
}