public ParsedArguments parse(String[] args) throws SyntaxError { for (int i = 0; i < syntaxes.length; i++) { try { return syntaxes[i].parse(args); } catch (SyntaxError ex) {    } }
public ParsedArguments parse(String[] args) throws SyntaxErrorException { for (int i = 0; i < syntaxes.length; i++) { final Syntax s = syntaxes[ i]; try { return s.parse(args); } catch (SyntaxErrorException ex) { s.clearArguments();    } }
		public ParsedArguments parse(String[] args) throws SyntaxError {			for (int i = 0; i < syntaxes.length; i++) {				try {					return syntaxes[i].parse(args);				} catch (SyntaxError ex) {					// debug output to debug syntax finding mechanism					//System.err.println(ex.toString());					//ex.printStackTrace(System.out);				}			}			// no fitting Syntax found? trow an error			throw new SyntaxError("No matching syntax found");		}