Check out example codes for "Exception caught by image resource service". It will help you in understanding the concepts better.

Code Example 1

// This sort of error is due the problem in 
//your image that you are using, change the file format, it might work

Learn ReactJs, React Native from akashmittal.com