java - JavaFX2: How to retrieve Task in Service's onFailed event? -
i have javafx service , try handle task failure. reference task instance in handle method of onfailed handler. in debug can see workerstateevent source holds task reference, cannot find way other reflection avoid.
am missing in here?
i ended having subclass of service class property (this needed, logging purposes).
it job, i'm not marking proper solution because don't it. perhaps has better idea.
Comments
Post a Comment