Groovy 2.2.1

org.codehaus.groovy.syntax
[Java] Class RuntimeParserException

java.lang.Object
  java.lang.Throwable
      java.lang.Exception
          java.lang.RuntimeException
              groovy.lang.GroovyRuntimeException
                  org.codehaus.groovy.syntax.RuntimeParserException

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.

Authors:
James Strachan
Version:
\$Revision\$


Constructor Summary
RuntimeParserException(String message, ASTNode node)

 
Method Summary
void throwParserException()

 
Methods inherited from class GroovyRuntimeException
getLocationText, getMessage, getMessageWithoutLocationText, getModule, getNode, setModule
 
Methods inherited from class RuntimeException
printStackTrace, printStackTrace, printStackTrace, fillInStackTrace, getCause, initCause, toString, setStackTrace, getMessage, getLocalizedMessage, getStackTrace, addSuppressed, getSuppressed, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll
 

Constructor Detail

RuntimeParserException

public RuntimeParserException(String message, ASTNode node)


 
Method Detail

throwParserException

public void throwParserException()


 

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