java.lang.Object
javafx.application.Preloader.ErrorNotification
- All Implemented Interfaces:
- Preloader.PreloaderNotification
- Enclosing class:
- Preloader
public static class Preloader.ErrorNotification extends Object implements Preloader.PreloaderNotification
Preloader notification that reports an error.
 This is delivered to preloader in case of problem with application startup.
- Since:
- JavaFX 2.0
- 
Constructor SummaryConstructors Constructor Description ErrorNotification(String location, String details, Throwable cause)Constructs an error notification.
- 
Method SummaryModifier and Type Method Description ThrowablegetCause()Retrieves the Exception or Error associated with this error notification, if any.StringgetDetails()Retrieves the description of the error.StringgetLocation()Retrieves the URL associated with this error, if any.StringtoString()Returns a string representation of thisErrorNotificationobject.
- 
Constructor Details- 
ErrorNotificationConstructs an error notification.- Parameters:
- location- the URL associated with an error (if any); may be null
- details- a string describing the error; must be non-null
- cause- the cause of the error; may be null
 
 
- 
- 
Method Details- 
getLocationRetrieves the URL associated with this error, if any. For example, if there is a download or singing check error, this will be the URL of the jar file that has the problem. It may be null.- Returns:
- the location, or null
 
- 
getDetailsRetrieves the description of the error. It may be the empty string, but is always non-null.- Returns:
- the description of the error
 
- 
getCauseRetrieves the Exception or Error associated with this error notification, if any. It may be null.- Returns:
- the cause of the error, or null
 
- 
toStringReturns a string representation of thisErrorNotificationobject.
 
-