ExpressionParseException.java

Go to the documentation of this file.
00001 package com.graphbuilder.math;
00002 
00008 public class ExpressionParseException extends RuntimeException {
00009 
00013     private static final long serialVersionUID = 3976878419653066876L;
00014     private String descrip = null;
00015     private int index = 0;
00016 
00017     public ExpressionParseException(String descrip, int index) {
00018         this.descrip = descrip;
00019         this.index = index;
00020     }
00021 
00022     public String getDescription() {
00023         return descrip;
00024     }
00025 
00026     public int getIndex() {
00027         return index;
00028     }
00029 
00030     public String toString() {
00031         return "(" + index + ") " + descrip;
00032     }
00033 }

Generated on 5 May 2015 for HPCVIEWER by  doxygen 1.6.1