Image Generator SDK  4.24.0
The Image Generator SDK provides a library to generate QR codes and CrontoSign images
ImageGeneratorSDKException Class Reference

Main class for Image Generator SDK exception More...

Inherits Exception.

Public Member Functions

 ImageGeneratorSDKException (int errorCode, Exception cause)
 Constructs an exception with this error code and its main cause More...
 
 ImageGeneratorSDKException (int errorCode)
 Constructor for setting exception with this error code More...
 
override void GetObjectData (SerializationInfo info, StreamingContext context)
 Sets alternate information about exception https://docs.microsoft.com/en-us/dotnet/api/system.runtime.serialization.iserializable.getobjectdata?view=netcore-3.1 More...
 

Protected Member Functions

 ImageGeneratorSDKException (SerializationInfo info, StreamingContext context)
 Creates instance of exception by using SerializationInfo and StreamingContext More...
 

Properties

int ErrorCode [get]
 Error code returned by the Image Generator SDK More...
 
Exception Cause [get]
 Base exception More...
 
override string Message [get]
 
Returns
the error message
More...
 

Detailed Description

Main class for Image Generator SDK exception

Constructor & Destructor Documentation

◆ ImageGeneratorSDKException() [1/3]

ImageGeneratorSDKException ( int  errorCode,
Exception  cause 
)

Constructs an exception with this error code and its main cause

Parameters
errorCodeThe error code
causeThe main cause of the exception

◆ ImageGeneratorSDKException() [2/3]

ImageGeneratorSDKException ( int  errorCode)

Constructor for setting exception with this error code

Parameters
errorCodeThe error code

◆ ImageGeneratorSDKException() [3/3]

ImageGeneratorSDKException ( SerializationInfo  info,
StreamingContext  context 
)
protected

Creates instance of exception by using SerializationInfo and StreamingContext

Parameters
info
context

Member Function Documentation

◆ GetObjectData()

override void GetObjectData ( SerializationInfo  info,
StreamingContext  context 
)

Property Documentation

◆ Cause

Exception Cause
get

Base exception

◆ ErrorCode

int ErrorCode
get

Error code returned by the Image Generator SDK

◆ Message

override string Message
get

Returns
the error message


The documentation for this class was generated from the following file: