Package gw.lang.parser.exceptions
Class ImplicitCoercionError
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- gw.lang.parser.exceptions.ParseIssue
-
- gw.lang.parser.exceptions.ParseException
-
- gw.lang.parser.exceptions.ImplicitCoercionError
-
- All Implemented Interfaces:
ICoercionIssue,IParseIssue,java.io.Serializable
public class ImplicitCoercionError extends ParseException implements ICoercionIssue
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private IType_typeToCoerceTo
-
Constructor Summary
Constructors Constructor Description ImplicitCoercionError(IParserState standardParserState, ResourceKey msgImplicitCoercionWarning, IType typeToCoerceTo, java.lang.Object... args)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ITypegetTypeToCoerceTo()-
Methods inherited from class gw.lang.parser.exceptions.ParseException
getAlternateException, getConsoleMessage, getExpectedType, getMemberAccessContext, getParamTypesExpected, getParamTypesPossible, isCausedByArgumentList, setAlternateException, setCausedByArgumentList, setExpectedType, setMemberAccessContext, setParamTypesExpected, setParamTypesPossible, shallowCopy, toString, wrap
-
Methods inherited from class gw.lang.parser.exceptions.ParseIssue
addLineOffset, adjustOffset, appliesToPosition, fillInStackTrace, formatError, getColumn, getContextString, getContextStringNoLineNumbers, getLine, getLineNumber, getLineOffset, getLineReportingOffset, getMessageArgs, getMessageKey, getPlainMessage, getSource, getStateSource, getSymbolTable, getTokenColumn, getTokenEnd, getTokenStart, getUIMessage, makeContextString, resetPositions, resolve, setMessage, setSource, setStateSource
-
Methods inherited from class java.lang.Throwable
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface gw.lang.parser.exceptions.ICoercionIssue
getContextStringNoLineNumbers
-
Methods inherited from interface gw.lang.parser.IParseIssue
appliesToPosition, getColumn, getConsoleMessage, getExpectedType, getLine, getMessageArgs, getMessageKey, getPlainMessage, getSource, getSymbolTable, getTokenEnd, getTokenStart, getUIMessage, printStackTrace, resetPositions, resolve, setExpectedType
-
-
-
-
Field Detail
-
_typeToCoerceTo
private IType _typeToCoerceTo
-
-
Constructor Detail
-
ImplicitCoercionError
public ImplicitCoercionError(IParserState standardParserState, ResourceKey msgImplicitCoercionWarning, IType typeToCoerceTo, java.lang.Object... args)
-
-
Method Detail
-
getTypeToCoerceTo
public IType getTypeToCoerceTo()
- Specified by:
getTypeToCoerceToin interfaceICoercionIssue
-
-