←Select platform

RasterException Constructor(string,RasterExceptionCode)

Summary
Initializes a new instance of the RasterException class with a message and LEADTOOLS exception code.
Syntax
C#
C++/CLI
Java
Python
public RasterException( 
   java.lang.String message, 
   RasterExceptionCode code 
); 
public: 
RasterException(  
   String^ message, 
   RasterExceptionCode code 
) 
__init__(self,message,code) # 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.

code
A RasterExceptionCode that specifies what caused this exception.

Remarks

A RasterExceptionCode that specifies what caused this exception. This constructor initializes the class as follows:

Member Value
Message message
Code code
InnerException null reference.
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.