OpenZGY/C++ Public API (ALPHA)
Access seismic data stored in ZGY format.
Classes | Namespaces
exception.h File Reference

Defines exceptions that may be raised by OpenZGY. More...

#include "declspec.h"
#include <stdexcept>

Go to the source code of this file.

Classes

class  OpenZGY::Errors::ZgyError
 Base class for all exceptions thrown by OpenZGY. More...
 
class  OpenZGY::Errors::ZgyFormatError
 Corrupted or unsupported ZGY file. More...
 
class  OpenZGY::Errors::ZgyCorruptedFile
 The ZGY file became corrupted while writing to it. More...
 
class  OpenZGY::Errors::ZgyUserError
 Exception that might be caused by the calling application. More...
 
class  OpenZGY::Errors::ZgyInternalError
 Exception that might be caused by a bug in OpenZGY. More...
 
class  OpenZGY::Errors::ZgyEndOfFile
 Trying to read past EOF. More...
 
class  OpenZGY::Errors::ZgySegmentIsClosed
 Exception used internally to request a retry. More...
 
class  OpenZGY::Errors::ZgyAborted
 User aborted the computation. More...
 
class  OpenZGY::Errors::ZgyMissingFeature
 Missing feature. More...
 
class  OpenZGY::Errors::ZgyIoError
 Exception from the I/O layer. More...
 

Namespaces

 OpenZGY
 The entire public API is in this namespace.
 
 OpenZGY::Errors
 Exceptions that can be thrown by OpenZGY.
 

Detailed Description

Defines exceptions that may be raised by OpenZGY.

These classes are both visible to the OpenZGY public API and referenced directly from the implementation classes. I apologize for the broken encapsulation. Re-mapping the exceptions in the API layer didn't seem worth the trouble.