diagType

One of the argument values listed in the table below:

Table 1. Argument values for DhSQLException.getDiagnostics
Argument value Returns
RETURNED_SQLSTATE The SQLSTATE returned by execution of the previous SQL statement
MESSAGE_TEXT The condition indicated by RETURNED_SQLSTATE
CLASS_ORIGIN Not currently used; always returns NULL
SUBCLASS_ORIGIN Not currently used; always returns NULL