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:
- Serializable
- Direct Known Subclasses:
- JDBCExecutionException
public class TranslatorException
- extends org.teiid.core.TeiidException
An exception the connector writer can return in case of an
error while using the connector.
- See Also:
- Serialized Form
Fields inherited from class org.teiid.core.TeiidException |
code |
Methods inherited from class org.teiid.core.TeiidException |
getCode, getFullMessage, getMessage, getOriginalType, setCode, setOriginalType |
TranslatorException
public TranslatorException()
- No-arg constructor required by Externalizable semantics.
TranslatorException
public TranslatorException(String message)
- Construct an instance with the message specified.
- Parameters:
message
- A message describing the exception
TranslatorException
public TranslatorException(Throwable e,
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(Throwable e)
- Construct an instance with a linked exception specified.
- Parameters:
e
- An exception to chain to this exception
TranslatorException
public TranslatorException(org.teiid.core.BundleUtil.Event event,
Throwable e)
TranslatorException
public TranslatorException(org.teiid.core.BundleUtil.Event event,
Throwable e,
String message)
TranslatorException
public TranslatorException(org.teiid.core.BundleUtil.Event event,
String message)
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.