Class ParseProblemException

  • All Implemented Interfaces:
    java.io.Serializable

    public class ParseProblemException
    extends java.lang.RuntimeException
    Thrown when parsing problems occur during parsing with the static methods on JavaParser.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.List<Problem> problems
      The problems that were encountered during parsing
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private static java.lang.String createMessage​(java.util.List<Problem> problems)  
      java.util.List<Problem> getProblems()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • problems

        private final java.util.List<Problem> problems
        The problems that were encountered during parsing
    • Constructor Detail

      • ParseProblemException

        public ParseProblemException​(java.util.List<Problem> problems)
      • ParseProblemException

        public ParseProblemException​(java.lang.Throwable throwable)
    • Method Detail

      • createMessage

        private static java.lang.String createMessage​(java.util.List<Problem> problems)
      • getProblems

        public java.util.List<Problem> getProblems()