FailParsingException.java 509 Bytes
  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
package jcircus.exceptions;

import java.util.Map;
import java.util.List;

/**
* ChanUseUnificationException.java
*
* @author Angela Freitas
*/
public class FailParsingException extends Exception {
private List<String> errors;
public FailParsingException(List<String> errors) {
super();
this.errors = errors;
}
public List<String> getErrors() {
return this.errors;
}
public String getFirstError() {
return errors.get(0);
}
}