Class ActionServiceTransientException

  • All Implemented Interfaces:
    java.io.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 e.g. because the OpenOffice.org process is not currently running.

    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:
    Serialized Form
    • Method Summary

      • Methods inherited from class org.alfresco.error.AlfrescoRuntimeException

        create, create, getMsgId, getMsgParams, getNumericalId, getRootCause, makeRuntimeException
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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)