Changed the thrown exceptions of the parser from RuntimeException to IllegalArgumentException