com.ibm.commerce.pagelayout.facade.client

Class LayoutException

  • All Implemented Interfaces:
    java.io.Serializable


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

      • LayoutException

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

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

      • getLayout

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