Partager via


InvalidSkuException Class

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

The exception that is thrown when an invalid Inventory SKU is used.

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

Syntax

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

Remarks

All catalog exceptions, including the InvalidSkuException are derived from the CatalogException class. (The InvalidCatalogOperationException is derived from the CatalogException class.) The InvalidSkuException is thrown because you have an invalid Inventory SKU.

Inheritance Hierarchy

System..::.Object
  System..::.Exception
    Microsoft.CommerceServer.Catalog..::.CatalogException
      Microsoft.CommerceServer.Catalog..::.InvalidCatalogOperationException
        Microsoft.CommerceServer.Catalog..::.InvalidSkuException

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

InvalidSkuException Members

Microsoft.CommerceServer.Catalog Namespace