package org.opengroupware.jope.foundation;

// TODO: add constant error codes
public class NSPropertyListSyntaxException extends Exception {
  private static final long serialVersionUID = 5482196646135660985L;

  protected Exception priorException = null;
  
  public NSPropertyListSyntaxException(String _error, Exception _pe) {
    super(_error);
    this.priorException = _pe;
  }
  
  /* accessors */
  
  public String error() {
    return this.getMessage();
  }
}
