This is Unofficial EPICS BASE Doxygen Site
epicsException.h File Reference
#include <stdexcept>
#include <string>
#include <cstdio>
#include <shareLib.h>
+ Include dependency graph for epicsException.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  epics::pvData::ExceptionMixin
 
class  epics::pvData::detail::ExceptionMixed< E >
 
class  epics::pvData::BaseException
 Base for pvData exceptions. More...
 

Namespaces

 epics
 TODO only here because of the Lockable.
 
 epics::pvData
 pvData
 
 epics::pvData::detail
 

Macros

#define EXCEPT_DEPTH   20
 
#define EXCEPT_USE_NONE
 
#define THROW_EXCEPTION(E)
 
#define THROW_EXCEPTION1(TYPE)
 
#define THROW_EXCEPTION2(TYPE, MSG)
 
#define PRINT_EXCEPTION2(EI, FP)
 
#define PRINT_EXCEPTION(EI)   PRINT_EXCEPTION2(EI,stderr)
 
#define SHOW_EXCEPTION(EI)   ::epics::pvData::detail::showException(EI)
 
#define THROW_BASE_EXCEPTION(msg)   THROW_EXCEPTION2(::epics::pvData::BaseException, msg)
 
#define THROW_BASE_EXCEPTION_CAUSE(msg, cause)   THROW_EXCEPTION2(::epics::pvData::BaseException, msg)
 

Macro Definition Documentation

#define EXCEPT_DEPTH   20

Definition at line 44 of file epicsException.h.

#define EXCEPT_USE_NONE

Definition at line 57 of file epicsException.h.

#define PRINT_EXCEPTION (   EI)    PRINT_EXCEPTION2(EI,stderr)

Definition at line 178 of file epicsException.h.

#define PRINT_EXCEPTION2 (   EI,
  FP 
)
Value:
do { \
if (_em_p) {_em_p->print(FP);} \
}while(0)
void print(FILE *fp=stderr) const
if(yy_init)
Definition: scan.c:972

Definition at line 172 of file epicsException.h.

#define SHOW_EXCEPTION (   EI)    ::epics::pvData::detail::showException(EI)

Definition at line 181 of file epicsException.h.

#define THROW_BASE_EXCEPTION (   msg)    THROW_EXCEPTION2(::epics::pvData::BaseException, msg)

Definition at line 231 of file epicsException.h.

#define THROW_BASE_EXCEPTION_CAUSE (   msg,
  cause 
)    THROW_EXCEPTION2(::epics::pvData::BaseException, msg)

Definition at line 232 of file epicsException.h.

#define THROW_EXCEPTION (   E)
Value:
do { \
throw ::epics::pvData::detail::makeException(E, __FILE__, __LINE__); \
} while(0)

Definition at line 155 of file epicsException.h.

#define THROW_EXCEPTION1 (   TYPE)
Value:
do { \
throw ::epics::pvData::detail::ExceptionMixed<TYPE>(__FILE__, __LINE__); \
}while(0)

Definition at line 161 of file epicsException.h.

#define THROW_EXCEPTION2 (   TYPE,
  MSG 
)
Value:
do { \
throw ::epics::pvData::detail::ExceptionMixed<TYPE>(MSG, __FILE__, __LINE__); \
}while(0)

Definition at line 167 of file epicsException.h.