Class DiffParseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.variantsync.diffdetective.diff.result.DiffParseException
- All Implemented Interfaces:
Serializable
Describes an error that occurred when processing a text-based diff.
- Author:
- Benjamin Moosherr
- See Also:
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprivate
DiffParseException
(Exception exception, DiffError error, DiffLineNumber lineNumber) DiffParseException
(DiffError error, DiffLineNumber lineNumber) -
Method Summary
Modifier and TypeMethodDescriptiongetError()
toString()
static DiffParseException
Unparseable
(Exception exception, DiffLineNumber lineNumber) A DiffParseException due to an unparseable formula.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Field Details
-
error
-
lineNumber
-
-
Constructor Details
-
DiffParseException
- Parameters:
error
- the error type to be reportedlineNumber
- the source line of the error
-
DiffParseException
- Parameters:
exception
- an exception that indicated the errorerror
- the error type to be reportedlineNumber
- the source line of the error
-
-
Method Details