Skip to main content
Version: 1.0.0-preview.44

Velaptor.OpenGL.Exceptions.BufferNotInitializedException

Velaptor​

Velaptor.OpenGL.Exceptions​

BufferNotInitializedException Class​

Thrown when a buffer has not been initialized.

public sealed class BufferNotInitializedException : System.Exception

Inheritance System.Object → System.Exception → BufferNotInitializedException

Constructors​

BufferNotInitializedException() Constructor​

Initializes a new instance of the BufferNotInitializedException class.

public BufferNotInitializedException();

BufferNotInitializedException(string, string) Constructor​

Initializes a new instance of the BufferNotInitializedException class.

public BufferNotInitializedException(string message, string bufferName="");

Parameters​

message System.String

The message that describes the error.

bufferName System.String

The name of the buffer.

BufferNotInitializedException(string, Exception) Constructor​

Initializes a new instance of the BufferNotInitializedException class.

public BufferNotInitializedException(string message, System.Exception innerException);

Parameters​

message System.String

The message that describes the error.

innerException System.Exception

The System.Exception instance that caused the current exception.