Class ParseException

All Implemented Interfaces:
Serializable

public class ParseException extends RuntimeException
See Also:
  • Constructor Details

    • ParseException

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

    • 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()