public class OpenGLException
extends java.lang.RuntimeException
| Modifier and Type | Field and Description |
|---|---|
int |
errorCode
The Open GL error code returned by
EGL14.eglGetError() method. |
java.lang.String |
errorDescription
The description about the open GL error returned by
GLUtils.getEGLErrorString(int) method. |
| Constructor and Description |
|---|
OpenGLException(java.lang.String message)
Constructs a new Open GL Exception with the given message.
|
OpenGLException(java.lang.String message,
int errorCode)
Constructs a new Open GL Exception with the given message and error code.
|
public final int errorCode
EGL14.eglGetError() method.public final java.lang.String errorDescription
GLUtils.getEGLErrorString(int) method.public OpenGLException(java.lang.String message)
message - the error message.OpenGLException(String, int)public OpenGLException(java.lang.String message,
int errorCode)
message - the error message.errorCode - the Open GL error code returned by EGL14.eglGetError() method.