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 StringgetDetails()org.sonar.api.batch.fs.TextPointergetPosition()static ParseExceptionthrowParseException(String action, org.sonar.api.batch.fs.InputFile inputFile, Exception cause, org.sonar.api.batch.fs.TextPointer position)-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
throwParseException
public static ParseException throwParseException(String action, @Nullable org.sonar.api.batch.fs.InputFile inputFile, Exception cause, @Nullable org.sonar.api.batch.fs.TextPointer position)
-
getPosition
@CheckForNull public org.sonar.api.batch.fs.TextPointer getPosition()
-
getDetails
@CheckForNull public String getDetails()
-
-