|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.metamatrix.core.MetaMatrixCoreException
com.metamatrix.api.exception.MetaMatrixException
com.metamatrix.dqp.exception.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 com.metamatrix.core.MetaMatrixCoreException |
---|
code |
Constructor Summary | |
---|---|
SourceWarning(java.lang.String model,
java.lang.String connectorBinding,
java.lang.Throwable ex,
boolean partialResults)
Constructor that stores atomic query failure details. |
Method Summary | |
---|---|
java.lang.String |
getConnectorBindingName()
Get's the connector binding name for the atomic query. |
java.lang.String |
getModelName()
Get's the model name for the atomic query. |
boolean |
isPartialResultsError()
|
java.lang.String |
toString()
Gets a message detailing the source against which the atomic query failed. |
Methods inherited from class com.metamatrix.api.exception.MetaMatrixException |
---|
getChild, getFullMessage |
Methods inherited from class com.metamatrix.core.MetaMatrixCoreException |
---|
getCode, getMessage |
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(java.lang.String model, java.lang.String connectorBinding, java.lang.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 java.lang.String getModelName()
Get's the model name for the atomic query.
public java.lang.String getConnectorBindingName()
Get's the connector binding name for the atomic query.
public boolean isPartialResultsError()
public java.lang.String toString()
Gets a message detailing the source against which the atomic query failed.
toString
in class MetaMatrixException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |