68 lines
2.0 KiB
C#
68 lines
2.0 KiB
C#
/*
|
|
Property.NotInitializedException.cs
|
|
|
|
$Log: Property.NotInitializedException.cs,v $
|
|
Revision 1.1 2007/12/13 23:57:33 Paul Hrissikopoulos
|
|
Added ISO raw format.
|
|
|
|
Copyright © 2007
|
|
Diversified Technical Systems, Inc.
|
|
All Rights Reserved
|
|
*/
|
|
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace DTS.Common.Utilities.DotNetProgrammingConstructs
|
|
{
|
|
// See "Property.cs".
|
|
public partial class Property<Type>
|
|
{
|
|
/// <summary>
|
|
/// A class representation for property value not initialized exceptions.
|
|
/// </summary>
|
|
public class NotInitializedException
|
|
: System.Exception
|
|
{
|
|
/// <summary>
|
|
/// Initialize an instance of the Property.NotInitializedException class.
|
|
/// </summary>
|
|
public NotInitializedException()
|
|
{
|
|
}
|
|
|
|
/// <summary>
|
|
/// Initialize an instance of the Property.NotInitializedException class.
|
|
/// </summary>
|
|
///
|
|
/// <param name="msg">
|
|
/// The <see cref="string"/> message describing this exception instance.
|
|
/// </param>
|
|
///
|
|
public NotInitializedException(string msg)
|
|
: base(msg)
|
|
{
|
|
}
|
|
|
|
/// <summary>
|
|
/// Initialize an instance of the Property.NotInitializedException class.
|
|
/// </summary>
|
|
///
|
|
/// <param name="msg">
|
|
/// The <see cref="string"/> message describing this exception instance.
|
|
/// </param>
|
|
///
|
|
/// <param name="innerEx">
|
|
/// The inner <see cref="System.Exception"/> behind this enclosing
|
|
/// exception instance.
|
|
/// </param>
|
|
///
|
|
public NotInitializedException(string msg, System.Exception innerEx)
|
|
: base(msg, innerEx)
|
|
{
|
|
}
|
|
}
|
|
}
|
|
}
|