public int getChaincodeActionResponseStatus ( ) throws InvalidArgumentException { if ( statusReturnCode != - 1 ) { return statusReturnCode ; } try { final ProposalResponsePayloadDeserializer proposalResponsePayloadDeserializer = getProposalResponsePayloadDeserializer ( ) ; statusReturnCode = proposalResponsePayloadDeserializer . getExtension ( ) . getResponseStatus ( ) ; return statusReturnCode ; } catch ( InvalidArgumentException e ) { throw e ; } catch ( Exception e ) { throw new InvalidArgumentException ( e ) ; } }
getChaincodeActionResponseStatus returns the what chaincode executions set as the return status .