Project

General

Profile

« Previous | Next » 

Revision 8c1b17fc

Added by Katja Luther about 8 years ago

fix #4657

View differences:

eu.etaxonomy.taxeditor.application/src/main/java/eu/etaxonomy/taxeditor/ApplicationWorkbenchAdvisor.java
12 12
import org.springframework.remoting.RemoteConnectFailureException;
13 13

  
14 14
import eu.etaxonomy.taxeditor.model.MessagingUtils;
15
import eu.etaxonomy.taxeditor.preference.PreferencesUtil;
15 16

  
16 17

  
17 18

  
......
112 113
	                return;
113 114
	            }
114 115
		    	previousT = t;
116

  
117

  
118

  
115 119
		    	// NOTE : Currently we only allow RuntimeExceptions since
116 120
		    	//        allowing all kinds of exceptions would also include
117 121
		    	//        those in generated status objects coming from from logging triggers
......
130 134
		    	            t,
131 135
		    	            true);
132 136

  
137
		    	} else if (t != null && ("Widget is disposed".equals(t.getMessage()))){
138
                    MessagingUtils.warn(this.getClass(), t.getMessage());
139
                    if (PreferencesUtil.isDebugMode()){
140
                        MessagingUtils.warningDialog("Widget is disposed", null, status);
141
                    }
142
                }{
143

  
133 144
		    	}
134 145
		    }
135 146
		}

Also available in: Unified diff