Java get try, catch error information data

The code shown in Figure 2 is the part of the code for printing a variety of information of one event, and Figure 1 is the printed log information. And you can see that
Error.getCause ().getMessage() can get a relatively complete and intuitive error message.

Read More: