/** * Called when the tool is failed. * <p> * By default, shows a error dialog with the details of the failure. * </p> * <p> * <b>THIS METHOD WILL BE INVOKED ON THE EVENT-DISPATCH THREAD (EDT)!</b> * </p> * * @param aException * the exception with the failure, can be <code>null</code>. */ protected void onToolFailed( final Exception aException ) { ToolUtils.showErrorMessage( getOwner(), "Tool failed!\nDetails: " + aException.getMessage() ); }