PHW: added to the documentation, and added IllegalArgumentExceptions to some of the methods
PHW: added to the documentation, and added IllegalArgumentExceptions to some of the methods

rickb777/jcsp,rickb777/jcsp,rickb777/jcsp,rickb777/jcsp