Dirac - A Video Codec

Created by the British Broadcasting Corporation.


Classes | Namespaces | Defines | Enumerations | Functions

dirac_exception.h File Reference

#include <string>
#include <iostream>
Include dependency graph for dirac_exception.h:

Go to the source code of this file.

Classes

Namespaces

Defines

Enumerations

Functions


Define Documentation

#define DIRAC_CATCH_AND_RETHROW ( )
Value:
catch (const DiracException& e) {                                     \
        DiracException exception(e);           \
        DIRAC_LOG_EXCEPTION(exception)\
        throw exception;                     \
    }
#define DIRAC_LOG_EXCEPTION (   exception)
Value:
{                                                                   \
       if(exception.GetSeverityCode()!=SEVERITY_NO_ERROR)       \
            std::cerr << exception.GetErrorMessage();          \
    }
#define DIRAC_THROW_EXCEPTION (   arg1,
  arg2,
  arg3 
)
Value:
{                                                                   \
        DiracException exception(arg1,arg2, arg3);      \
        DIRAC_LOG_EXCEPTION(exception)  \
        throw exception;                        \
    }

Referenced by dirac::GenericBandCodec< EntropyCodec >::DecodeCoeffBlock().


© 2004 British Broadcasting Corporation. Dirac code licensed under the Mozilla Public License (MPL) Version 1.1.
HTML documentation generated by Dimitri van Heesch's excellent Doxygen tool.