org.teiid.connector.api
Class ConnectorException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.metamatrix.core.MetaMatrixCoreException
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(int errorCode,
java.lang.String message)
|
ConnectorException(java.lang.String message)
Construct an instance with the message specified. |
ConnectorException(java.lang.String errorCode,
java.lang.String message)
|
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. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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.String errorCode,
java.lang.String message)
ConnectorException
public ConnectorException(int errorCode,
java.lang.String message)
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 exceptione
- 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.