InventoryException

Base for every failure raised by osisa.Inventory. Catch this to handle any inventory problem without catching unrelated exceptions.

public abstract class InventoryException : Exception, ISerializable

1. Constructors

1.1. InventoryException(string)

Initializes a new instance of the InventoryException class.

protected InventoryException(string message)
Table 1. Parameters
Name Type Description

message

string

Why the operation failed.

1.2. InventoryException(string, Exception)

Initializes a new instance of the InventoryException class.

protected InventoryException(string message, Exception innerException)
Table 2. Parameters
Name Type Description

message

string

Why the operation failed.

innerException

Exception

Underlying failure.