/** * 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 */ 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; } }
/** * 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 */ 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; } }
if (resourceIssues.hasExceptions() || permissionIssues.hasExceptions()) {
if (resourceIssues.hasExceptions() || permissionIssues.hasExceptions()) {