/*
 * Copyright (c) 2012. John May
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA
 */

package com.simolecule.centres;

/**
 * @author John May
 */
public class TooManyNodesException extends RuntimeException {

    public TooManyNodesException() {
        super("Too many nodes in the digraph were created");
    }

}

@@ -899,17 +899,16 @@
 ption %7B%0A
-%0A
     publ
@@ -932,16 +932,25 @@
 ception(
+int limit
 ) %7B%0A    
@@ -964,50 +964,91 @@
 er(%22
-Too many nodes in the digraph were created
+More than %22 + limit + %22 nodes were created. CIP assignment is probably intractable.
 %22);%0A
@@ -1053,11 +1053,10 @@
 ;%0A    %7D%0A
-%0A
 %7D%0A

Remove node limit.