←Select platform

RasterException Constructor(string,Exception)

Summary

Initializes a new instance of the RasterException class with the specified message and inner exception.

Syntax

C#
VB
Java
C++
public RasterException( 
   string message, 
   Exception inner 
) 
Public Function New( _ 
   ByVal message As String, _ 
   ByVal inner As Exception _ 
) 
public RasterException( 
  String message,  
  RuntimeException inner 
) 
             
public: 
RasterException(  
   String^ message, 
   Exception^ inner 
) 

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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly