Package org.aspectj.org.eclipse.jdt.internal.compiler.problem

Examples of org.aspectj.org.eclipse.jdt.internal.compiler.problem.ProblemReporter.unhandledException()


  // old code:
  // scope.problemReporter().unhandledException(raisedException, location);
  // new code:
  ProblemReporter problemReporter = scope.referenceCompilationUnit().problemReporter;
  problemReporter.referenceContext = scope.referenceContext();
  problemReporter.unhandledException(raisedException, location);
  // AspectJ Extension End
}

public void checkExceptionHandlers(TypeBinding[] raisedExceptions, ASTNode location, FlowInfo flowInfo, BlockScope scope) {
  // check that all the argument exception types are handled
View Full Code Here


      }
      // AspectJ Extension Begin
      // was scope.problemReporter().unhandledException(exception, location); see pr151772
      ProblemReporter problemReporter = scope.referenceCompilationUnit().problemReporter;
      problemReporter.referenceContext = scope.referenceContext();
      problemReporter.unhandledException(exception, location);
      // AspectJ Extension End
    }
  }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.