* Catch Java exception in the Activity example.