*** empty log message ***
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / compiler / flow / FlowContext.java
index e92b862..60196d0 100644 (file)
@@ -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