SQLException
Creates a new SQLException with a message.
Parameters
message
The error message describing what went wrong.
Creates a new SQLException with a message and a cause.
Parameters
message
The error message describing what went wrong.
cause
The underlying cause of the error (e.g., JDBC SQLException, native driver error).