public static class Preloader.ErrorNotification extends Object implements Preloader.PreloaderNotification
Constructor and Description |
---|
ErrorNotification(String location,
String details,
Throwable cause)
Constructs an error notification.
|
Modifier and Type | Method and Description |
---|---|
Throwable |
getCause()
Retrieves the Exception or Error associated with this error
notification, if any.
|
String |
getDetails()
Retrieves the description of the error.
|
String |
getLocation()
Retrieves the URL associated with this error, if any.
|
String |
toString()
Returns a string representation of this
ErrorNotification object. |
public ErrorNotification(String location, String details, 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 String getLocation()
public String getDetails()
public Throwable getCause()
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, 2017, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.