1 package org.codehaus.groovy.grails.exceptions; 2 3 import java.io.Serializable; 4 5 /** 6 * An interface that represents an exception that is capable of providing more information about the source code 7 * 8 * @author Graeme Rocher 9 * @since 1.0 10 * <p/> 11 * Created: Nov 15, 2007 12 */ 13 public interface SourceCodeAware extends Serializable { getFileName()14 String getFileName(); 15 getLineNumber()16 int getLineNumber(); 17 } 18