Share via


InvalidObjectException Class

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

The exception that is thrown when an object is invalid.

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

Syntax

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

Remarks

All catalog exceptions, including the InvalidObjectException are derived from the CatalogException class. (The ValidationException is derived from the CatalogException class.) The InvalidObjectException is thrown because you have an invalid object.

Inheritance Hierarchy

System..::.Object
  System..::.Exception
    Microsoft.CommerceServer.Catalog..::.CatalogException
      Microsoft.CommerceServer.Catalog..::.ValidationException
        Microsoft.CommerceServer.Catalog..::.InvalidObjectException

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

InvalidObjectException Members

Microsoft.CommerceServer.Catalog Namespace