org.codehaus.groovy.grails.web.taglib.exceptions
Class GrailsTagException

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.taglib.exceptions.GrailsTagException
All Implemented Interfaces:
Serializable, SourceCodeAware

public class GrailsTagException
extends GrailsException
implements SourceCodeAware

Author:
Graeme Rocher
See Also:
Serialized Form

Constructor Summary
GrailsTagException(String message)
           
GrailsTagException(String message, String pageName, int lineNumber)
           
GrailsTagException(String message, Throwable cause)
           
GrailsTagException(String message, Throwable cause, String fileName, int lineNumber)
           
GrailsTagException(Throwable cause)
           
 
Method Summary
 String getFileName()
           
 int getLineNumber()
           
 String getMessage()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

GrailsTagException

public GrailsTagException(String message)

GrailsTagException

public GrailsTagException(String message,
                          Throwable cause)

GrailsTagException

public GrailsTagException(Throwable cause)

GrailsTagException

public GrailsTagException(String message,
                          String pageName,
                          int lineNumber)

GrailsTagException

public GrailsTagException(String message,
                          Throwable cause,
                          String fileName,
                          int lineNumber)
Method Detail

getFileName

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

getLineNumber

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

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable