Improve dx error handling

If a class file cannot be parsed, print the error message and context
(including file name), and omit the stack trace unless --debug is
enabled.

Bug: 25075831

(cherry picked from commit bd156605a787bbbb5524b6b25254b37a67e6dd7f)

Change-Id: I1615591e6c389e2c99bbc024da22a59abe62a3a2
1 file changed