com.ibm.commerce.location.facade.client

Class PointOfInterestException

  • All Implemented Interfaces:
    java.io.Serializable


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

      • PointOfInterestException

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

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

      • getPointOfInterest

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