Package org.eclipse.imp.pdb.facts.exceptions

Examples of org.eclipse.imp.pdb.facts.exceptions.FactParseError


    public int readOct() throws IOException {
      int val = Character.digit(last_char, 8);
      val += Character.digit(read(), 8);

      if (val < 0) {
        throw new FactParseError("octal must have 3 octdigits.",
            getPosition());
      }

      val += Character.digit(read(), 8);

      if (val < 0) {
        throw new FactParseError("octal must have 3 octdigits",
            getPosition());
      }

      return val;
    }
View Full Code Here

TOP

Related Classes of org.eclipse.imp.pdb.facts.exceptions.FactParseError

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.