The RNA metabolic process that joins two exons, each of which has free ends that were generated by endonucleolytic cleavages, by a ligation reaction.