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
public class ParseException extends RuntimeException
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ParseException(String message, org.sonar.api.batch.fs.TextPointer position, String details)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static 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)StringgetDetails()org.sonar.api.batch.fs.TextPointergetPosition()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
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()
-
-