←Select platform

RasterException Constructor(string,Exception)

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

Parameters

message
A String that describes the error. The content of message is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture.

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

Remarks

This constructor initializes the member of the class as follows:

Member Value
Message message
Code RasterExceptionCode.Success
InnerException inner
Requirements

Target Platforms

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

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