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:
java.io.Serializable
public class OpenGLException extends java.lang.RuntimeException
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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description int
errorCode
The Open GL error code returned byEGL14.eglGetError()
method.java.lang.String
errorDescription
The description about the open GL error returned byGLUtils.getEGLErrorString(int)
method.
-
Constructor Summary
Constructors Constructor 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.
-
-
-
Constructor Detail
-
OpenGLException
public OpenGLException(java.lang.String message)
Constructs a new Open GL Exception with the given message.- Parameters:
message
- the error message.- See Also:
OpenGLException(String, int)
-
OpenGLException
public OpenGLException(java.lang.String message, int errorCode)
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.
-
-