Bug 62878 [misc] Mark Occurrences of exceptions/types inconsistent
I200405190010 - disable Mark Exceptions - enable Mark Types - in TestCase: - position cursor on Throwable of runBare() declaration -> type Throwable is marked - posititon cursor on Throwable of runTest() delcaration -> type Throwable is not marked This is inconsistent.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/ExceptionOccurrencesFinder.java
groupKey.setException(true);
				}
				Match match= new Match(groupKey, startPosition, length);
				matches.add(match);
			} catch (BadLocationException e) {
				
			}
		}
		return (Match[]) matches.toArray(new Match[matches.size()]);
	}
	
	public String getJobLabel() {
		return SearchMessages.getString("ExceptionOccurrencesFinder.searchfor") ; 
	}
	
	public String getPluralLabelPattern(String documentName) {
		return getPluralLabelPattern(ASTNodes.asString(fSelectedName), documentName);
	}
	
	public String getSingularLabel(String documentName) {
		return getSingularLabel(ASTNodes.asString(fSelectedName), documentName);
	}
	
	private String getPluralLabelPattern(String nodeContents, String elementName) {
		String[] args= new String[] {nodeContents, "{0}", elementName}; 
		return SearchMessages.getFormattedString("ExceptionOccurrencesFinder.label.plural", args); 
	}
	
	private String getSingularLabel(String nodeContents, String elementName) {