Added error reporting to JCCache

Change-Id: I5d1d5ba1f7d9d5462ddc1b5b014268c6db107273