Class ActionServiceTransientException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.alfresco.error.AlfrescoRuntimeException
org.alfresco.service.cmr.action.ActionServiceException
org.alfresco.service.cmr.action.ActionServiceTransientException
All Implemented Interfaces:
Serializable

public class ActionServiceTransientException extends ActionServiceException
This exception should be thrown when an Action has not been run successfully due to a transient condition and where it is possible that a subsequent request to execute the same action might succeed.

An example of this would be the case where a request to create a thumbnail has failed because the necessary thumbnailing software is not available.

The ActionService can be configured to run a compensating action when another action fails with an exception. If however the exception thrown is an instance of ActionServiceTransientException then this compensating action will not be run.

Since:
4.0.1
Author:
Neil Mc Erlean
See Also:
  • Constructor Details

    • ActionServiceTransientException

      public ActionServiceTransientException(String msgId)
    • ActionServiceTransientException

      public ActionServiceTransientException(String msgId, Object[] msgParams)
    • ActionServiceTransientException

      public ActionServiceTransientException(String msgId, Object[] msgParams, Throwable cause)
    • ActionServiceTransientException

      public ActionServiceTransientException(String msgId, Throwable cause)