code: private ReceiveListenerErrorOccurredInvocation allocateErrorOccurredInvocation(Connection connection,
                                                                     ReceiveListener listener,
                                                                     SIConnectionLostException exception,
                                                                     int segmentType,
                                                                     int requestNumber,
                                                                     int priority,
                                                                     Conversation conversation)
     {
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "allocateErrorOccurredInvocation", new Object[] {connection, listener, exception, ""+segmentType, ""+requestNumber, ""+priority, conversation});
        ReceiveListenerErrorOccurredInvocation retInvocation = (ReceiveListenerErrorOccurredInvocation)receiveListenerErrorOccurredInvocationPool.remove();
        if (retInvocation == null)
        {
           retInvocation = new ReceiveListenerErrorOccurredInvocation(connection,
                                                                      listener,
                                                                      exception,
                                                                      segmentType,
                                                                      requestNumber,
                                                                      priority,
                                                                      conversation,
                                                                      receiveListenerErrorOccurredInvocationPool);
        }
        else
        {
           retInvocation.reset(connection,
                               listener,
                               exception,
                               segmentType,
                               requestNumber,
                               priority,
                               conversation);
        }
  
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(this, tc, "allocateErrorOccurredInvocation", retInvocation);
        return retInvocation;
     }
docs: Allocates an error occurred object from an object pool.