public ObjectProperty<Runnable> onErrorProperty ()

taken from field

Event handler called when an error occurs. This will happen if a malformed or invalid URL is passed to the constructor or there is a problem accessing the URL.