java.sql.SQLException
offers an int getErrorCode()
function so the program can know what in particular has happened to cause the exception. Any chance to get a list of these codes for MySQL?
They're available in the MySQL documentation .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.