Class CompilationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.test.tools.CompilationException
- All Implemented Interfaces:
Serializable
Exception thrown when code cannot compile. Expose the problems for further inspection.
- Since:
- 6.0
- Author:
- Phillip Webb, Stephane Nicoll
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordDescription of a problem that lead to a compilation failure. -
Method Summary
Modifier and TypeMethodDescriptionReturn the problems that lead to this exception.getProblems(Diagnostic.Kind... kinds) Return the problems of the givenkinds.Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString