View | Details | Raw Unified | Return to bug 61996
Collapse All | Expand All

(-)core extension/org/eclipse/jdt/internal/corext/util/AllTypesCache.java (-2 / +2 lines)
Lines 166-172 Link Here
166
			
166
			
167
			final ArrayList typesFound= new ArrayList(fSizeHint);
167
			final ArrayList typesFound= new ArrayList(fSizeHint);
168
168
169
			class RequestorAbort extends Error { }
169
			class RequestorAbort extends RuntimeException { }
170
		
170
		
171
			ITypeNameRequestor requestor= new TypeInfoRequestor(typesFound) {
171
			ITypeNameRequestor requestor= new TypeInfoRequestor(typesFound) {
172
				protected boolean inScope(char[] packageName) {
172
				protected boolean inScope(char[] packageName) {
Lines 464-470 Link Here
464
	 * Checks if the search index is up to date.
464
	 * Checks if the search index is up to date.
465
	 */
465
	 */
466
	public static boolean isIndexUpToDate() {
466
	public static boolean isIndexUpToDate() {
467
		class TypeFoundException extends Error {
467
		class TypeFoundException extends RuntimeException {
468
		}
468
		}
469
		ITypeNameRequestor requestor= new ITypeNameRequestor() {
469
		ITypeNameRequestor requestor= new ITypeNameRequestor() {
470
			public void acceptClass(char[] packageName, char[] simpleTypeName, char[][] enclosingTypeNames, String path) {
470
			public void acceptClass(char[] packageName, char[] simpleTypeName, char[][] enclosingTypeNames, String path) {
(-)ui/org/eclipse/jdt/internal/ui/compare/JavaStructureCreator.java (-1 / +1 lines)
Lines 35-41 Link Here
35
	/**
35
	/**
36
	 * Used to bail out from ProblemFactory.
36
	 * Used to bail out from ProblemFactory.
37
	 */
37
	 */
38
	private static class ParseError extends Error {
38
	private static class ParseError extends RuntimeException {
39
	}
39
	}
40
	
40
	
41
	/**
41
	/**
(-)ui/org/eclipse/jdt/ui/actions/OrganizeImportsAction.java (-1 / +1 lines)
Lines 311-317 Link Here
311
		
311
		
312
	}
312
	}
313
	
313
	
314
	static final class OrganizeImportError extends Error {
314
	static final class OrganizeImportError extends RuntimeException {
315
	}
315
	}
316
	
316
	
317
	private void doRunOnMultiple(ICompilationUnit[] cus, MultiStatus status, IProgressMonitor monitor) throws OperationCanceledException {
317
	private void doRunOnMultiple(ICompilationUnit[] cus, MultiStatus status, IProgressMonitor monitor) throws OperationCanceledException {

Return to bug 61996