Java template changes for new RPC error types.

Use the * import wildcard so that we don't miss required imports.

Also swap the order of exeception causes so that the outer is the RPC
error type. This is done so that we can catch() the exception instead of
using:
if (exection.cause() instanceof ErrFoo)

Change-Id: If132a3feebfb58be8b12a8ffa61927b85b9da227
3 files changed