public class ErrorDefinition extends Object
Constructor and Description |
---|
ErrorDefinition(Long errorDefinitionId,
String errorCategory,
String errorType,
String userMessage,
String technicalMessage,
String solution,
String impact,
String logLevel)
Ctr for the error definition
|
ErrorDefinition(String errorCategory,
String errorType,
String userMessage,
String technicalMessage,
String solution,
String impact,
String logLevel)
Ctr for the error definition
|
Modifier and Type | Method and Description |
---|---|
String |
getErrorCategory()
Gets error category.
|
Long |
getErrorDefinitionId()
Gets error definition id.
|
String |
getErrorType()
Gets error type.
|
String |
getImpact()
Gets impact.
|
String |
getLogLevel()
Gets log level.
|
String |
getSolution()
Gets solution.
|
String |
getTechnicalMessage()
Gets technical message.
|
String |
getUserMessage()
Gets user message.
|
void |
setErrorDefinitionId(Long errorDefinitionId)
Sets error definition id.
|
public ErrorDefinition(@Param(value="errorDefinitionId") Long errorDefinitionId, @Param(value="errorCategory") String errorCategory, @Param(value="errorType") String errorType, @Param(value="userMessage") String userMessage, @Param(value="technicalMessage") String technicalMessage, @Param(value="solution") String solution, @Param(value="impact") String impact, @Param(value="logLevel") String logLevel)
errorDefinitionId
- DB id of the error definitionerrorCategory
- Error categoryerrorType
- Error typeuserMessage
- User error messagetechnicalMessage
- Technical error messagesolution
- Solution to the errorimpact
- Impact on the lineagelogLevel
- Severitypublic ErrorDefinition(String errorCategory, String errorType, String userMessage, String technicalMessage, String solution, String impact, String logLevel)
errorCategory
- Error categoryerrorType
- Error typeuserMessage
- User error messagetechnicalMessage
- Technical error messagesolution
- Solution to the errorimpact
- Impact on the lineagelogLevel
- Severitypublic Long getErrorDefinitionId()
public void setErrorDefinitionId(Long errorDefinitionId)
errorDefinitionId
- the error definition idpublic String getErrorCategory()
public String getErrorType()
public String getUserMessage()
public String getTechnicalMessage()
public String getSolution()
public String getImpact()
public String getLogLevel()
Copyright © 2020. All rights reserved.