public class IncorrectTypeHintException
extends SyntaxException
Indicates that a ClosureParams hint declaration is invalid.
| Constructor and description |
|---|
IncorrectTypeHintException(MethodNode mn, Throwable e, int line, int column)Creates an exception describing a failure caused by another exception. |
IncorrectTypeHintException(MethodNode mn, String msg, int line, int column)Creates an exception describing an invalid hint message. |
| Methods inherited from class | Name |
|---|---|
class SyntaxException |
getEndColumn, getEndLine, getLine, getMessage, getOriginalMessage, getSourceLocator, getStartColumn, getStartLine, setSourceLocator |
class GroovyException |
isFatal, setFatal |
Creates an exception describing a failure caused by another exception.
mn - the method containing the invalid hinte - the underlying causeline - the source linecolumn - the source columnCreates an exception describing an invalid hint message.
mn - the method containing the invalid hintmsg - the validation messageline - the source linecolumn - the source columnCopyright © 2003-2026 The Apache Software Foundation. All rights reserved.