com.filenet.api.engine

Class EventExternalFailureException

  • All Implemented Interfaces:
    java.io.Externalizable, java.io.Serializable


    public class EventExternalFailureException
    extends EngineRuntimeException
    Intended for implementations of the EventActionHandler interface in asynchronous event processing. Throw this exception to indicate an external failure, and specify wait time for the next retry. The wait time that you pass into the constructor overwrites the default retry wait time from the system configuration (set in GCD).
    See Also:
    Serialized Form
    • Constructor Detail

      • EventExternalFailureException

        public EventExternalFailureException(int waitTimeInSecond)
        Constructs the exception with a retry wait time.
        Parameters:
        waitTimeInSecond - The number of seconds to wait before retrying the external operation that previously failed. Set this parameter to a value of 1 to 86400 seconds.
    • Method Detail

      • getWaitTimeInSecond

        public int getWaitTimeInSecond()
        Gets the value set in the constructor that specifies the wait time before retrying an external operation that previously failed.
        Returns:
        The number of seconds to wait.

© Copyright IBM Corporation 2006, 2013. All rights reserved.