Java: what information in error stack trace do we typically not wish to show users?
问题 I'm new to java and I'm not that familiar with the formatting rules used by an error stack trace when it is thrown and subsequently displayed to an end-user of my web application. My experience with Oracle database is that the error stack contains internal information, such as schema and procedure names and line number(s), which, while useful for debugging, I would like to prevent the user from seeing. Here's an example: java.sql.SQLException : ORA-20011: Error description here ORA-07894: at