Class FormatterException

  • All Implemented Interfaces:
    java.io.Serializable

    public final class FormatterException
    extends java.lang.Exception
    Checked exception class for formatter errors.
    See Also:
    Serialized Form
    • Field Detail

      • diagnostics

        private final com.google.common.collect.ImmutableList<FormatterDiagnostic> diagnostics
    • Constructor Detail

      • FormatterException

        public FormatterException​(java.lang.String message)
      • FormatterException

        public FormatterException​(java.lang.Iterable<FormatterDiagnostic> diagnostics)
    • Method Detail

      • fromJavacDiagnostics

        public static FormatterException fromJavacDiagnostics​(java.lang.Iterable<javax.tools.Diagnostic<? extends javax.tools.JavaFileObject>> diagnostics)
      • toFormatterDiagnostic

        private static FormatterDiagnostic toFormatterDiagnostic​(javax.tools.Diagnostic<?> input)