Package com.google.googlejavaformat.java
Class FormatterException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.google.googlejavaformat.java.FormatterException
- All Implemented Interfaces:
Serializable
Checked exception class for formatter errors.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionFormatterException(FormatterDiagnostic diagnostic) FormatterException(Iterable<FormatterDiagnostic> diagnostics) FormatterException(String message) -
Method Summary
Modifier and TypeMethodDescriptionstatic FormatterExceptionfromJavacDiagnostics(Iterable<Diagnostic<? extends JavaFileObject>> diagnostics) Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
FormatterException
-
FormatterException
-
FormatterException
-
-
Method Details
-
diagnostics
-
fromJavacDiagnostics
public static FormatterException fromJavacDiagnostics(Iterable<Diagnostic<? extends JavaFileObject>> diagnostics)
-