Share via


PosException Class

Definition

Defines the programmatic interface for a generic exception in the POS for .NET system. All other exception classes inherit from PosException.

[System.Serializable]
public abstract class PosException : Exception
[<System.Serializable>]
type PosException = class
    inherit Exception
    interface ISerializable
Public MustInherit Class PosException
Inherits Exception
Inheritance
PosException
Derived
Attributes
Implements

Constructors

PosException()

Creates an instance of the PosException class.

PosException(SerializationInfo, StreamingContext)

Creates an instance of the PosException class with serialized data.

PosException(String, ErrorCode, Int32, Exception)

Creates an instance of the PosException class with a specified error message, error code, and extended error code value.

PosException(String, ErrorCode, Int32)

Creates an instance of the PosException class with a specified error message, error code, and extended error code values.

PosException(String, Exception)

Creates an instance of the PosException class with a specified error message and a reference to the inner exception that is the cause of this exception.

PosException(String)

Creates an instance of the PosException class with a specified error message.

Methods

GetObjectData(SerializationInfo, StreamingContext)

Sets the SerializationInfo with information about the exception.

Applies to