2007-10-15 13:03:57 +02:00
|
|
|
#region --- License ---
|
|
|
|
/* Copyright (c) 2006, 2007 Stefanos Apostolopoulos
|
|
|
|
* See license.txt for license info
|
|
|
|
*/
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
using System;
|
|
|
|
|
|
|
|
namespace OpenTK
|
|
|
|
{
|
|
|
|
|
|
|
|
#region public class ContextExistsException : ApplicationException
|
|
|
|
|
|
|
|
/// <summary>
|
2008-01-31 15:39:54 +01:00
|
|
|
/// This exception is thrown when a GraphicsContext property cannot be changed after creation.
|
2007-10-15 13:03:57 +02:00
|
|
|
/// </summary>
|
|
|
|
public class ContextExistsException : ApplicationException
|
|
|
|
{
|
|
|
|
string msg;
|
|
|
|
|
|
|
|
public ContextExistsException(string message)
|
|
|
|
{
|
|
|
|
msg = message;
|
|
|
|
}
|
|
|
|
|
|
|
|
public override string Message
|
|
|
|
{
|
|
|
|
get
|
|
|
|
{
|
|
|
|
return msg;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
}
|