WebEngine error.
Holds an optional text message and an optional exception
associated with the error.
WebEngine.onError
| Modifier and Type | Field and Description |
|---|---|
| public static final EventType | |
| private final Throwable | |
| private final String | |
| public static final EventType | USER_DATA_DIRECTORY_ALREADY_IN_USE
This event occurs when a |
| public static final EventType | USER_DATA_DIRECTORY_IO_ERROR
This event occurs when a |
| public static final EventType | USER_DATA_DIRECTORY_SECURITY_ERROR
This event occurs when a |
| Access | Constructor and Description |
|---|---|
| public | WebErrorEvent(Object
the event source which sent the event source, EventType<WebErrorEvent> the event type type, String the text message associated with the event;
may be message, Throwable nullthe exception associated with the event;
may be exception)nullCreates a new |
| Modifier and Type | Method and Description |
|---|---|
| public Throwable | Returns: the exception associated with this event, ornull if there is no such exceptionReturns the exception associated with this event. |
| public String | Returns: the text message associated with this event, ornull if there is no such messageReturns the text message associated with this event. |
| public String | toString()
Overrides java. Returns a String representation of this EventObject. |
| ANY | back to summary |
|---|---|
| public static final EventType<WebErrorEvent> ANY Hides javafx. Common supertype for all | |
| exception | back to summary |
|---|---|
private final Throwable exception
| |
| message | back to summary |
|---|---|
private final String message
| |
| USER_DATA_DIRECTORY_ALREADY_IN_USE | back to summary |
|---|---|
| public static final EventType<WebErrorEvent> USER_DATA_DIRECTORY_ALREADY_IN_USE This event occurs when a In general, multiple When a | |
| USER_DATA_DIRECTORY_IO_ERROR | back to summary |
|---|---|
| public static final EventType<WebErrorEvent> USER_DATA_DIRECTORY_IO_ERROR This event occurs when a When a | |
| USER_DATA_DIRECTORY_SECURITY_ERROR | back to summary |
|---|---|
| public static final EventType<WebErrorEvent> USER_DATA_DIRECTORY_SECURITY_ERROR This event occurs when a When a | |
| WebErrorEvent | back to summary |
|---|---|
| public WebErrorEvent(Object source, EventType<WebErrorEvent> type, String message, Throwable exception) Creates a new
| |
| getException | back to summary |
|---|---|
| public Throwable getException() Returns the exception associated with this event.
| |
| getMessage | back to summary |
|---|---|
| public String getMessage() Returns the text message associated with this event.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a String representation of this EventObject. | |