public static int parseInt(FXGNode node,String value,String name){
  try {
    return Integer.parseInt(value);
  }
 catch (  NumberFormatException e) {
    throw new FXGException(node.getStartLine(),node.getStartColumn(),"InvalidIntegerValue",name,value);
  }
}

public static int parseInt ( FXGNode node , String value , String name ) { try { return Integer . parseInt ( value ) ; } catch ( NumberFormatException e ) { throw new FXGException ( node . getStartLine ( ) , node . getStartColumn ( ) , "InvalidIntegerValue" , name , value ) ; } }
convert an fxg string value to a integer .
