Files
CPXV2/SystemX.Net.CP.Platform/SystemX.Net.Platform/SystemX.Common/Util/CustomExceptions.cs
2024-06-26 10:30:00 +09:00

35 lines
1.1 KiB
C#

using System;
namespace SystemX.Net.Platform.Common.Util
{
/// <summary>
/// Subclass should have re-implemented the method by overriding, but it did not.
/// </summary>
public class NotReimplementedException : NotImplementedException
{
public NotReimplementedException() { }
public NotReimplementedException(string message) : base(message) { }
}
/// <summary>
/// Subclass will not re-implemented. So you should not call this subclass method.
/// </summary>
public class WillNotBeReimplementedException : NotImplementedException
{
public WillNotBeReimplementedException() { }
public WillNotBeReimplementedException(string message) : base(message) { }
}
public class UnexpectedCaseOccurredException : InvalidOperationException
{
public UnexpectedCaseOccurredException() { }
public UnexpectedCaseOccurredException(string message) : base(message) { }
}
public class SampleException : Exception
{
public SampleException() { }
public SampleException(string message) : base(message) { }
}
}