org.teiid.translator
Class TranslatorException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.teiid.core.TeiidException
org.teiid.translator.TranslatorException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- JDBCExecutionException
public class TranslatorException
- extends TeiidException
An exception the connector writer can return in case of an
error while using the connector.
- See Also:
- Serialized Form
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 |
TranslatorException
public TranslatorException()
- No-arg constructor required by Externalizable semantics.
TranslatorException
public TranslatorException(java.lang.String message)
- Construct an instance with the message specified.
- Parameters:
message
- A message describing the exception
TranslatorException
public TranslatorException(java.lang.String errorCode,
java.lang.String message)
TranslatorException
public TranslatorException(int errorCode,
java.lang.String message)
TranslatorException
public TranslatorException(java.lang.Throwable e,
int errorCode,
java.lang.String message)
TranslatorException
public TranslatorException(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
TranslatorException
public TranslatorException(java.lang.Throwable e)
- Construct an instance with a linked exception specified.
- Parameters:
e
- An exception to chain to this exception
Copyright © 2010. All Rights Reserved.