in src/main/java/com/microsoft/azure/functions/worker/binding/ExecutionRetryContext.java [13:32]
public ExecutionRetryContext(int retryCount, int maxRetryCount, com.microsoft.azure.functions.rpc.messages.RpcException exception) {
this.Retrycount = retryCount;
this.Maxretrycount = maxRetryCount;
this.Rpcexception = new RpcException() {
@Override
public String getSource() {
return exception.getSource();
}
@Override
public String getStacktrace() {
return exception.getStackTrace();
}
@Override
public String getMessage() {
return exception.getMessage();
}
};
}