Class ErrorMessageDeclaration
- java.lang.Object
-
- com.exasol.errorcodecrawlermavenplugin.model.ErrorMessageDeclaration
-
public class ErrorMessageDeclaration extends Object
This class represents declaration
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classErrorMessageDeclaration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ErrorMessageDeclaration.Builderbuilder()StringgetErrorCode()Get the error codeintgetLine()Line number of the ExaError.messageBuilder call.StringgetSourceFile()Get the file in which this error message is declared.
-
-
-
Method Detail
-
builder
public static ErrorMessageDeclaration.Builder builder()
-
getErrorCode
public String getErrorCode()
Get the error code- Returns:
- error code
-
getSourceFile
public String getSourceFile()
Get the file in which this error message is declared.- Returns:
- path of the file relative to the project's directory
-
getLine
public int getLine()
Line number of the ExaError.messageBuilder call.- Returns:
- line number
-
-