org.codehaus.groovy.grails.web.pages.exceptions
Class GroovyPagesException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.codehaus.groovy.grails.exceptions.GrailsException
                  extended by org.codehaus.groovy.grails.web.pages.exceptions.GroovyPagesException
All Implemented Interfaces:
Serializable, SourceCodeAware

public class GroovyPagesException
extends GrailsException
implements SourceCodeAware

An exception thrown when processing GSP pages

Since:
0.5

Created: Feb 23, 2007 Time: 10:45:39 AM

Author:
Graeme Rocher
See Also:
Serialized Form

Constructor Summary
GroovyPagesException(String message)
           
GroovyPagesException(String message, Exception e)
           
GroovyPagesException(String message, Throwable exception, int lineNumber, String fileName)
           
 
Method Summary
 String getFileName()
           
 int getLineNumber()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GroovyPagesException

public GroovyPagesException(String message,
                            Exception e)

GroovyPagesException

public GroovyPagesException(String message,
                            Throwable exception,
                            int lineNumber,
                            String fileName)

GroovyPagesException

public GroovyPagesException(String message)
Method Detail

getFileName

public String getFileName()
Specified by:
getFileName in interface SourceCodeAware

getLineNumber

public int getLineNumber()
Specified by:
getLineNumber in interface SourceCodeAware


Copyright (c) 2005-2009 The Grails project