| Modifier and Type | Field and Description |
|---|---|
| private static XErrorHandler | current_error_handler
Current error handler or null if no error handler is set. |
| private static long | display
The connection to X11 window server. |
| private static boolean | initPassed
The flag indicating that |
| private static final PlatformLogger | |
| private static boolean | noisyAwtHandler
Value of sun.awt.noisyerrorhandler system property. |
| pack-priv static volatile XErrorEvent | saved_error
XErrorEvent being handled. |
| private static long | saved_error_handler
Error handler at the moment of |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static int | |
| private static void | init(long
the connection to X11 server which should be stored display)Sets the toolkit global error handler, stores the connection to X11 server, which will be used during an error handling process. |
| public static void | |
| public static int | |
| public static void | WITH_XERROR_HANDLER(XErrorHandler
the synthetic error handler to set handler)Sets a synthetic error handler. |
| private static void |
| current_error_handler | back to summary |
|---|---|
| private static XErrorHandler current_error_handler Current error handler or null if no error handler is set. | |
| display | back to summary |
|---|---|
| private static long display The connection to X11 window server. | |
| initPassed | back to summary |
|---|---|
| private static boolean initPassed The flag indicating that | |
| log | back to summary |
|---|---|
| private static final PlatformLogger log | |
| noisyAwtHandler | back to summary |
|---|---|
| private static boolean noisyAwtHandler Value of sun.awt.noisyerrorhandler system property. | |
| saved_error | back to summary |
|---|---|
| pack-priv static volatile XErrorEvent saved_error XErrorEvent being handled. | |
| saved_error_handler | back to summary |
|---|---|
| private static long saved_error_handler Error handler at the moment of | |
| XErrorHandlerUtil | back to summary |
|---|---|
| private XErrorHandlerUtil() Guarantees that no instance of this class can be created. | |
| globalErrorHandler | back to summary |
|---|---|
| private static int globalErrorHandler(long display, long event_ptr) Called from the native code when an error occurs. | |
| init | back to summary |
|---|---|
| private static void init(long display) Sets the toolkit global error handler, stores the connection to X11 server,
which will be used during an error handling process. This method is called
once from
| |
| RESTORE_XERROR_HANDLER | back to summary |
|---|---|
| public static void RESTORE_XERROR_HANDLER() Unsets a current synthetic error handler. Must be called with the acquired AWT lock. | |
| SAVED_XERROR_HANDLER | back to summary |
|---|---|
| public static int SAVED_XERROR_HANDLER(long display, XErrorEvent error) Should be called under LOCK. | |
| WITH_XERROR_HANDLER | back to summary |
|---|---|
| public static void WITH_XERROR_HANDLER(XErrorHandler handler) Sets a synthetic error handler. Must be called with the acquired AWT lock.
| |
| XSync | back to summary |
|---|---|
| private static void XSync() | |