Package org.alfresco.service.cmr.action
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:
java.io.Serializable
public class ActionServiceTransientException extends ActionServiceException
This exception should be thrown when anActionhas 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 e.g. because the OpenOffice.org process is not currently running. TheActionServicecan be configured to run acompensating actionwhen another action fails with an exception. If however the exception thrown is an instance ofActionServiceTransientExceptionthen this compensating action will not be run.- Since:
- 4.0.1
- Author:
- Neil Mc Erlean
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ActionServiceTransientException(java.lang.String msgId)ActionServiceTransientException(java.lang.String msgId, java.lang.Object[] msgParams)ActionServiceTransientException(java.lang.String msgId, java.lang.Object[] msgParams, java.lang.Throwable cause)ActionServiceTransientException(java.lang.String msgId, java.lang.Throwable cause)
-
Method Summary
-
Methods inherited from class org.alfresco.error.AlfrescoRuntimeException
create, create, getMsgId, getMsgParams, getNumericalId, getRootCause, makeRuntimeException
-
-
-
-
Constructor Detail
-
ActionServiceTransientException
public ActionServiceTransientException(java.lang.String msgId)
-
ActionServiceTransientException
public ActionServiceTransientException(java.lang.String msgId, java.lang.Object[] msgParams)
-
ActionServiceTransientException
public ActionServiceTransientException(java.lang.String msgId, java.lang.Object[] msgParams, java.lang.Throwable cause)
-
ActionServiceTransientException
public ActionServiceTransientException(java.lang.String msgId, java.lang.Throwable cause)
-
-