View Javadoc
1 2 package jsdsi.sexp; 3 4 /*** 5 * This exception is used to signify an error when parsing an Sexp into 6 * a SDSI Object. It indicates that the S-Expression does not correctly 7 * represent a SDSI Object. 8 * 9 * @author Alexander Morcos, Sameer Ajmani 10 * @version $Revision: 1.1.6.1 $ $Date: 2005/11/08 03:12:52 $ 11 */ 12 public class SexpParseException extends Exception { 13 Sexp faulty; 14 15 public SexpParseException(String s) { 16 super(s); 17 } 18 19 public SexpParseException(Throwable t) { 20 super(t); 21 } 22 23 public SexpParseException(String s, Throwable t) { 24 super(s, t); 25 } 26 27 public SexpParseException(String s, Sexp faulty) { 28 this(s); 29 this.faulty = faulty; 30 } 31 32 public Sexp getSexp() { 33 return faulty; 34 } 35 }

This page was automatically generated by Maven