Show / Hide Table of Contents

Class GLFWException

Represents errors that occur within GLFW.

Inheritance
object
Exception
GLFWException
Implements
ISerializable
Inherited Members
Exception.GetBaseException()
Exception.GetObjectData(SerializationInfo, StreamingContext)
Exception.GetType()
Exception.ToString()
Exception.Data
Exception.HelpLink
Exception.HResult
Exception.InnerException
Exception.Message
Exception.Source
Exception.StackTrace
Exception.TargetSite
Exception.SerializeObjectState
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: OpenTK.Windowing.GraphicsLibraryFramework
Assembly: OpenTK.Windowing.GraphicsLibraryFramework.dll
Syntax
[Serializable]
public class GLFWException : Exception, ISerializable

Constructors

GLFWException()

Initializes a new instance of the GLFWException class.

Declaration
public GLFWException()

GLFWException(SerializationInfo, StreamingContext)

Initializes a new instance of the GLFWException class with the specified context and the serialization information.

Declaration
protected GLFWException(SerializationInfo info, StreamingContext context)
Parameters
Type Name Description
SerializationInfo info

The SerializationInfo associated with this exception.

StreamingContext context

A StreamingContext that represents the context of this exception.

GLFWException(string, ErrorCode)

Initializes a new instance of the GLFWException class with the specified detailed description and GLFW error code.

Declaration
public GLFWException(string message, ErrorCode errorCode)
Parameters
Type Name Description
string message

A detailed description of the error.

ErrorCode errorCode

The GLFW error code causing the exception.

GLFWException(string, Exception)

Initializes a new instance of the GLFWException class with the specified detailed description and the specified exception.

Declaration
public GLFWException(string message, Exception innerException)
Parameters
Type Name Description
string message

A detailed description of the error.

Exception innerException

A reference to the inner exception that is the cause of this exception.

GLFWException(string)

Initializes a new instance of the GLFWException class with the specified detailed description.

Declaration
public GLFWException(string message)
Parameters
Type Name Description
string message

A detailed description of the error.

Properties

ErrorCode

Gets the underlying GLFW-error code.

Declaration
public ErrorCode ErrorCode { get; }
Property Value
Type Description
ErrorCode

Implements

ISerializable
In This Article
Back to top Generated by DocFX