public class DbClientErrorHandler extends BaseErrorHandler
action, ACTION_NONE, ACTION_REDIRECT, ACTION_REPORT_DETAILS, ACTION_REPORT_SUMMARY, ACTION_REPORT_SUMMARY_DETAILS, chainHandler, details, errorPage, exception, parsedDetails, parsedSummary, severity, SEVERITY_ERROR, SEVERITY_FATAL, SEVERITY_INFO, SEVERITY_WARN, source, summary, viewID
Constructor and Description |
---|
DbClientErrorHandler() |
Modifier and Type | Method and Description |
---|---|
int |
getErrorCode()
Returns SQL error code from exception.
|
String |
getSqlState()
Returns SQL error state from exception.
|
protected boolean |
parseError()
Set the Summary and Details from the Exception's cause.
|
void |
reset()
Reset all the handler error information.
|
formatMessage, getAction, getChainHandler, getDetails, getErrorPage, getException, getFacesSeverity, getSeverity, getSource, getSummary, gotoPage, handleError, handleError, isHasError, returnBack, setAction, setChainHandler, setDetails, setErrorPage, setSeverity, setSummary
protected boolean parseError()
parseError
in class BaseErrorHandler
Throwable.getCause()
public void reset()
reset
in interface IErrorHandler
reset
in class BaseErrorHandler
public int getErrorCode()
SQLException.getErrorCode()
public String getSqlState()
SQLException.getSQLState()