com.ibm.commerce.pagelayout.facade.client

Class WidgetDefinitionException

  • All Implemented Interfaces:
    java.io.Serializable


    public class WidgetDefinitionException
    extends AbstractBusinessObjectDocumentException
    This exception represents a business error describing why the request failed. This exception is thrown when the WidgetDefinition service returns error information.
    See Also:
    Serialized Form
    • Constructor Detail

      • WidgetDefinitionException

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

        public WidgetDefinitionException(java.util.List clientErrors)
        Creates an instance of the WidgetDefinition 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

      • getWidgetDefinition

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