EGLException


public final class EGLException extends RuntimeException


Exception class for reporting errors with EGL

Summary

Public constructors

EGLException(int error, @NonNull String msg)

Public methods

final int

Error code reported via eglGetError

@NonNull String
final @NonNull String

Optional message describing the exception being thrown

Public constructors

EGLException

Added in 1.0.2
public EGLException(int error, @NonNull String msg)
Parameters
int error

Error code reported via eglGetError

@NonNull String msg

Optional message describing the exception being thrown

Public methods

getError

Added in 1.0.2
public final int getError()

Error code reported via eglGetError

getMessage

public @NonNull String getMessage()

getMsg

Added in 1.0.2
public final @NonNull String getMsg()

Optional message describing the exception being thrown