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.
| Constructor and description |
|---|
MissingClassException(String type, ASTNode node, String message)Creates an exception for an unresolved class name. |
MissingClassException(ClassNode type, String message)Creates an exception for an unresolved class node. |
| Methods inherited from class | Name |
|---|---|
class GroovyRuntimeException |
getLocationText, getMessage, getMessageWithoutLocationText, getModule, getNode, setModule |
Creates an exception for an unresolved class name.
type - the unresolved class namenode - the related AST nodemessage - additional context
Copyright © 2003-2026 The Apache Software Foundation. All rights reserved.