MissingGlContextException
Thrown when an operation requires GL context (unchecked).
Inherited Methods
From class
java.lang.Throwable
From class
java.lang.Object
Object
|
clone()
|
boolean
|
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
Public Constructors
public
MissingGlContextException
()
MissingGlContextException
public MissingGlContextException()
public
MissingGlContextException
(String message)
MissingGlContextException
public MissingGlContextException(
String message
)
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[null,null,["Last updated 2024-10-31 UTC."],[[["`MissingGlContextException` signals that an operation requiring a GL context was attempted without one."],["This exception is unchecked, meaning it doesn't need to be explicitly caught in a `try-catch` block."],["It provides two constructors: one default and one accepting a custom error message."],["`MissingGlContextException` inherits methods from `Throwable` for stack trace and error handling."]]],["`MissingGlContextException` is thrown when a GL context is required but missing. It has two public constructors: one default and another that accepts a `String` message. It inherits methods from `java.lang.Throwable`, like `getMessage`, `getStackTrace`, and `printStackTrace`, for handling exceptions. It also inherits methods from `java.lang.Object`, such as `equals`, `hashCode`, `toString`, for general object operations. The constructors initialize the exception, either without a message or with a custom `String` message.\n"]]