←Select platform

BarcodeException Constructor(string,Exception)

Summary
Initializes a new instance of the BarcodeException class with a specified error message and a reference to the inner exception that is the cause of this exception.
Syntax
C#
C++/CLI
Java
Python
public BarcodeException( 
   string message, 
   Exception inner 
) 
public BarcodeException( 
  String message,  
  RuntimeException inner 
) 
public: 
BarcodeException(  
   String^ message, 
   Exception^ inner 
) 
__init__(self,message,inner) # Overloaded constructor 

Parameters

message
The error message that explains the reason for the exception.

inner
The exception that is the cause of the current exception. If the  inner parameter is not null reference (Nothing in VB), the current exception is raised in a catch block that handles the inner exception.

Remarks

This constructor initializes a new BarcodeException class with the Message property set to  message and the Code property set to BarcodeExceptionCode.InvalidType.

Requirements

Target Platforms

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Barcode Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.