public class SourceWarning
extends org.teiid.core.TeiidException
This class is used to store the details of an atomic query warning. It stores model name on which the atomic query is based, name of the connector binding for the data source against which the atomic query is executed, and the actual exception thrown when the atomic query is executed.
Constructor and Description |
---|
SourceWarning(String model,
String connectorBinding,
Throwable ex,
boolean partialResults)
Constructor that stores atomic query failure details.
|
Modifier and Type | Method and Description |
---|---|
String |
getConnectorBindingName()
Get's the connector binding name for the atomic query.
|
String |
getModelName()
Get's the model name for the atomic query.
|
boolean |
isPartialResultsError() |
String |
toString()
Gets a message detailing the source against which the atomic query failed.
|
getChild, getCode, getFullMessage, getMessage, getOriginalType, setCode, setOriginalType
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public SourceWarning(String model, String connectorBinding, Throwable ex, boolean partialResults)
Constructor that stores atomic query failure details.
model
- Name of the model for the atomic queryconnectorBinding
- Name of the connector binding name for the atomic queryex
- Exception thrown when atomic query failspublic String getModelName()
Get's the model name for the atomic query.
public String getConnectorBindingName()
Get's the connector binding name for the atomic query.
public boolean isPartialResultsError()
public String toString()
Gets a message detailing the source against which the atomic query failed.
toString
in class org.teiid.core.TeiidException
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.