Java/Eta/ValueAdd/src/main/java/com/refinitiv/eta/valueadd/reactor/RestReactor.java
static int populateErrorInfo(ReactorErrorInfo errorInfo, int reactorReturnCode, String location, String text)
    {
        errorInfo.clear();
        errorInfo.code(reactorReturnCode).location(location);
        errorInfo.error().errorId(reactorReturnCode);
        if (text != null)
        	errorInfo.error().text(text);
        return reactorReturnCode;
    }
/* Clears then populates the specified errorInfo object. */
Clears then populates the specified errorInfo object.
Clears then populates the specified errorInfo object .
static int populateErrorInfo(ReactorErrorInfo errorInfo, int reactorReturnCode, String location, String text)
    {
        errorInfo.clear();
        errorInfo.code(reactorReturnCode).location(location);
        errorInfo.error().errorId(reactorReturnCode);
        if (text != null)
        	errorInfo.error().text(text);
        return reactorReturnCode;
    }
static int populateErrorInfo ( ReactorErrorInfo errorInfo , int reactorReturnCode , String location , String text ) { errorInfo . clear ( ) ; errorInfo . code ( reactorReturnCode ) . location ( location ) ; errorInfo . error ( ) . errorId ( reactorReturnCode ) ; if ( text != null ) errorInfo . error ( ) . text ( text ) ; return reactorReturnCode ; }
Clears then populates the specified errorInfo object.
Clears then populates the specified errorInfo object .