00001 00002 // // 00003 // InvalExperimentException.java // 00004 // // 00005 // experiment.InvalExperimentException -- bad experiment file // 00006 // Last edited: January 16, 2002 at 12:49 pm // 00007 // // 00008 // (c) Copyright 2002 Rice University. All rights reserved. // 00009 // // 00011 00012 00013 00014 00015 package edu.rice.cs.hpc.data.experiment; 00016 00017 00018 00019 00021 // CLASS EXPERIMENT-INVALID-EXCEPTION // 00023 00031 // @SuppressWarnings("serial") 00032 public class InvalExperimentException extends java.lang.Exception 00033 { 00037 private static final long serialVersionUID = 1L; 00038 protected int errorLineNumber; 00039 00040 public InvalExperimentException(int errorLineNumber) 00041 { 00042 this.errorLineNumber = errorLineNumber; 00043 } 00044 00045 00046 public InvalExperimentException(String sMsg) 00047 { 00048 super(sMsg); 00049 } 00050 00051 00052 public int getLineNumber() 00053 { 00054 return this.errorLineNumber; 00055 } 00056 }; 00057 00058 00059 00060