ErrorList.Error

public static final class Error

An Error inside an ErrorList

Constructors

Error

Error(String errorCode, String severity, Description description)

Initializes Error object using given error code, severity and description.

Parameters:
  • errorCode – Error code value. Please refer to [ebMSS 4.2.3.4.1] for a list of valid error codes.
  • severity – Severity of the error reported.
  • description – Human-readable description of error.

Error

Error(String errorCode, String severity, Description description, String location)

Initializes Error object using given error code, severity and description.

Parameters:
  • errorCode – Error code value. Please refer to [ebMSS 4.2.3.4.1] for a list of valid error codes.
  • severity – Severity of the error reported.
  • description – Human-readable description of error.
  • location – Location of the message containing the error.

Methods

getDescription

public Description getDescription()

Get the description contained in the object.

Returns:Description of the error.

getErrorCode

public String getErrorCode()

Get the error code contained in the object.

Returns:Error code.

getLocation

public String getLocation()

Get the location of the message containing the error.

Returns:Location string.

getSeverity

public String getSeverity()

Get the severity level contained in the object.

Returns:Severity level.