Class TimException
Class TimException.
Inheritance
System.Object
System.Exception
TimException
Implements
System.Runtime.InteropServices._Exception
System.Runtime.Serialization.ISerializable
Inherited Members
System.Exception.GetBaseException()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.Data
System.Exception.HelpLink
System.Exception.HResult
System.Exception.InnerException
System.Exception.Message
System.Exception.Source
System.Exception.StackTrace
System.Exception.TargetSite
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: SIX.TimApi
Assembly: TimApi.dll
Syntax
public class TimException : Exception, _Exception, ISerializable
Constructors
TimException(ResultCode)
Declaration
public TimException(ResultCode resultCode)
Parameters
Type | Name | Description |
---|---|---|
ResultCode | resultCode |
TimException(ResultCode, String, NativeError, PpInfo, Dictionary<String, String>, PrintData, Basket)
Declaration
public TimException(ResultCode resultCode, string errorMessage, NativeError nativeError, PpInfo ppInfo, Dictionary<string, string> additionalErrorInfo, PrintData printData, Basket rejectedBasket)
Parameters
Type | Name | Description |
---|---|---|
ResultCode | resultCode | |
System.String | errorMessage | |
NativeError | nativeError | |
PpInfo | ppInfo | |
System.Collections.Generic.Dictionary<System.String, System.String> | additionalErrorInfo | |
PrintData | printData | |
Basket | rejectedBasket |
Properties
AdditionalErrorInfo
Gets the additional error information.
Declaration
public Dictionary<string, string> AdditionalErrorInfo { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.Dictionary<System.String, System.String> | The additional error information. |
ErrorMessage
Gets the error messagein the ECR language.
Declaration
public string ErrorMessage { get; }
Property Value
Type | Description |
---|---|
System.String |
NativeError
Gets the native error.
Declaration
public NativeError NativeError { get; }
Property Value
Type | Description |
---|---|
NativeError | The native error. |
PpInfo
Payment protocol specific information
Declaration
public PpInfo PpInfo { get; }
Property Value
Type | Description |
---|---|
PpInfo |
PrintData
Gets the print data.
Declaration
public PrintData PrintData { get; }
Property Value
Type | Description |
---|---|
PrintData | The print data. |
RejectedBasket
Getsthe rejected basket.or null if absent
Declaration
public Basket RejectedBasket { get; }
Property Value
Type | Description |
---|---|
Basket | The rejected basket. |
ResultCode
Gets the result code.
Declaration
public ResultCode ResultCode { get; }
Property Value
Type | Description |
---|---|
ResultCode |
Methods
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Exception.ToString()
Implements
System.Runtime.InteropServices._Exception
System.Runtime.Serialization.ISerializable
See Also
System.Exception