OpenZGY/C++ API and Internals (ALPHA)
Access seismic data stored in ZGY format.
Public Member Functions | List of all members
OpenZGY::Errors::ZgyCorruptedFile Class Reference

The ZGY file became corrupted while writing to it. More...

#include <exception.h>

Inheritance diagram for OpenZGY::Errors::ZgyCorruptedFile:
OpenZGY::Errors::ZgyError

Public Member Functions

 ZgyCorruptedFile (const std::string &arg)
 The ZGY file became corrupted while writing to it.
 

Additional Inherited Members

- Protected Member Functions inherited from OpenZGY::Errors::ZgyError
 ZgyError (const std::string &arg)
 Base class for all exceptions thrown by OpenZGY.
 

Detailed Description

The ZGY file became corrupted while writing to it.

No further writes are allowed on this file because a previous write raised an exception and we don't know the file's state. Subsequent writes will also throw this exception.

The safe approach is to assume that the error caused the file to become corrupted. It is recommended that the application closes and deletes the file.


The documentation for this class was generated from the following files: