singrdk/base/Kernel/Singularity/Io/Error.cs

35 lines
821 B
C#
Raw Permalink Normal View History

2008-03-05 09:52:00 -05:00
///////////////////////////////////////////////////////////////////////////////
//
// Microsoft Research Singularity
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// File: Error.cs
//
// Note:
//
using System;
namespace Microsoft.Singularity.Io
{
internal class Error
{
internal static void ReadNotSupported() {
throw new
NotSupportedException("NotSupported_ReadOnPortOrMemory");
}
internal static void WriteNotSupported() {
throw
new NotSupportedException("NotSupported_WriteOnPortOrMemory");
}
internal static void AccessOutOfRange() {
throw
new NotSupportedException("NotSupported_AccessOutOfRange");
}
}
}