Documents > BPS V2 C++ API
bpsexception.h File Reference

Public include file for BpsException class. More...

#include "bpscore_global.h"
#include <QString>
#include <QScriptValue>

Go to the source code of this file.

Classes

class  BpsException
 BPS error exception class. More...

Defines

#define bpsMakeException(msg)   BpsException(__FILE__, __LINE__, bStr(__FUNCTION__), msg)
 Convenience macro to create a BpsException.
#define bpsTraceException(exc)   exc.addLocation(__FILE__, __LINE__, bStr(__FUNCTION__))
 Convenience macro to add a location to the traceback stack.

Detailed Description

Public include file for BpsException class.


Define Documentation

#define bpsMakeException (   msg)    BpsException(__FILE__, __LINE__, bStr(__FUNCTION__), msg)
#define bpsTraceException (   exc)    exc.addLocation(__FILE__, __LINE__, bStr(__FUNCTION__))

Convenience macro to add a location to the traceback stack.

See also:
BpsException::addLocation