Project

General

Profile

« Previous | Next » 

Revision 7a5d7871

Added by Katja Luther about 5 years ago

handle remote access exception correctly

View differences:

eu.etaxonomy.taxeditor.application/src/main/java/eu/etaxonomy/taxeditor/ApplicationWorkbenchAdvisor.java
120 120
	            }
121 121
		    	previousT = t;
122 122

  
123
                if (t != null && (t.getCause() instanceof RemoteAccessException || t instanceof NoHttpResponseException || t.getCause() instanceof CdmAuthenticationException || t.getMessage().contains("status code = 403"))){
123
                if (t != null && ( t instanceof NoHttpResponseException || t.getCause() instanceof CdmAuthenticationException || t.getMessage().contains("status code = 403"))){
124 124
                    MessagingUtils.informationDialog("Access denied", MessagingUtils.ACCESS_DENIED);
125 125

  
126 126
                }else

Also available in: Unified diff