Table of Contents

Class GribFormatException

Namespace
EncDotNet.S100.Datasets.Grib
Assembly
EncDotNet.S100.Datasets.Grib.dll

Thrown when a file isn't valid GRIB2: a message is truncated, a section length doesn't fit, or a required section is missing. The message names what's wrong and, where it helps, the byte offset.

public class GribFormatException : FormatException, ISerializable
Inheritance
GribFormatException
Implements
Inherited Members

Remarks

A file that is valid but uses something this decoder doesn't support, such as GRIB edition 1 or CCSDS packing, throws UnsupportedGribException instead.

Constructors

GribFormatException(string)

Creates the exception with a message.

public GribFormatException(string message)

Parameters

message string

What's wrong with the file.

GribFormatException(string, Exception)

Creates the exception with a message and an inner exception.

public GribFormatException(string message, Exception innerException)

Parameters

message string

What's wrong with the file.

innerException Exception

The exception that caused this one.