BatchErrors

public interface BatchErrors

Interface for custom errors

Author:naveen

Methods

getCode

int getCode()
Returns:the code associated with this error

getHttpStatus

HttpStatus getHttpStatus()
Returns:the HTTP status that should be used for representing this error

getMessage

String getMessage()
Returns:a short description of the error