com.ibm.commerce.context.content.resources.exception

Class ResourceExceptionHelper

  • java.lang.Object
    • com.ibm.commerce.context.content.resources.exception.ResourceExceptionHelper


  • public class ResourceExceptionHelper
    extends java.lang.Object
    This class defines a resource exception helper for converting exceptions.
    • Method Detail

      • convertResourceLockedExceptionToEcSystemException

        public static ECSystemException convertResourceLockedExceptionToEcSystemException(java.lang.String className,
                                                                                          java.lang.String methodName,
                                                                                          ResourceLockedException exception)
        This method returns an ECSystemException that represents the locked exception.
        Parameters:
        className - The class catching the exception.
        methodName - The method catching the exception.
        exception - The resource locked exception.
        Returns:
        The ECSystemException version of the resource locked exception.