org.teiid.core
Class TeiidComponentException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.teiid.core.TeiidException
              extended by org.teiid.core.TeiidComponentException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
BlockedException, ComponentNotFoundException, QueryMetadataException

public class TeiidComponentException
extends TeiidException

Exception which occurs if an error occurs within the server that is not business-related. For instance, if a service or bean is not available or communication fails.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.teiid.core.TeiidException
code
 
Constructor Summary
TeiidComponentException()
          No-arg CTOR
TeiidComponentException(java.lang.String message)
          Construct an instance with the message specified.
TeiidComponentException(java.lang.String code, java.lang.String message)
          Construct an instance with the message and error code specified.
TeiidComponentException(java.lang.Throwable e)
          Construct an instance with a linked exception specified.
TeiidComponentException(java.lang.Throwable e, java.lang.String message)
          Construct an instance from a message and an exception to chain to this one.
TeiidComponentException(java.lang.Throwable e, java.lang.String code, java.lang.String message)
          Construct an instance from a message and a code 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

TeiidComponentException

public TeiidComponentException()
No-arg CTOR


TeiidComponentException

public TeiidComponentException(java.lang.String message)
Construct an instance with the message specified.

Parameters:
message - A message describing the exception

TeiidComponentException

public TeiidComponentException(java.lang.Throwable e)
Construct an instance with a linked exception specified.

Parameters:
e - An exception to chain to this exception

TeiidComponentException

public TeiidComponentException(java.lang.String code,
                               java.lang.String message)
Construct an instance with the message and error code specified.

Parameters:
message - A message describing the exception
code - The error code

TeiidComponentException

public TeiidComponentException(java.lang.Throwable e,
                               java.lang.String message)
Construct an instance from a message and an exception to chain to this one.

Parameters:
e - An exception to nest within this one
message - A message describing the exception

TeiidComponentException

public TeiidComponentException(java.lang.Throwable e,
                               java.lang.String code,
                               java.lang.String message)
Construct an instance from a message and a code and an exception to chain to this one.

Parameters:
e - An exception to nest within this one
message - A message describing the exception
code - A code denoting the exception


Copyright © 2010. All Rights Reserved.