←Select platform

RasterException Constructor(string,RasterExceptionCode)

Summary
Initializes a new instance of the RasterException class with a message and LEADTOOLS exception code.
Syntax
C#
VB
C++
Java
Public Function New( _ 
   ByVal message As String, _ 
   ByVal code As RasterExceptionCode _ 
) 
public RasterException( 
  String message,  
  RasterExceptionCode code 
) 
public: 
RasterException(  
   String^ message, 
   RasterExceptionCode code 
) 

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 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

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