GlUtil.GlException


public final class GlUtil.GlException extends Exception


Thrown when an OpenGL error occurs.

Summary

Public fields

final ImmutableList<Integer>

The OpenGL error codes if present, empty if the error is not from the OpenGL engine.

Public constructors

Creates an instance with the specified error message.

GlException(String message, List<Integer> errorCodes)

Creates an instance with the specified error message and error codes.

Inherited methods

From java.lang.Throwable
synchronized final void
synchronized Throwable
synchronized Throwable
String
String
StackTraceElement[]
synchronized final Throwable[]
synchronized Throwable
void
void
setStackTrace(StackTraceElement[] stackTrace)
String

Public fields

errorCodes

public final ImmutableList<IntegererrorCodes

The OpenGL error codes if present, empty if the error is not from the OpenGL engine.

Public constructors

GlException

public GlException(String message)

Creates an instance with the specified error message.

GlException

public GlException(String message, List<Integer> errorCodes)

Creates an instance with the specified error message and error codes.