Package 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
,TranslatorBatchException
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
-
-
Field Summary
-
Fields inherited from class org.teiid.core.TeiidException
code
-
-
Constructor Summary
Constructors Constructor Description TranslatorException()
No-arg constructor required by Externalizable semantics.TranslatorException(String message)
Construct an instance with the message specified.TranslatorException(Throwable e)
Construct an instance with a linked exception specified.TranslatorException(Throwable e, String message)
Construct an instance from a message and an exception to chain to this one.TranslatorException(BundleUtil.Event event, String message)
TranslatorException(BundleUtil.Event event, Throwable e)
TranslatorException(BundleUtil.Event event, Throwable e, String message)
-
Method Summary
-
Methods inherited from class org.teiid.core.TeiidException
getCode, getMessage, getOriginalType, setCode, setOriginalType
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
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:
message
- A message describing 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(BundleUtil.Event event, Throwable e)
-
TranslatorException
public TranslatorException(BundleUtil.Event event, Throwable e, String message)
-
TranslatorException
public TranslatorException(BundleUtil.Event event, String message)
-
-