public static class Preloader.ErrorNotification extends java.lang.Object implements Preloader.PreloaderNotification
| Constructor and Description |
|---|
ErrorNotification(java.lang.String location,
java.lang.String details,
java.lang.Throwable cause)
Constructs an error notification.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Throwable |
getCause()
Retrieves the Exception or Error associated with this error
notification, if any.
|
java.lang.String |
getDetails()
Retrieves the description of the error.
|
java.lang.String |
getLocation()
Retrieves the URL associated with this error, if any.
|
java.lang.String |
toString()
Returns a string representation of this
ErrorNotification object. |
public ErrorNotification(java.lang.String location,
java.lang.String details,
java.lang.Throwable cause)
location - the URL associated with an error (if any); may be nulldetails - a string describing the error; must be non-nullcause - the cause of the error; may be nullpublic java.lang.String getLocation()
public java.lang.String getDetails()
public java.lang.Throwable getCause()
public java.lang.String toString()
ErrorNotification object.toString in class java.lang.ObjectErrorNotification object.Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2008, 2023, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.