Top Description Fields Constructors
org.lwjgl.opengles

public Class PowerManagementEventException

extends RuntimeException
Class Inheritance

A PowerManagementEventException exception will be thrown when a call to eglSwapBuffers, eglCopyBuffers or eglMakeCurrent returns EGL_FALSE and the EGL_ERROR generated is EGL_CONTEXT_LOST.

On detection of this error, the application must destroy all contexts. To continue rendering the application must recreate any contexts it requires, and subsequently restore any client API state and objects it wishes to use.

Note that not all implementations can be made to generate power management events, and developers should continue to refer to platform-specific documentation in this area.

Field Summary

Modifier and TypeField and Description
pack-priv static final long

Constructor Summary

AccessConstructor and Description
public
public
public
PowerManagementEventException(final String message, final Throwable cause)

public

Field Detail

serialVersionUIDback to summary
pack-priv static final long serialVersionUID

Hides java.lang.RuntimeException.serialVersionUID.

Constructor Detail

PowerManagementEventExceptionback to summary
public PowerManagementEventException()
PowerManagementEventExceptionback to summary
public PowerManagementEventException(final String message)
PowerManagementEventExceptionback to summary
public PowerManagementEventException(final String message, final Throwable cause)
PowerManagementEventExceptionback to summary
public PowerManagementEventException(final Throwable cause)