com.metamatrix.api.exception.query
Class QueryResolverException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.metamatrix.core.MetaMatrixCoreException
              extended by com.metamatrix.api.exception.MetaMatrixException
                  extended by com.metamatrix.api.exception.MetaMatrixProcessingException
                      extended by com.metamatrix.api.exception.query.QueryProcessingException
                          extended by com.metamatrix.api.exception.query.QueryResolverException
All Implemented Interfaces:
java.io.Serializable

public class QueryResolverException
extends QueryProcessingException

This exception represents the case where the query submitted could not resolved when it is checked against the metadata

See Also:
Serialized Form

Constructor Summary
QueryResolverException()
          No-arg constructor required by Externalizable semantics.
QueryResolverException(java.lang.String message)
          Construct an instance with the message specified.
QueryResolverException(java.lang.String code, java.lang.String message)
          Construct an instance with the message and error code specified.
QueryResolverException(java.lang.Throwable e, java.lang.String message)
          Construct an instance from a message and an exception to chain to this one.
QueryResolverException(java.lang.Throwable e, java.lang.String code, java.lang.String message)
          Construct an instance from a message and a code and an exception to chain to this one.
 
Method Summary
 void addUnresolvedSymbol(UnresolvedSymbolDescription symbolDesc)
          Add an UnresolvedSymbolDescription to the list of unresolved symbols
 java.util.List getUnresolvedSymbols()
          Set the list of unresolved symbols during QueryResolution
 void setUnresolvedSymbols(java.util.List unresolvedSymbols)
          Set the list of unresolved symbols during QueryResolution
 
Methods inherited from class com.metamatrix.api.exception.MetaMatrixException
getChild, getCode, getFullMessage, getMessage, readExternal, setCode, toString, writeExternal
 
Methods inherited from class com.metamatrix.core.MetaMatrixCoreException
getCause, initCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

QueryResolverException

public QueryResolverException()
No-arg constructor required by Externalizable semantics.


QueryResolverException

public QueryResolverException(java.lang.String message)
Construct an instance with the message specified.

Parameters:
message - A message describing the exception

QueryResolverException

public QueryResolverException(java.lang.String code,
                              java.lang.String message)
Construct an instance with the message and error code specified.

Parameters:
message - A message describing the exception
code - The error code

QueryResolverException

public QueryResolverException(java.lang.Throwable e,
                              java.lang.String message)
Construct an instance from a message and an exception to chain to this one.

Parameters:
message - A message describing the exception
e - An exception to nest within this one

QueryResolverException

public QueryResolverException(java.lang.Throwable e,
                              java.lang.String code,
                              java.lang.String message)
Construct an instance from a message and a code and an exception to chain to this one.

Parameters:
e - An exception to nest within this one
message - A message describing the exception
code - A code denoting the exception
Method Detail

setUnresolvedSymbols

public void setUnresolvedSymbols(java.util.List unresolvedSymbols)
Set the list of unresolved symbols during QueryResolution

Parameters:
unresolvedSymbols - List of objects

addUnresolvedSymbol

public void addUnresolvedSymbol(UnresolvedSymbolDescription symbolDesc)
Add an UnresolvedSymbolDescription to the list of unresolved symbols

Parameters:
symbolDesc - Single description

getUnresolvedSymbols

public java.util.List getUnresolvedSymbols()
Set the list of unresolved symbols during QueryResolution

Returns:
List of UnresolvedSymbolDescription objects


Copyright © 2009. All Rights Reserved.