Package org.sonar.iac.common.extension
Class ParseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.sonar.iac.common.extension.ParseException
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionParseException(String message, org.sonar.api.batch.fs.TextPointer position, String details) -
Method Summary
Modifier and TypeMethodDescriptionstatic ParseExceptioncreateGeneralParseException(String action, org.sonar.api.batch.fs.InputFile inputFile, Exception cause, org.sonar.api.batch.fs.TextPointer position) static ParseExceptioncreateParseException(String message, InputFileContext inputFileContext, org.sonar.api.batch.fs.TextPointer position) org.sonar.api.batch.fs.TextPointerMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ParseException
-
-
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
-