Try our conversational search powered by Generative AI!

Class OrderException

Implements operations for the order exception class. (Inherits System.Exception.)

Inheritance
System.Object
System.Exception
OrderException
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception
Inherited Members
System.Exception.GetBaseException()
System.Exception.ToString()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.Message
System.Exception.Data
System.Exception.InnerException
System.Exception.TargetSite
System.Exception.StackTrace
System.Exception.HelpLink
System.Exception.Source
System.Exception.HResult
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
Namespace: Mediachase.Commerce.Orders.Exceptions
Assembly: Mediachase.Commerce.dll
Version: 10.8.0
Syntax
public class OrderException : Exception, ISerializable, _Exception

Constructors

OrderException()

Initializes a new instance of the OrderException class.

Declaration
public OrderException()

OrderException(SerializationInfo, StreamingContext)

Initializes a new instance of the OrderException class.

Declaration
protected OrderException(SerializationInfo info, StreamingContext context)
Parameters
Type Name Description
System.Runtime.Serialization.SerializationInfo info

The System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown.

System.Runtime.Serialization.StreamingContext context

The System.Runtime.Serialization.StreamingContext that contains contextual information about the source or destination.

Exceptions
Type Condition
System.ArgumentNullException

The info parameter is null.

System.Runtime.Serialization.SerializationException

The class name is null or System.Exception.HResult is zero (0).

OrderException(String)

Initializes a new instance of the OrderException class.

Declaration
public OrderException(string message)
Parameters
Type Name Description
System.String message

The message.

OrderException(String, Exception)

Initializes a new instance of the OrderException class.

Declaration
public OrderException(string message, Exception inner)
Parameters
Type Name Description
System.String message

The message.

System.Exception inner

The inner.

Implements

System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception