Class ParseResultsException

  • All Implemented Interfaces:
    java.io.Serializable

    public class ParseResultsException
    extends java.lang.Exception
    See Also:
    Serialized Form
    • Constructor Detail

      • ParseResultsException

        public ParseResultsException​(IParsedElement parsedElement)
      • ParseResultsException

        public ParseResultsException​(IParsedElement parsedElement,
                                     java.lang.String message)
    • Method Detail

      • getParseIssues

        public java.util.List<IParseIssue> getParseIssues()
      • hasParseExceptions

        public boolean hasParseExceptions()
      • getParseExceptions

        public java.util.List<IParseIssue> getParseExceptions()
      • hasOnlyParseWarnings

        public boolean hasOnlyParseWarnings()
      • hasParseWarnings

        public boolean hasParseWarnings()
      • getParseWarnings

        public java.util.List<IParseIssue> getParseWarnings()
      • getFeedback

        public java.lang.String getFeedback()
      • getFeedback

        public static java.lang.String getFeedback​(java.util.List<IParseIssue> parseExceptions,
                                                   java.util.List<IParseIssue> parseWarnings)
      • getExpectedTypeName

        public static java.lang.String getExpectedTypeName​(IType type)
      • getDisplayName

        private static java.lang.String getDisplayName​(IType typeExpected)
      • getIssuesFromPos

        public java.util.List<IParseIssue> getIssuesFromPos​(int iPos)
      • getMessage

        public java.lang.String getMessage()
        Overrides:
        getMessage in class java.lang.Throwable
      • findMatchesForKey

        private <T extends IParseIssue> java.util.List<T> findMatchesForKey​(ResourceKey key,
                                                                            java.util.List<T> parseExceptions)
      • setContextType

        public void setContextType​(ICompilableType contextType)