org.codehaus.groovy.syntax
Class RuntimeParserException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by groovy.lang.GroovyRuntimeException
                  extended by org.codehaus.groovy.syntax.RuntimeParserException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
RuntimeIncompleteClassException

public class RuntimeParserException
extends GroovyRuntimeException

A helper class to allow parser exceptions to be thrown anywhere in the code. Should be replaced when no longer required.

Version:
$Revision: 17492 $
Author:
James Strachan
See Also:
Serialized Form

Constructor Summary
RuntimeParserException(String message, ASTNode node)
           
 
Method Summary
 void throwParserException()
           
 
Methods inherited from class groovy.lang.GroovyRuntimeException
getLocationText, getMessage, getMessageWithoutLocationText, getModule, getNode, setModule
 
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

RuntimeParserException

public RuntimeParserException(String message,
                              ASTNode node)
Method Detail

throwParserException

public void throwParserException()
                          throws SyntaxException
Throws:
SyntaxException

Copyright © 2003-2010 The Codehaus. All rights reserved.