X-Git-Url: http://secure.phpeclipse.com diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/flow/FlowContext.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/flow/FlowContext.java index e92b862..60196d0 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/flow/FlowContext.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/flow/FlowContext.java @@ -129,9 +129,9 @@ public class FlowContext implements TypeConstants { for (int i = 0; i < raisedCount; i++) { TypeBinding raisedException; if ((raisedException = raisedExceptions[i]) != null) { - if (scope + if (BlockScope .areTypesCompatible(raisedException, scope.getJavaLangRuntimeException()) - || scope.areTypesCompatible(raisedException, scope.getJavaLangError())) { + || BlockScope.areTypesCompatible(raisedException, scope.getJavaLangError())) { remainingCount--; raisedExceptions[i] = null; } @@ -225,9 +225,9 @@ public class FlowContext implements TypeConstants { } // method treatment for unchecked exceptions if (exceptionContext.isMethodContext) { - if (scope + if (BlockScope .areTypesCompatible(raisedException, scope.getJavaLangRuntimeException()) - || scope.areTypesCompatible(raisedException, scope.getJavaLangError())) + || BlockScope.areTypesCompatible(raisedException, scope.getJavaLangError())) return; // anonymous constructors are allowed to throw any exceptions (their thrown exceptions