Examples of ExceptionLabel


Examples of org.eclipse.jdt.internal.compiler.codegen.ExceptionLabel

      // there is no exception table, so we need to offset by 2 the current offset and move
      // on the attribute generation
      this.contents[localContentsOffset++] = (byte) (exceptionHandlersCount >> 8);
      this.contents[localContentsOffset++] = (byte) exceptionHandlersCount;
      for (int i = 0, max = this.codeStream.exceptionLabelsCounter; i < max; i++) {
        ExceptionLabel exceptionLabel = exceptionLabels[i];
        if (exceptionLabel != null) {
          int iRange = 0, maxRange = exceptionLabel.getCount();
          if ((maxRange & 1) != 0) {
            this.referenceBinding.scope.problemReporter().abortDueToInternalError(
                Messages.bind(Messages.abort_invalidExceptionAttribute, new String(binding.selector),
                    this.referenceBinding.scope.problemReporter().referenceContext));
          }
View Full Code Here

Examples of org.eclipse.jdt.internal.compiler.codegen.ExceptionLabel

  ExceptionLabel anyExceptionLabel;

  public ExceptionLabel enterAnyExceptionHandler(CodeStream codeStream) {

    if (this.anyExceptionLabel == null) {
      this.anyExceptionLabel = new ExceptionLabel(codeStream, null /*any exception*/);
    }
    this.anyExceptionLabel.placeStart();
    return this.anyExceptionLabel;
  }
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.