code: public void checkMultiOperationException(I_CmsMessageBundle messages, String key) throws CmsException {
  
          if (m_multiOperationException.hasExceptions()) {
              m_multiOperationException.setMessage(
                  new CmsMessageContainer(messages, key, new Object[] {m_multiOperationException}));
              throw m_multiOperationException;
          }
      }
docs: Checks if an exception occurred during a multi resource operation, and throws a new exception if necessary.<p>
  
  @param messages the message bundle to use for the exception message generation
  @param key the key for the exception to throw with one parameter
  @throws CmsException the exception that is thrown when the multi operation was not successful