Class UnexpectedRecordException
This exception should be thrown when unexpected record is met in the stream.
Inheritance
Namespace: Syncfusion.XlsIO.Implementation.Exceptions
Assembly: Syncfusion.XlsIO.Portable.dll
Syntax
public class UnexpectedRecordException : ApplicationExceptionConstructors
UnexpectedRecordException()
Initializes a new instance of the class with default error message.
Declaration
public UnexpectedRecordException()UnexpectedRecordException(TBIFFRecord)
Initializes a new instance of the class with default error message.
Declaration
public UnexpectedRecordException(TBIFFRecord recordCode)Parameters
| Type | Name | Description | 
|---|---|---|
| TBIFFRecord | recordCode | Record code that was met. | 
UnexpectedRecordException(String)
Initializes a new instance of the class with a specified error message.
Declaration
public UnexpectedRecordException(string message)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | message | Error message. | 
UnexpectedRecordException(String, Exception)
Initializes a new instance of the Exception class with a specified error message and a reference to the inner exception that is the cause of this exception.
Declaration
public UnexpectedRecordException(string message, Exception innerException)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | message | The error message that explains the reason for the exception. | 
| System.Exception | innerException | The exception that is the cause of the current exception. If the innerException parameter is not a NULL reference (Nothing in Visual Basic), the current exception is raised in a catch block that handles the inner exception. |