123456789101112131415161718192021222324 |
- using System.IO;
- namespace DiskAccessLibrary
- {
- public class CyclicRedundancyCheckException : IOException
- {
- public CyclicRedundancyCheckException() : this("Data Error (Cyclic Redundancy Check)")
- {
- }
- public CyclicRedundancyCheckException(string message) : base(message)
- {
- #if Win32
- HResult = (int)Win32Error.ERROR_CRC;
- #endif
- }
- }
- }
|