public class PartialResultsWarning extends SQLWarning
| Constructor and Description |
|---|
PartialResultsWarning()
Construct partial results warning.
|
PartialResultsWarning(String reason)
Construct partial results warning.
|
PartialResultsWarning(String reason,
String SQLstate)
Construct partial results warning.
|
PartialResultsWarning(String reason,
String SQLstate,
int vendorCode)
Construct partial results warning.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addConnectorFailure(String name,
SQLException exception)
Add a connector failure to the warning
|
SQLException |
getConnectorException(String connectorName)
Obtain failure for a particular connector.
|
Collection |
getFailedConnectors()
Obtain list of connectors that failed.
|
getNextWarning, setNextWarninggetErrorCode, getNextException, getSQLState, iterator, setNextExceptionaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic PartialResultsWarning(String reason, String SQLstate, int vendorCode)
reason - Reason for the exceptionSQLstate - SQL state codevendorCode - Vendor codepublic PartialResultsWarning(String reason, String SQLstate)
reason - Reason for the exceptionSQLstate - SQL state codepublic PartialResultsWarning(String reason)
reason - Reason for the exceptionpublic PartialResultsWarning()
public void addConnectorFailure(String name, SQLException exception)
name - Connector nameexception - Connector exceptionpublic Collection getFailedConnectors()
public SQLException getConnectorException(String connectorName)
name - Connector nameCopyright © 2018 JBoss by Red Hat. All rights reserved.