com.softwareag.tamino.db.api.accessor
Class TAccessorException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.softwareag.tamino.db.api.common.TException
              extended by com.softwareag.tamino.db.api.accessor.TAccessorException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
TAdminException, TCursorException, TDefineException, TDeleteException, TInsertException, TQueryException, TRetrieveException, TUndefineException, TUpdateException, TXQTypeException, TXQueryException

public class TAccessorException
extends TException

TAccessorException is the general purponse exception class for the accessor interfaces.

Version:
$Revision: 1.18 $
Author:
Marcus Schreyer
See Also:
Serialized Form

Constructor Summary
TAccessorException(java.lang.Exception nestedException, java.util.Locale locale)
          Initializes a TAccessorException instance with an internal nested exception.
TAccessorException(java.lang.String message, java.lang.Exception nestedException, java.util.Locale locale)
          Initializes a TAccessorException instance with a message and an internal nested exception.
TAccessorException(java.lang.String message, java.util.Locale locale)
          Initializes a TAccessorException instance with a message.
TAccessorException(TResourceId resourceId, java.lang.Exception nestedException, java.util.Locale locale)
          Initializes a TAccessorException instance with a resource message and an internal nested exception.
TAccessorException(TResourceId resourceId, java.util.Locale locale)
          Initializes a TAccessorException instance with a resource message.
 
Method Summary
 TAccessFailureMessage getAccessFailureMessage()
          Deprecated. Please use the method TException.getAccessFailureException(..) instead.
 boolean hasAccessFailureMessage()
          Deprecated. Please use the method TException.hasAccessFailureException(..) instead.
 
Methods inherited from class com.softwareag.tamino.db.api.common.TException
getAccessFailureException, getAdditionalXMLMessageContent, getCause, getDeepestException, getDeepestTException, getExceptionMessage, getLocale, getMessageCode, getMessageContent, getNestedException, getResourceMessage, getRootCause, getRootTCause, getXMLMessage, getXMLMessage, hasAccessFailureException, hasCause, hasNestedException, printStackTrace, printStackTrace, printStackTrace, setLocale, toString, toXMLString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TAccessorException

public TAccessorException(java.lang.String message,
                          java.util.Locale locale)
Initializes a TAccessorException instance with a message.

Parameters:
message - is handed further to the base class.
locale - the locale.

TAccessorException

public TAccessorException(java.lang.String message,
                          java.lang.Exception nestedException,
                          java.util.Locale locale)
Initializes a TAccessorException instance with a message and an internal nested exception.

Parameters:
message - is handed further to the base class.
nestedException - can be nested into a TAccessorException if it is given.
locale - the locale.

TAccessorException

public TAccessorException(java.lang.Exception nestedException,
                          java.util.Locale locale)
Initializes a TAccessorException instance with an internal nested exception.

Parameters:
nestedException - can be nested into a TAccessorException if it is given.
locale - the locale.

TAccessorException

public TAccessorException(TResourceId resourceId,
                          java.util.Locale locale)
Initializes a TAccessorException instance with a resource message.

Parameters:
resourceId - containing the message of this exception
locale - the locale.
See Also:
TResourceId

TAccessorException

public TAccessorException(TResourceId resourceId,
                          java.lang.Exception nestedException,
                          java.util.Locale locale)
Initializes a TAccessorException instance with a resource message and an internal nested exception.

Parameters:
resourceId - containing the message of this exception
nestedException - can be nested into a TException if it is given
locale - the locale.
See Also:
TResourceId
Method Detail

getAccessFailureMessage

public TAccessFailureMessage getAccessFailureMessage()
Deprecated. Please use the method TException.getAccessFailureException(..) instead.

Gets the TAccessFailureMessage that might be given due to a access failure.


hasAccessFailureMessage

public boolean hasAccessFailureMessage()
Deprecated. Please use the method TException.hasAccessFailureException(..) instead.

Indicates if the exception carries an access failure message.



Copyright (c) 2013 Software AG. All Rights Reserved.