|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.softwareag.tamino.db.api.common.TException
com.softwareag.tamino.db.api.invocation.TInvocationException
public class TInvocationException
TInvocationException is a general exception which will be thrown on failures in HTTP invocation layer
Constructor Summary | |
---|---|
TInvocationException(java.lang.String message,
java.util.Locale locale)
Initializes a TInvocationException instance with a message. |
|
TInvocationException(java.lang.String message,
java.lang.Throwable nestedException,
java.util.Locale locale)
Initializes a TInvocationException instance with a message and an internal nested exception. |
|
TInvocationException(java.lang.Throwable nestedException,
java.util.Locale locale)
Initializes a TInvocationException instance with an internal nested exception. |
|
TInvocationException(TResourceId resourceId,
java.util.Locale locale)
Initializes a TInvocationException instance with a resource message. |
|
TInvocationException(TResourceId resourceId,
java.lang.Throwable nestedException,
java.util.Locale locale)
Initializes a TInvocationException instance with a resource message and an internal nested exception. |
Method Summary | |
---|---|
boolean |
isRetryPossible()
Chekc whether a retry might be possible. |
TInvocationException |
setNoRetryPossible()
Set the retry hint to false. |
TInvocationException |
setRetryPossible()
Set the retry hint to true. |
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 |
---|
public TInvocationException(java.lang.String message, java.util.Locale locale)
message
- is handed further to the base class.locale
- the localepublic TInvocationException(java.lang.String message, java.lang.Throwable nestedException, java.util.Locale locale)
message
- is handed further to the base class.nestedException
- can be nested into a TInvocationException if it is given.locale
- the localepublic TInvocationException(java.lang.Throwable nestedException, java.util.Locale locale)
nestedException
- can be nested into a TInvocationException if it is given.locale
- the localepublic TInvocationException(TResourceId resourceId, java.util.Locale locale)
resourceId
- containing the message of this exceptionlocale
- the localeTResourceId
public TInvocationException(TResourceId resourceId, java.lang.Throwable nestedException, java.util.Locale locale)
resourceId
- containing the message of this exceptionnestedException
- can be nested into a TException if it is givenlocale
- the localeTResourceId
Method Detail |
---|
public TInvocationException setNoRetryPossible()
public TInvocationException setRetryPossible()
public boolean isRetryPossible()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |