org.teiid.translator
Class TranslatorException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.teiid.core.TeiidException
              extended by 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

Field Summary
 
Fields inherited from class org.teiid.core.TeiidException
code
 
Constructor Summary
TranslatorException()
          No-arg constructor required by Externalizable semantics.
TranslatorException(int errorCode, java.lang.String message)
           
TranslatorException(java.lang.String message)
          Construct an instance with the message specified.
TranslatorException(java.lang.String errorCode, java.lang.String message)
           
TranslatorException(java.lang.Throwable e)
          Construct an instance with a linked exception specified.
TranslatorException(java.lang.Throwable e, int errorCode, java.lang.String message)
           
TranslatorException(java.lang.Throwable e, java.lang.String message)
          Construct an instance from a message and an exception to chain to this one.
 
Method Summary
 
Methods inherited from class org.teiid.core.TeiidException
getChild, getCode, getFullMessage, getMessage, getOriginalType, setCode, setOriginalType, toString
 
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
 

Constructor Detail

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 exception
e - 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.