You want to send the Java exception error string to JS side, right? Can we filter out them with a much general string, "Internal error" or something else. Which way do you prefer?