Package gw.lang.parser.exceptions
Class ParseResultsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
gw.lang.parser.exceptions.ParseResultsException
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ICompilableTypeprivate IParsedElementprivate List<IParseIssue>private List<IParseIssue>private List<IParseIssue> -
Constructor Summary
ConstructorsConstructorDescriptionParseResultsException(IParsedElement parsedElement) ParseResultsException(IParsedElement parsedElement, String message) -
Method Summary
Modifier and TypeMethodDescriptionprivate <T extends IParseIssue>
List<T>findMatchesForKey(ResourceKey key, List<T> parseExceptions) private static StringgetDisplayName(IType typeExpected) static StringgetExpectedTypeName(IType type) static StringgetFeedback(ICompilableType type, List<IParseIssue> parseExceptions, List<IParseIssue> parseWarnings) static StringgetFeedback(List<IParseIssue> parseExceptions, List<IParseIssue> parseWarnings) getIssuesFromPos(int iPos) booleanbooleanbooleanvoidreset(IParsedElement pe) voidsetContextType(ICompilableType contextType) Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
_parsedElement
-
_parseIssues
-
_parseExceptions
-
_parseWarnings
-
_ctxType
-
-
Constructor Details
-
ParseResultsException
-
ParseResultsException
-
-
Method Details
-
getParsedElement
-
getParseIssues
-
hasParseExceptions
public boolean hasParseExceptions() -
getParseExceptions
-
hasOnlyParseWarnings
public boolean hasOnlyParseWarnings() -
hasParseWarnings
public boolean hasParseWarnings() -
getParseWarnings
-
getFeedback
-
getFeedback
public static String getFeedback(List<IParseIssue> parseExceptions, List<IParseIssue> parseWarnings) -
getFeedback
public static String getFeedback(ICompilableType type, List<IParseIssue> parseExceptions, List<IParseIssue> parseWarnings) -
getLoader
-
getExpectedTypeName
-
getDisplayName
-
getIssuesFromPos
-
reset
-
getMessage
- Overrides:
getMessagein classThrowable
-
getParseExceptionsForKey
-
getParseWarningsForKey
-
findMatchesForKey
-
setContextType
-