Subversion Repositories AndroidProjects

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1452 chris 1
using System;
2
using System.Collections.Generic;
3
using System.Text;
4
 
5
namespace OpenTK.Graphics
6
{
7
    /// <summary>
8
    /// Identifies a specific OpenGL or OpenGL|ES error. Such exceptions are only thrown
9
    /// when OpenGL or OpenGL|ES automatic error checking is enabled -
10
    /// <see cref="GraphicsContext.ErrorChecking"/> property.
11
    /// Important: Do *not* catch this exception. Rather, fix the underlying issue that caused the error.
12
    /// </summary>
13
    public class GraphicsErrorException : GraphicsException
14
    {
15
        /// <summary>
16
        /// Constructs a new GraphicsErrorException instance with the specified error message.
17
        /// </summary>
18
        /// <param name="message"></param>
19
        public GraphicsErrorException(string message) : base(message) { }
20
    }
21
}