Class ErrorCodeParser
- java.lang.Object
-
- com.exasol.errorcodecrawlermavenplugin.ErrorCodeParser
-
-
Constructor Summary
Constructors Constructor Description ErrorCodeParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ErrorCodeparse(String errorCodeString, String sourcePosition)Read anErrorCodes from it's string representation.
-
-
-
Method Detail
-
parse
public ErrorCode parse(String errorCodeString, String sourcePosition) throws com.exasol.errorcodecrawlermavenplugin.InvalidSyntaxException
Read anErrorCodes from it's string representation.- Parameters:
errorCodeString- error code's string representation (e.g. E-EX-1)sourcePosition- pointer to the source code position, used in error messages- Returns:
- built
ErrorCode - Throws:
com.exasol.errorcodecrawlermavenplugin.InvalidSyntaxException- on syntax errors
-
-