Package com.brightcove.player.video360
Class OpenGLException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.brightcove.player.video360.OpenGLException
- All Implemented Interfaces:
Serializable
Open GL Exception is an unchecked exception that will be thrown when the player encounters
Open GL errors that prevent 360 degree video playback.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionfinal int
The Open GL error code returned byEGL14.eglGetError()
method.final String
The description about the open GL error returned byGLUtils.getEGLErrorString(int)
method. -
Constructor Summary
ConstructorDescriptionOpenGLException
(String message) Constructs a new Open GL Exception with the given message.OpenGLException
(String message, int errorCode) Constructs a new Open GL Exception with the given message and error code. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
errorCode
public final int errorCodeThe Open GL error code returned byEGL14.eglGetError()
method. -
errorDescription
The description about the open GL error returned byGLUtils.getEGLErrorString(int)
method.
-
-
Constructor Details
-
OpenGLException
Constructs a new Open GL Exception with the given message.- Parameters:
message
- the error message.- See Also:
-
OpenGLException
Constructs a new Open GL Exception with the given message and error code.- Parameters:
message
- the error message.errorCode
- the Open GL error code returned byEGL14.eglGetError()
method.
-