Can we get any error information from an image load failure? I have the following:
Image image = new Image(imagePath);
image.addErrorHandler(new ErrorHandler() {
Override
public void onError(ErrorEvent event) {
// what can we print here from 'event'?
}
});
I have an image that fails to load once in awhile, and I just tried letting the event.toString() method print itself, but I just get something like:
println("Error!: " + event);
// "Error: An event type"
so I'm not sure why the image fails to load,
Thank you