* @throws ParseException if errors occur during the parsing
*/
public SIPHeader parse() throws ParseException {
PathList pathList = new PathList();
if (debug)
dbg_enter("PathParser.parse");
try {
this.lexer.match(TokenTypes.PATH);
this.lexer.SPorHT();
this.lexer.match(':');
this.lexer.SPorHT();
while (true) {
Path path = new Path();
super.parse(path);
pathList.add(path);
this.lexer.SPorHT();
char la = lexer.lookAhead(0);
if (la == ',') {
this.lexer.match(',');
this.lexer.SPorHT();