Groovy 2.2.1

groovy.lang
[Java] Class MissingClassException

java.lang.Object
  java.lang.Throwable
      java.lang.Exception
          java.lang.RuntimeException
              groovy.lang.GroovyRuntimeException
                  groovy.lang.MissingClassException

public class MissingClassException
extends GroovyRuntimeException

An exception occurred if a dynamic method dispatch fails with an unknown class. Note that the Missing*Exception classes were named for consistency and to avoid conflicts with JDK exceptions of the same name.

Authors:
James Strachan
Version:
\$Revision\$


Constructor Summary
MissingClassException(String type, ASTNode node, String message)

MissingClassException(ClassNode type, String message)

 
Method Summary
String getType()

@return The type that could not be resolved

 
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

MissingClassException

public MissingClassException(String type, ASTNode node, String message)


MissingClassException

public MissingClassException(ClassNode type, String message)


 
Method Detail

getType

public String getType()
Returns:
The type that could not be resolved


 

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