|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.teiid.core.TeiidException
org.teiid.client.SourceWarning
public class SourceWarning
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.
Field Summary |
---|
Fields inherited from class org.teiid.core.TeiidException |
---|
code |
Constructor Summary | |
---|---|
SourceWarning(String model,
String connectorBinding,
Throwable ex,
boolean partialResults)
Constructor that stores atomic query failure details. |
Method Summary | |
---|---|
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. |
Methods inherited from class org.teiid.core.TeiidException |
---|
getChild, getCode, getFullMessage, getMessage, getOriginalType, setCode, setOriginalType |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
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 failsMethod Detail |
---|
public 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 TeiidException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |