com.ibm.commerce.content.facade.client

Class ManagedFileException

  • All Implemented Interfaces:
    java.io.Serializable


    public class ManagedFileException
    extends AbstractBusinessObjectDocumentException
    This exception represents a business error to why the request was not process sucessfully. This exception will include the response information so the call can examine the response. The purpose of the exception is a convient way for the client to be notified if there was an error when processing instead of having to examine the result returned from the ManagedFile facade.
    See Also:
    Serialized Form
    • Constructor Detail

      • ManagedFileException

        public ManagedFileException(ChangeStatusType changeStatus,
                                    VerbType verb,
                                    java.util.List managedfiles)
        Creates an instance of the ManagedFile exception.
        Parameters:
        changeStatus - The error information that is contained in the ChangeStatus element of the respond or acknowledge verb.
        verb - The returning verb.
        managedfiles - The list of ManagedFile that is associated with the response.
      • ManagedFileException

        public ManagedFileException(java.util.List clientErrors)
        Creates an instance of the ManagedFile exception.
        Parameters:
        clientErrors - The client errors to associate with the exception. These client error represent client side parameter validation that cause the exception.
    • Method Detail

      • getManagedFile

        public java.util.List getManagedFile()
        Returns the ManagedFile that is associated with the response of the request.
        Returns:
        The list of ManagedFile found in the response.