public class TInvocationException extends TException
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
getAccessFailureException, getAdditionalXMLMessageContent, getCause, getDeepestException, getDeepestTException, getExceptionMessage, getLocale, getMessageCode, getMessageContent, getNestedException, getResourceMessage, getRootCause, getRootTCause, getXMLMessage, getXMLMessage, hasAccessFailureException, hasCause, hasNestedException, printStackTrace, printStackTrace, printStackTrace, setLocale, toString, toXMLString
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
public TInvocationException setNoRetryPossible()
public TInvocationException setRetryPossible()
public boolean isRetryPossible()
Copyright (c) 2017 Software AG. All Rights Reserved.