Package groovy.transform.stc
Class IncorrectTypeHintException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.codehaus.groovy.GroovyException
org.codehaus.groovy.syntax.SyntaxException
groovy.transform.stc.IncorrectTypeHintException
- All Implemented Interfaces:
Serializable,GroovyExceptionInterface
Indicates that a
ClosureParams hint declaration is invalid.- Since:
- 2.3.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionIncorrectTypeHintException(MethodNode mn, String msg, int line, int column) Creates an exception describing an invalid hint message.IncorrectTypeHintException(MethodNode mn, Throwable e, int line, int column) Creates an exception describing a failure caused by another exception. -
Method Summary
Methods inherited from class org.codehaus.groovy.syntax.SyntaxException
getEndColumn, getEndLine, getLine, getMessage, getOriginalMessage, getSourceLocator, getStartColumn, getStartLine, setSourceLocatorMethods inherited from class org.codehaus.groovy.GroovyException
isFatal, setFatalMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
IncorrectTypeHintException
Creates an exception describing a failure caused by another exception.- Parameters:
mn- the method containing the invalid hinte- the underlying causeline- the source linecolumn- the source column
-
IncorrectTypeHintException
Creates an exception describing an invalid hint message.- Parameters:
mn- the method containing the invalid hintmsg- the validation messageline- the source linecolumn- the source column
-