Package com.github.javaparser
Class ParseProblemException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.github.javaparser.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
-
-
Constructor Summary
Constructors Constructor Description ParseProblemException(java.lang.Throwable throwable)
ParseProblemException(java.util.List<Problem> problems)
-
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()
-
-
-
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)
-
-