org.teiid.connector.api
Class ConnectorException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.metamatrix.core.MetaMatrixCoreException
              extended by org.teiid.connector.api.ConnectorException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
DataNotAvailableException, JDBCExecutionException

public class ConnectorException
extends MetaMatrixCoreException

An exception the connector writer can return in case of an error while using the connector.

See Also:
Serialized Form

Constructor Summary
ConnectorException()
          No-arg constructor required by Externalizable semantics.
ConnectorException(java.lang.String message)
          Construct an instance with the message specified.
ConnectorException(java.lang.Throwable e)
          Construct an instance with a linked exception specified.
ConnectorException(java.lang.Throwable e, java.lang.String message)
          Construct an instance from a message and an exception to chain to this one.
 
Method Summary
 
Methods inherited from class com.metamatrix.core.MetaMatrixCoreException
getCause, initCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConnectorException

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


ConnectorException

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

Parameters:
message - A message describing the exception

ConnectorException

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

Parameters:
code - A code denoting the exception
e - An exception to nest within this one

ConnectorException

public ConnectorException(java.lang.Throwable e)
Construct an instance with a linked exception specified.

Parameters:
e - An exception to chain to this exception


Copyright © 2009. All Rights Reserved.