Jaa


CatalogPricingException Class

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Base Exception for all pricing related exceptions.

Namespace:  Microsoft.CommerceServer.Catalog
Assembly:  Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public Class CatalogPricingException _
    Inherits CatalogException
'Usage
Dim instance As CatalogPricingException
[SerializableAttribute]
public class CatalogPricingException : CatalogException
[SerializableAttribute]
public ref class CatalogPricingException : public CatalogException
public class CatalogPricingException extends CatalogException

Remarks

All catalog exceptions, including the CatalogPricingException are derived from the CatalogException class.

The following exceptions derive from this class:

  • CategoryNullPriceException - The exception that is thrown when using category pricing and a nullNothingnullptra null reference (Nothing in Visual Basic) category price.

  • NoPrimaryParentCategoryException - The exception that is thrown when attempting to set Use Category Pricing on an item with no primary parent category defined.

  • ProductPriceException - The exception that is thrown when the price set for a product is invalid.

Inheritance Hierarchy

System..::.Object
  System..::.Exception
    Microsoft.CommerceServer.Catalog..::.CatalogException
      Microsoft.CommerceServer.Catalog..::.CatalogPricingException
        Microsoft.CommerceServer.Catalog..::.CategoryNullPriceException
        Microsoft.CommerceServer.Catalog..::.NoPrimaryParentCategoryException
        Microsoft.CommerceServer.Catalog..::.ProductPriceException

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

CatalogPricingException Members

Microsoft.CommerceServer.Catalog Namespace