Class ParseException

    • Constructor Detail

      • ParseException

        public ParseException​(String message,
                              @Nullable
                              org.sonar.api.batch.fs.TextPointer position,
                              @Nullable
                              String details)
    • Method Detail

      • createGeneralParseException

        public static ParseException createGeneralParseException​(String action,
                                                                 @Nullable
                                                                 org.sonar.api.batch.fs.InputFile inputFile,
                                                                 Exception cause,
                                                                 @Nullable
                                                                 org.sonar.api.batch.fs.TextPointer position)
      • createParseException

        public static ParseException createParseException​(String message,
                                                          @Nullable
                                                          InputFileContext inputFileContext,
                                                          @Nullable
                                                          org.sonar.api.batch.fs.TextPointer position)
      • getPosition

        @CheckForNull
        public org.sonar.api.batch.fs.TextPointer getPosition()
      • getDetails

        @CheckForNull
        public String getDetails()