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:
TranslatorBatchException
public class TranslatorException extends org.teiid.core.TeiidExceptionAn exception the connector writer can return in case of an error while using the connector.- See Also:
- Serialized Form
-
-
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(org.teiid.core.BundleUtil.Event event, String message)TranslatorException(org.teiid.core.BundleUtil.Event event, Throwable e)TranslatorException(org.teiid.core.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(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)
-
-