*Implementing the onError() method added with the patched version of pocketsphinx-android