Package org.apache.bcel.verifier.exc

Examples of org.apache.bcel.verifier.exc.LocalVariableInfoInconsistentException


   *         with already gathered information.
   */
  private void add(int offset, String name, Type t) throws LocalVariableInfoInconsistentException{
    if (getName(offset) != null){
      if (! getName(offset).equals(name)){
        throw new LocalVariableInfoInconsistentException("At bytecode offset '"+offset+"' a local variable has two different names: '"+getName(offset)+"' and '"+name+"'.");
      }
    }
    if (getType(offset) != null){
      if (! getType(offset).equals(t)){
        throw new LocalVariableInfoInconsistentException("At bytecode offset '"+offset+"' a local variable has two different types: '"+getType(offset)+"' and '"+t+"'.");
      }
    }
    setName(offset, name);
    setType(offset, t);
  }
View Full Code Here


   *         with already gathered information.
   */
  private void add(int offset, String name, Type t) throws LocalVariableInfoInconsistentException{
    if (getName(offset) != null){
      if (! getName(offset).equals(name)){
        throw new LocalVariableInfoInconsistentException("At bytecode offset '"+offset+"' a local variable has two different names: '"+getName(offset)+"' and '"+name+"'.");
      }
    }
    if (getType(offset) != null){
      if (! getType(offset).equals(t)){
        throw new LocalVariableInfoInconsistentException("At bytecode offset '"+offset+"' a local variable has two different types: '"+getType(offset)+"' and '"+t+"'.");
      }
    }
    setName(offset, name);
    setType(offset, t);
  }
View Full Code Here

TOP

Related Classes of org.apache.bcel.verifier.exc.LocalVariableInfoInconsistentException

Copyright © 2018 www.massapicom. 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.