com.metamatrix.api.exception.query
Class QueryMetadataException

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.MetaMatrixComponentException
                      extended by com.metamatrix.api.exception.query.QueryMetadataException
All Implemented Interfaces:
java.io.Serializable

public class QueryMetadataException
extends MetaMatrixComponentException

This exception is thrown when an error occurs while retrieving metadata from a query component metadata facade. TODO: this isn't really a component exception all of the time. missing entries in metadata are fine during resolving.

See Also:
Serialized Form

Constructor Summary
QueryMetadataException()
          No-arg constructor required by Externalizable semantics.
QueryMetadataException(java.lang.String message)
          Construct an instance with the message specified.
QueryMetadataException(java.lang.String code, java.lang.String message)
          Construct an instance with the message and error code specified.
QueryMetadataException(java.lang.Throwable e, java.lang.String message)
          Construct an instance from a message and an exception to chain to this one.
QueryMetadataException(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
 
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

QueryMetadataException

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


QueryMetadataException

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

Parameters:
message - A message describing the exception

QueryMetadataException

public QueryMetadataException(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

QueryMetadataException

public QueryMetadataException(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

QueryMetadataException

public QueryMetadataException(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


Copyright © 2009. All Rights Reserved.