ESRF Logo

Elettra Logo

Soleil Logo

Alba Logo

Desy Logo

MAX-lab Logo

FRM2 Logo


SYNCHROTRON ALBA --- SYNCHROTRON ELETTRA

EUROPEAN SYNCHROTRON RADIATION FACILITY --- SYNCHROTRON PETRA III

SYNCHROTRON SOLEIL --- SYNCHROTRON MAX 4

NEUTRON SOURCE FRM 2

Tango::Except Class Reference

Container class for all exception related methods. More...

#include <except.h>

List of all members.

Static Public Member Functions

Exception related method
static void print_exception (const CORBA::Exception &ex)
 Print a TANGO exception.
Error stack related method
static void print_error_stack (const Tango::DevErrorList &ex)
 Print a TANGO error stack.
Throw exception inline methods (static)
static void throw_exception (const char *reason, const char *desc, const char *origin, Tango::ErrSeverity sever=Tango::ERR)
 Generate and throw a TANGO DevFailed exception.
static void throw_exception (const char *reason, const char *desc, char *origin, Tango::ErrSeverity sever=Tango::ERR)
 Generate and throw a TANGO DevFailed exception.
static void throw_exception (const char *reason, char *desc, const char *origin, Tango::ErrSeverity sever=Tango::ERR)
 Generate and throw a TANGO DevFailed exception.
static void throw_exception (const char *reason, char *desc, char *origin, Tango::ErrSeverity sever=Tango::ERR)
 Generate and throw a TANGO DevFailed exception.
static void throw_exception (char *reason, const char *desc, const char *origin, Tango::ErrSeverity sever=Tango::ERR)
 Generate and throw a TANGO DevFailed exception.
static void throw_exception (char *reason, const char *desc, char *origin, Tango::ErrSeverity sever=Tango::ERR)
 Generate and throw a TANGO DevFailed exception.
static void throw_exception (char *reason, char *desc, const char *origin, Tango::ErrSeverity sever=Tango::ERR)
 Generate and throw a TANGO DevFailed exception.
static void throw_exception (char *reason, char *desc, char *origin, Tango::ErrSeverity sever=Tango::ERR)
 Generate and throw a TANGO DevFailed exception.
static void throw_exception (const string &reason, const string &desc, const string &origin, Tango::ErrSeverity sever=Tango::ERR)
 Generate and throw a TANGO DevFailed exception.
static void throw_exception (const string &reason, const string &desc, const char *origin, Tango::ErrSeverity sever=Tango::ERR)
 Generate and throw a TANGO DevFailed exception.
static void throw_exception (const string &reason, const char *desc, const string &origin, Tango::ErrSeverity sever=Tango::ERR)
 Generate and throw a TANGO DevFailed exception.
static void throw_exception (const string &reason, const char *desc, const char *origin, Tango::ErrSeverity sever=Tango::ERR)
 Generate and throw a TANGO DevFailed exception.
static void throw_exception (const char *reason, const string &desc, const string &origin, Tango::ErrSeverity sever=Tango::ERR)
 Generate and throw a TANGO DevFailed exception.
static void throw_exception (const char *reason, const string &desc, const char *origin, Tango::ErrSeverity sever=Tango::ERR)
 Generate and throw a TANGO DevFailed exception.
static void throw_exception (const char *reason, const char *desc, const string &origin, Tango::ErrSeverity sever=Tango::ERR)
 Generate and throw a TANGO DevFailed exception.
static void throw_exception (const string &reason, const string &desc, char *origin, Tango::ErrSeverity sever=Tango::ERR)
 Generate and throw a TANGO DevFailed exception.
static void throw_exception (const string &reason, char *desc, const string &origin, Tango::ErrSeverity sever=Tango::ERR)
 Generate and throw a TANGO DevFailed exception.
static void throw_exception (const string &reason, char *desc, char *origin, Tango::ErrSeverity sever=Tango::ERR)
 Generate and throw a TANGO DevFailed exception.
static void throw_exception (char *reason, const string &desc, const string &origin, Tango::ErrSeverity sever=Tango::ERR)
 Generate and throw a TANGO DevFailed exception.
static void throw_exception (char *reason, const string &desc, char *origin, Tango::ErrSeverity sever=Tango::ERR)
 Generate and throw a TANGO DevFailed exception.
static void throw_exception (char *reason, char *desc, const string &origin, Tango::ErrSeverity sever=Tango::ERR)
 Generate and throw a TANGO DevFailed exception.
Re-throw exception inline methods (static)
static void re_throw_exception (Tango::DevFailed &ex, const char *reason, const char *desc, const char *origin, Tango::ErrSeverity sever=Tango::ERR)
 Re-throw a TANGO DevFailed exception with one more error.
static void re_throw_exception (Tango::DevFailed &ex, const char *reason, const char *desc, char *origin, Tango::ErrSeverity sever=Tango::ERR)
 Re-throw a TANGO DevFailed exception with one more error.
static void re_throw_exception (Tango::DevFailed &ex, const char *reason, char *desc, const char *origin, Tango::ErrSeverity sever=Tango::ERR)
 Re-throw a TANGO DevFailed exception with one more error.
static void re_throw_exception (Tango::DevFailed &ex, const char *reason, char *desc, char *origin, Tango::ErrSeverity sever=Tango::ERR)
 Re-throw a TANGO DevFailed exception with one more error.
static void re_throw_exception (Tango::DevFailed &ex, char *reason, const char *desc, const char *origin, Tango::ErrSeverity sever=Tango::ERR)
 Re-throw a TANGO DevFailed exception with one more error.
static void re_throw_exception (Tango::DevFailed &ex, char *reason, const char *desc, char *origin, Tango::ErrSeverity sever=Tango::ERR)
 Re-throw a TANGO DevFailed exception with one more error.
static void re_throw_exception (Tango::DevFailed &ex, char *reason, char *desc, const char *origin, Tango::ErrSeverity sever=Tango::ERR)
 Re-throw a TANGO DevFailed exception with one more error.
static void re_throw_exception (Tango::DevFailed &ex, char *reason, char *desc, char *origin, Tango::ErrSeverity sever=Tango::ERR)
 Re-throw a TANGO DevFailed exception with one more error.
static void re_throw_exception (Tango::DevFailed &ex, const string &reason, const string &desc, const string &origin, Tango::ErrSeverity sever=Tango::ERR)
 Re-throw a TANGO DevFailed exception with one more error.
static void re_throw_exception (Tango::DevFailed &ex, const string &reason, const string &desc, const char *origin, Tango::ErrSeverity sever=Tango::ERR)
 Re-throw a TANGO DevFailed exception with one more error.
static void re_throw_exception (Tango::DevFailed &ex, const string &reason, const char *desc, const string &origin, Tango::ErrSeverity sever=Tango::ERR)
 Re-throw a TANGO DevFailed exception with one more error.
static void re_throw_exception (Tango::DevFailed &ex, const string &reason, const char *desc, const char *origin, Tango::ErrSeverity sever=Tango::ERR)
 Re-throw a TANGO DevFailed exception with one more error.
static void re_throw_exception (Tango::DevFailed &ex, const char *reason, const string &desc, const string &origin, Tango::ErrSeverity sever=Tango::ERR)
 Re-throw a TANGO DevFailed exception with one more error.
static void re_throw_exception (Tango::DevFailed &ex, const char *reason, const string &desc, const char *origin, Tango::ErrSeverity sever=Tango::ERR)
 Re-throw a TANGO DevFailed exception with one more error.
static void re_throw_exception (Tango::DevFailed &ex, const char *reason, const char *desc, const string &origin, Tango::ErrSeverity sever=Tango::ERR)
 Re-throw a TANGO DevFailed exception with one more error.
static void re_throw_exception (Tango::DevFailed &ex, const string &reason, const string &desc, char *origin, Tango::ErrSeverity sever=Tango::ERR)
 Re-throw a TANGO DevFailed exception with one more error.
static void re_throw_exception (Tango::DevFailed &ex, const string &reason, char *desc, const string &origin, Tango::ErrSeverity sever=Tango::ERR)
 Re-throw a TANGO DevFailed exception with one more error.
static void re_throw_exception (Tango::DevFailed &ex, const string &reason, char *desc, char *origin, Tango::ErrSeverity sever=Tango::ERR)
 Re-throw a TANGO DevFailed exception with one more error.
static void re_throw_exception (Tango::DevFailed &ex, char *reason, const string &desc, const string &origin, Tango::ErrSeverity sever=Tango::ERR)
 Re-throw a TANGO DevFailed exception with one more error.
static void re_throw_exception (Tango::DevFailed &ex, char *reason, const string &desc, char *origin, Tango::ErrSeverity sever=Tango::ERR)
 Re-throw a TANGO DevFailed exception with one more error.
static void re_throw_exception (Tango::DevFailed &ex, char *reason, char *desc, const string &origin, Tango::ErrSeverity sever=Tango::ERR)
 Re-throw a TANGO DevFailed exception with one more error.
Other throw exception methods
static void throw_exception (const CORBA::SystemException &ex, const char *origin)
 Generate and throw a TANGO DevFailed exception.
static void throw_exception (const CORBA::SystemException &ex, char *origin)
 Generate and throw a TANGO DevFailed exception.
static void throw_exception (const CORBA::SystemException &ex, const string &origin)
 Generate and throw a TANGO DevFailed exception.
static bool compare_exception (Tango::DevFailed &ex1, Tango::DevFailed &ex2)
 Compare two Tango DevFailed exceptions for equality.


Detailed Description

Container class for all exception related methods.

Most of these methods are static methods

Author
taurel
Revision
15556

Member Function Documentation

static bool Tango::Except::compare_exception ( Tango::DevFailed &  ex1,
Tango::DevFailed &  ex2 
) [static]

Compare two Tango DevFailed exceptions for equality.

The two DevFailed exceptions are verified by comparing the reason, origin, description and severity of all exceptions in the error stack. The strings reason, origin and description are compared literally. Click here to read DevFailed exception specification

Parameters:
ex1 The first DevFailed exception
ex2 The second DevFailed exception
Returns:
A boolean set to true if the two exceptions are equal

static void Tango::Except::print_error_stack ( const Tango::DevErrorList &  ex  )  [static]

Print a TANGO error stack.

Print all the details of a TANGO error stack.

Parameters:
ex The error stack reference

static void Tango::Except::print_exception ( const CORBA::Exception &  ex  )  [static]

Print a TANGO exception.

Print all the details of a TANGO exception.

Parameters:
ex The exception object reference

static void Tango::Except::re_throw_exception ( Tango::DevFailed &  ex,
char *  reason,
char *  desc,
const string &  origin,
Tango::ErrSeverity  sever = Tango::ERR 
) [inline, static]

Re-throw a TANGO DevFailed exception with one more error.

The exception is re-thrown with one more DevError object. A default value "Tango::ERR" is defined for the new DevError severity field. The memory used by the reason and desc parameter will be freed by this method Click here to read DevFailed exception specification

Parameters:
ex The DevFailed exception
reason The exception DevError object reason field
desc The exception DevError object desc field
origin The exception DevError object origin field
sever The exception DevError object severity field
Exceptions:
DevFailed The thrown exception. Click here to read DevFailed exception specification

static void Tango::Except::re_throw_exception ( Tango::DevFailed &  ex,
char *  reason,
const string &  desc,
char *  origin,
Tango::ErrSeverity  sever = Tango::ERR 
) [inline, static]

Re-throw a TANGO DevFailed exception with one more error.

The exception is re-thrown with one more DevError object. A default value "Tango::ERR" is defined for the new DevError severity field. The memory used by the reason and origin parameters will be freed by this method Click here to read DevFailed exception specification

Parameters:
ex The DevFailed exception
reason The exception DevError object reason field
desc The exception DevError object desc field
origin The exception DevError object origin field
sever The exception DevError object severity field
Exceptions:
DevFailed The thrown exception. Click here to read DevFailed exception specification

static void Tango::Except::re_throw_exception ( Tango::DevFailed &  ex,
char *  reason,
const string &  desc,
const string &  origin,
Tango::ErrSeverity  sever = Tango::ERR 
) [inline, static]

Re-throw a TANGO DevFailed exception with one more error.

The exception is re-thrown with one more DevError object. A default value "Tango::ERR" is defined for the new DevError severity field. The memory used by the reason parameter will be freed by this method Click here to read DevFailed exception specification

Parameters:
ex The DevFailed exception
reason The exception DevError object reason field
desc The exception DevError object desc field
origin The exception DevError object origin field
sever The exception DevError object severity field
Exceptions:
DevFailed The thrown exception. Click here to read DevFailed exception specification

static void Tango::Except::re_throw_exception ( Tango::DevFailed &  ex,
const string &  reason,
char *  desc,
char *  origin,
Tango::ErrSeverity  sever = Tango::ERR 
) [inline, static]

Re-throw a TANGO DevFailed exception with one more error.

The exception is re-thrown with one more DevError object. A default value "Tango::ERR" is defined for the new DevError severity field. The memory used by the origin and desc parameters will be freed by this method Click here to read DevFailed exception specification

Parameters:
ex The DevFailed exception
reason The exception DevError object reason field
desc The exception DevError object desc field
origin The exception DevError object origin field
sever The exception DevError object severity field
Exceptions:
DevFailed The thrown exception. Click here to read DevFailed exception specification

static void Tango::Except::re_throw_exception ( Tango::DevFailed &  ex,
const string &  reason,
char *  desc,
const string &  origin,
Tango::ErrSeverity  sever = Tango::ERR 
) [inline, static]

Re-throw a TANGO DevFailed exception with one more error.

The exception is re-thrown with one more DevError object. A default value "Tango::ERR" is defined for the new DevError severity field. The memory used by the desc parameter will be freed by this method Click here to read DevFailed exception specification

Parameters:
ex The DevFailed exception
reason The exception DevError object reason field
desc The exception DevError object desc field
origin The exception DevError object origin field
sever The exception DevError object severity field
Exceptions:
DevFailed The thrown exception. Click here to read DevFailed exception specification

static void Tango::Except::re_throw_exception ( Tango::DevFailed &  ex,
const string &  reason,
const string &  desc,
char *  origin,
Tango::ErrSeverity  sever = Tango::ERR 
) [inline, static]

Re-throw a TANGO DevFailed exception with one more error.

The exception is re-thrown with one more DevError object. A default value "Tango::ERR" is defined for the new DevError severity field. The memory used by the origin parameter will be freed by this method Click here to read DevFailed exception specification

Parameters:
ex The DevFailed exception
reason The exception DevError object reason field
desc The exception DevError object desc field
origin The exception DevError object origin field
sever The exception DevError object severity field
Exceptions:
DevFailed The thrown exception. Click here to read DevFailed exception specification

static void Tango::Except::re_throw_exception ( Tango::DevFailed &  ex,
const char *  reason,
const char *  desc,
const string &  origin,
Tango::ErrSeverity  sever = Tango::ERR 
) [inline, static]

Re-throw a TANGO DevFailed exception with one more error.

The exception is re-thrown with one more DevError object. A default value "Tango::ERR" is defined for the new DevError severity field. Click here to read DevFailed exception specification

Parameters:
ex The DevFailed exception
reason The exception DevError object reason field
desc The exception DevError object desc field
origin The exception DevError object origin field
sever The exception DevError object severity field
Exceptions:
DevFailed The thrown exception. Click here to read DevFailed exception specification

static void Tango::Except::re_throw_exception ( Tango::DevFailed &  ex,
const char *  reason,
const string &  desc,
const char *  origin,
Tango::ErrSeverity  sever = Tango::ERR 
) [inline, static]

Re-throw a TANGO DevFailed exception with one more error.

The exception is re-thrown with one more DevError object. A default value "Tango::ERR" is defined for the new DevError severity field. Click here to read DevFailed exception specification

Parameters:
ex The DevFailed exception
reason The exception DevError object reason field
desc The exception DevError object desc field
origin The exception DevError object origin field
sever The exception DevError object severity field
Exceptions:
DevFailed The thrown exception. Click here to read DevFailed exception specification

static void Tango::Except::re_throw_exception ( Tango::DevFailed &  ex,
const char *  reason,
const string &  desc,
const string &  origin,
Tango::ErrSeverity  sever = Tango::ERR 
) [inline, static]

Re-throw a TANGO DevFailed exception with one more error.

The exception is re-thrown with one more DevError object. A default value "Tango::ERR" is defined for the new DevError severity field. Click here to read DevFailed exception specification

Parameters:
ex The DevFailed exception
reason The exception DevError object reason field
desc The exception DevError object desc field
origin The exception DevError object origin field
sever The exception DevError object severity field
Exceptions:
DevFailed The thrown exception. Click here to read DevFailed exception specification

static void Tango::Except::re_throw_exception ( Tango::DevFailed &  ex,
const string &  reason,
const char *  desc,
const char *  origin,
Tango::ErrSeverity  sever = Tango::ERR 
) [inline, static]

Re-throw a TANGO DevFailed exception with one more error.

The exception is re-thrown with one more DevError object. A default value "Tango::ERR" is defined for the new DevError severity field. Click here to read DevFailed exception specification

Parameters:
ex The DevFailed exception
reason The exception DevError object reason field
desc The exception DevError object desc field
origin The exception DevError object origin field
sever The exception DevError object severity field
Exceptions:
DevFailed The thrown exception. Click here to read DevFailed exception specification

static void Tango::Except::re_throw_exception ( Tango::DevFailed &  ex,
const string &  reason,
const char *  desc,
const string &  origin,
Tango::ErrSeverity  sever = Tango::ERR 
) [inline, static]

Re-throw a TANGO DevFailed exception with one more error.

The exception is re-thrown with one more DevError object. A default value "Tango::ERR" is defined for the new DevError severity field. Click here to read DevFailed exception specification

Parameters:
ex The DevFailed exception
reason The exception DevError object reason field
desc The exception DevError object desc field
origin The exception DevError object origin field
sever The exception DevError object severity field
Exceptions:
DevFailed The thrown exception. Click here to read DevFailed exception specification

static void Tango::Except::re_throw_exception ( Tango::DevFailed &  ex,
const string &  reason,
const string &  desc,
const char *  origin,
Tango::ErrSeverity  sever = Tango::ERR 
) [inline, static]

Re-throw a TANGO DevFailed exception with one more error.

The exception is re-thrown with one more DevError object. A default value "Tango::ERR" is defined for the new DevError severity field. Click here to read DevFailed exception specification

Parameters:
ex The DevFailed exception
reason The exception DevError object reason field
desc The exception DevError object desc field
origin The exception DevError object origin field
sever The exception DevError object severity field
Exceptions:
DevFailed The thrown exception. Click here to read DevFailed exception specification

static void Tango::Except::re_throw_exception ( Tango::DevFailed &  ex,
const string &  reason,
const string &  desc,
const string &  origin,
Tango::ErrSeverity  sever = Tango::ERR 
) [inline, static]

Re-throw a TANGO DevFailed exception with one more error.

The exception is re-thrown with one more DevError object. A default value "Tango::ERR" is defined for the new DevError severity field. Click here to read DevFailed exception specification

Parameters:
ex The DevFailed exception
reason The exception DevError object reason field
desc The exception DevError object desc field
origin The exception DevError object origin field
sever The exception DevError object severity field
Exceptions:
DevFailed The thrown exception. Click here to read DevFailed exception specification

static void Tango::Except::re_throw_exception ( Tango::DevFailed &  ex,
char *  reason,
char *  desc,
char *  origin,
Tango::ErrSeverity  sever = Tango::ERR 
) [inline, static]

Re-throw a TANGO DevFailed exception with one more error.

The exception is re-thrown with one more DevError object. A default value "Tango::ERR" is defined for the new DevError severity field. The memory used by the origin, reason and desc parameters will be freed by this method Click here to read DevFailed exception specification

Parameters:
ex The DevFailed exception
reason The exception DevError object reason field
desc The exception DevError object desc field
origin The exception DevError object origin field
sever The exception DevError object severity field
Exceptions:
DevFailed The thrown exception. Click here to read DevFailed exception specification

static void Tango::Except::re_throw_exception ( Tango::DevFailed &  ex,
char *  reason,
char *  desc,
const char *  origin,
Tango::ErrSeverity  sever = Tango::ERR 
) [inline, static]

Re-throw a TANGO DevFailed exception with one more error.

The exception is re-thrown with one more DevError object. A default value "Tango::ERR" is defined for the new DevError severity field. The memory used by the reason and desc parameters will be freed by this method Click here to read DevFailed exception specification

Parameters:
ex The DevFailed exception
reason The exception DevError object reason field
desc The exception DevError object desc field
origin The exception DevError object origin field
sever The exception DevError object severity field
Exceptions:
DevFailed The thrown exception. Click here to read DevFailed exception specification

static void Tango::Except::re_throw_exception ( Tango::DevFailed &  ex,
char *  reason,
const char *  desc,
char *  origin,
Tango::ErrSeverity  sever = Tango::ERR 
) [inline, static]

Re-throw a TANGO DevFailed exception with one more error.

The exception is re-thrown with one more DevError object. A default value "Tango::ERR" is defined for the new DevError severity field. The memory used by the reason and origin parameters will be freed by this method Click here to read DevFailed exception specification

Parameters:
ex The DevFailed exception
reason The exception DevError object reason field
desc The exception DevError object desc field
origin The exception DevError object origin field
sever The exception DevError object severity field
Exceptions:
DevFailed The thrown exception. Click here to read DevFailed exception specification

static void Tango::Except::re_throw_exception ( Tango::DevFailed &  ex,
char *  reason,
const char *  desc,
const char *  origin,
Tango::ErrSeverity  sever = Tango::ERR 
) [inline, static]

Re-throw a TANGO DevFailed exception with one more error.

The exception is re-thrown with one more DevError object. A default value "Tango::ERR" is defined for the new DevError severity field. The memory used by the reason parameter will be freed by this method Click here to read DevFailed exception specification

Parameters:
ex The DevFailed exception
reason The exception DevError object reason field
desc The exception DevError object desc field
origin The exception DevError object origin field
sever The exception DevError object severity field
Exceptions:
DevFailed The thrown exception. Click here to read DevFailed exception specification

static void Tango::Except::re_throw_exception ( Tango::DevFailed &  ex,
const char *  reason,
char *  desc,
char *  origin,
Tango::ErrSeverity  sever = Tango::ERR 
) [inline, static]

Re-throw a TANGO DevFailed exception with one more error.

The exception is re-thrown with one more DevError object. A default value "Tango::ERR" is defined for the new DevError severity field. The memory used by the origin and desc parameters will be freed by this method Click here to read DevFailed exception specification

Parameters:
ex The DevFailed exception
reason The exception DevError object reason field
desc The exception DevError object desc field
origin The exception DevError object origin field
sever The exception DevError object severity field
Exceptions:
DevFailed The thrown exception. Click here to read DevFailed exception specification

static void Tango::Except::re_throw_exception ( Tango::DevFailed &  ex,
const char *  reason,
char *  desc,
const char *  origin,
Tango::ErrSeverity  sever = Tango::ERR 
) [inline, static]

Re-throw a TANGO DevFailed exception with one more error.

The exception is re-thrown with one more DevError object. A default value "Tango::ERR" is defined for the new DevError severity field. The memory used by the desc parameter will be freed by this method Click here to read DevFailed exception specification

Parameters:
ex The DevFailed exception
reason The exception DevError object reason field
desc The exception DevError object desc field
origin The exception DevError object origin field
sever The exception DevError object severity field
Exceptions:
DevFailed The thrown exception. Click here to read DevFailed exception specification

static void Tango::Except::re_throw_exception ( Tango::DevFailed &  ex,
const char *  reason,
const char *  desc,
char *  origin,
Tango::ErrSeverity  sever = Tango::ERR 
) [inline, static]

Re-throw a TANGO DevFailed exception with one more error.

The exception is re-thrown with one more DevError object. A default value "Tango::ERR" is defined for the new DevError severity field. The memory used by the origin parameter will be freed by this method Click here to read DevFailed exception specification

Parameters:
ex The DevFailed exception
reason The exception DevError object reason field
desc The exception DevError object desc field
origin The exception DevError object origin field
sever The exception DevError object severity field
Exceptions:
DevFailed The thrown exception. Click here to read DevFailed exception specification

static void Tango::Except::re_throw_exception ( Tango::DevFailed &  ex,
const char *  reason,
const char *  desc,
const char *  origin,
Tango::ErrSeverity  sever = Tango::ERR 
) [inline, static]

Re-throw a TANGO DevFailed exception with one more error.

The exception is re-thrown with one more DevError object. A default value "Tango::ERR" is defined for the new DevError severity field. Click here to read DevFailed exception specification

Parameters:
ex The DevFailed exception
reason The exception DevError object reason field
desc The exception DevError object desc field
origin The exception DevError object origin field
sever The exception DevError object severity field
Exceptions:
DevFailed The thrown exception. Click here to read DevFailed exception specification

static void Tango::Except::throw_exception ( const CORBA::SystemException &  ex,
const string &  origin 
) [static]

Generate and throw a TANGO DevFailed exception.

The exception is created with a single DevError object. A value "Tango::ERR" is defined for the DevError severity field. Click here to read DevFailed exception specification

Parameters:
ex A CORBA System Exception. The reason and desc fields of the DevError object will be set according to the data in this exception. The desc field is always set to API_CorbaSysException and the reason flag is different depending on the exact type of the CORBA system exception.
origin The exception DevError object origin field. The memory allocated for this parameter will be freed by this method.
Exceptions:
DevFailed The thrown exception. Click here to read DevFailed exception specification

static void Tango::Except::throw_exception ( const CORBA::SystemException &  ex,
char *  origin 
) [static]

Generate and throw a TANGO DevFailed exception.

The exception is created with a single DevError object. A value "Tango::ERR" is defined for the DevError severity field. Click here to read DevFailed exception specification

Parameters:
ex A CORBA System Exception. The reason and desc fields of the DevError object will be set according to the data in this exception. The desc field is always set to API_CorbaSysException and the reason flag is different depending on the exact type of the CORBA system exception.
origin The exception DevError object origin field. The memory allocated for this parameter will be freed by this method.
Exceptions:
DevFailed The thrown exception. Click here to read DevFailed exception specification

static void Tango::Except::throw_exception ( const CORBA::SystemException &  ex,
const char *  origin 
) [static]

Generate and throw a TANGO DevFailed exception.

The exception is created with a single DevError object. A value "Tango::ERR" is defined for the DevError severity field. Click here to read DevFailed exception specification

Parameters:
ex A CORBA System Exception. The reason and desc fields of the DevError object will be set according to the data in this exception. The desc field is always set to API_CorbaSysException and the reason flag is different depending on the exact type of the CORBA system exception.
origin The exception DevError object origin field
Exceptions:
DevFailed The thrown exception. Click here to read DevFailed exception specification

static void Tango::Except::throw_exception ( char *  reason,
char *  desc,
const string &  origin,
Tango::ErrSeverity  sever = Tango::ERR 
) [inline, static]

Generate and throw a TANGO DevFailed exception.

The exception is created with a single DevError object. A default value "Tango::ERR" is defined for the DevError severity field. The memory used by the reason and desc parameter will be freed by this method Click here to read DevFailed exception specification

Parameters:
reason The exception DevError object reason field
desc The exception DevError object desc field
origin The exception DevError object origin field
sever The exception DevError object severity field
Exceptions:
DevFailed The thrown exception. Click here to read DevFailed exception specification

static void Tango::Except::throw_exception ( char *  reason,
const string &  desc,
char *  origin,
Tango::ErrSeverity  sever = Tango::ERR 
) [inline, static]

Generate and throw a TANGO DevFailed exception.

The exception is created with a single DevError object. A default value "Tango::ERR" is defined for the DevError severity field. The memory used by the reason and origin parameters will be freed by this method Click here to read DevFailed exception specification

Parameters:
reason The exception DevError object reason field
desc The exception DevError object desc field
origin The exception DevError object origin field
sever The exception DevError object severity field
Exceptions:
DevFailed The thrown exception. Click here to read DevFailed exception specification

static void Tango::Except::throw_exception ( char *  reason,
const string &  desc,
const string &  origin,
Tango::ErrSeverity  sever = Tango::ERR 
) [inline, static]

Generate and throw a TANGO DevFailed exception.

The exception is created with a single DevError object. A default value "Tango::ERR" is defined for the DevError severity field. The memory used by the reason parameter will be freed by this method Click here to read DevFailed exception specification

Parameters:
reason The exception DevError object reason field
desc The exception DevError object desc field
origin The exception DevError object origin field
sever The exception DevError object severity field
Exceptions:
DevFailed The thrown exception. Click here to read DevFailed exception specification

static void Tango::Except::throw_exception ( const string &  reason,
char *  desc,
char *  origin,
Tango::ErrSeverity  sever = Tango::ERR 
) [inline, static]

Generate and throw a TANGO DevFailed exception.

The exception is created with a single DevError object. A default value "Tango::ERR" is defined for the DevError severity field. The memory used by the origin and desc parameters will be freed by this method Click here to read DevFailed exception specification

Parameters:
reason The exception DevError object reason field
desc The exception DevError object desc field
origin The exception DevError object origin field
sever The exception DevError object severity field
Exceptions:
DevFailed The thrown exception. Click here to read DevFailed exception specification

static void Tango::Except::throw_exception ( const string &  reason,
char *  desc,
const string &  origin,
Tango::ErrSeverity  sever = Tango::ERR 
) [inline, static]

Generate and throw a TANGO DevFailed exception.

The exception is created with a single DevError object. A default value "Tango::ERR" is defined for the DevError severity field. The memory used by the desc parameter will be freed by this method Click here to read DevFailed exception specification

Parameters:
reason The exception DevError object reason field
desc The exception DevError object desc field
origin The exception DevError object origin field
sever The exception DevError object severity field
Exceptions:
DevFailed The thrown exception. Click here to read DevFailed exception specification

static void Tango::Except::throw_exception ( const string &  reason,
const string &  desc,
char *  origin,
Tango::ErrSeverity  sever = Tango::ERR 
) [inline, static]

Generate and throw a TANGO DevFailed exception.

The exception is created with a single DevError object. A default value "Tango::ERR" is defined for the DevError severity field. The memory used by the origin parameter will be freed by this method Click here to read DevFailed exception specification

Parameters:
reason The exception DevError object reason field
desc The exception DevError object desc field
origin The exception DevError object origin field
sever The exception DevError object severity field
Exceptions:
DevFailed The thrown exception. Click here to read DevFailed exception specification

static void Tango::Except::throw_exception ( const char *  reason,
const char *  desc,
const string &  origin,
Tango::ErrSeverity  sever = Tango::ERR 
) [inline, static]

Generate and throw a TANGO DevFailed exception.

The exception is created with a single DevError object. A default value "Tango::ERR" is defined for the DevError severity field. Click here to read DevFailed exception specification

Parameters:
reason The exception DevError object reason field
desc The exception DevError object desc field
origin The exception DevError object origin field
sever The exception DevError object severity field
Exceptions:
DevFailed The thrown exception. Click here to read DevFailed exception specification

static void Tango::Except::throw_exception ( const char *  reason,
const string &  desc,
const char *  origin,
Tango::ErrSeverity  sever = Tango::ERR 
) [inline, static]

Generate and throw a TANGO DevFailed exception.

The exception is created with a single DevError object. A default value "Tango::ERR" is defined for the DevError severity field. Click here to read DevFailed exception specification

Parameters:
reason The exception DevError object reason field
desc The exception DevError object desc field
origin The exception DevError object origin field
sever The exception DevError object severity field
Exceptions:
DevFailed The thrown exception. Click here to read DevFailed exception specification

static void Tango::Except::throw_exception ( const char *  reason,
const string &  desc,
const string &  origin,
Tango::ErrSeverity  sever = Tango::ERR 
) [inline, static]

Generate and throw a TANGO DevFailed exception.

The exception is created with a single DevError object. A default value "Tango::ERR" is defined for the DevError severity field. Click here to read DevFailed exception specification

Parameters:
reason The exception DevError object reason field
desc The exception DevError object desc field
origin The exception DevError object origin field
sever The exception DevError object severity field
Exceptions:
DevFailed The thrown exception. Click here to read DevFailed exception specification

static void Tango::Except::throw_exception ( const string &  reason,
const char *  desc,
const char *  origin,
Tango::ErrSeverity  sever = Tango::ERR 
) [inline, static]

Generate and throw a TANGO DevFailed exception.

The exception is created with a single DevError object. A default value "Tango::ERR" is defined for the DevError severity field. Click here to read DevFailed exception specification

Parameters:
reason The exception DevError object reason field
desc The exception DevError object desc field
origin The exception DevError object origin field
sever The exception DevError object severity field
Exceptions:
DevFailed The thrown exception. Click here to read DevFailed exception specification

static void Tango::Except::throw_exception ( const string &  reason,
const char *  desc,
const string &  origin,
Tango::ErrSeverity  sever = Tango::ERR 
) [inline, static]

Generate and throw a TANGO DevFailed exception.

The exception is created with a single DevError object. A default value "Tango::ERR" is defined for the DevError severity field. Click here to read DevFailed exception specification

Parameters:
reason The exception DevError object reason field
desc The exception DevError object desc field
origin The exception DevError object origin field
sever The exception DevError object severity field
Exceptions:
DevFailed The thrown exception. Click here to read DevFailed exception specification

static void Tango::Except::throw_exception ( const string &  reason,
const string &  desc,
const char *  origin,
Tango::ErrSeverity  sever = Tango::ERR 
) [inline, static]

Generate and throw a TANGO DevFailed exception.

The exception is created with a single DevError object. A default value "Tango::ERR" is defined for the DevError severity field. Click here to read DevFailed exception specification

Parameters:
reason The exception DevError object reason field
desc The exception DevError object desc field
origin The exception DevError object origin field
sever The exception DevError object severity field
Exceptions:
DevFailed The thrown exception. Click here to read DevFailed exception specification

static void Tango::Except::throw_exception ( const string &  reason,
const string &  desc,
const string &  origin,
Tango::ErrSeverity  sever = Tango::ERR 
) [inline, static]

Generate and throw a TANGO DevFailed exception.

The exception is created with a single DevError object. A default value "Tango::ERR" is defined for the DevError severity field. Click here to read DevFailed exception specification

Parameters:
reason The exception DevError object reason field
desc The exception DevError object desc field
origin The exception DevError object origin field
sever The exception DevError object severity field
Exceptions:
DevFailed The thrown exception. Click here to read DevFailed exception specification

static void Tango::Except::throw_exception ( char *  reason,
char *  desc,
char *  origin,
Tango::ErrSeverity  sever = Tango::ERR 
) [inline, static]

Generate and throw a TANGO DevFailed exception.

The exception is created with a single DevError object. A default value "Tango::ERR" is defined for the DevError severity field. The memory used by the origin, reason and desc parameters will be freed by this method Click here to read DevFailed exception specification

Parameters:
reason The exception DevError object reason field
desc The exception DevError object desc field
origin The exception DevError object origin field
sever The exception DevError object severity field
Exceptions:
DevFailed The thrown exception. Click here to read DevFailed exception specification

static void Tango::Except::throw_exception ( char *  reason,
char *  desc,
const char *  origin,
Tango::ErrSeverity  sever = Tango::ERR 
) [inline, static]

Generate and throw a TANGO DevFailed exception.

The exception is created with a single DevError object. A default value "Tango::ERR" is defined for the DevError severity field. The memory used by the reason and desc parameters will be freed by this method Click here to read DevFailed exception specification

Parameters:
reason The exception DevError object reason field
desc The exception DevError object desc field
origin The exception DevError object origin field
sever The exception DevError object severity field
Exceptions:
DevFailed The thrown exception. Click here to read DevFailed exception specification

static void Tango::Except::throw_exception ( char *  reason,
const char *  desc,
char *  origin,
Tango::ErrSeverity  sever = Tango::ERR 
) [inline, static]

Generate and throw a TANGO DevFailed exception.

The exception is created with a single DevError object. A default value "Tango::ERR" is defined for the DevError severity field. The memory used by the reason and origin parameters will be freed by this method Click here to read DevFailed exception specification

Parameters:
reason The exception DevError object reason field
desc The exception DevError object desc field
origin The exception DevError object origin field
sever The exception DevError object severity field
Exceptions:
DevFailed The thrown exception. Click here to read DevFailed exception specification

static void Tango::Except::throw_exception ( char *  reason,
const char *  desc,
const char *  origin,
Tango::ErrSeverity  sever = Tango::ERR 
) [inline, static]

Generate and throw a TANGO DevFailed exception.

The exception is created with a single DevError object. A default value "Tango::ERR" is defined for the DevError severity field. The memory used by the reason parameter will be freed by this method Click here to read DevFailed exception specification

Parameters:
reason The exception DevError object reason field
desc The exception DevError object desc field
origin The exception DevError object origin field
sever The exception DevError object severity field
Exceptions:
DevFailed The thrown exception. Click here to read DevFailed exception specification

static void Tango::Except::throw_exception ( const char *  reason,
char *  desc,
char *  origin,
Tango::ErrSeverity  sever = Tango::ERR 
) [inline, static]

Generate and throw a TANGO DevFailed exception.

The exception is created with a single DevError object. A default value "Tango::ERR" is defined for the DevError severity field. The memory used by the origin and desc parameters will be freed by this method Click here to read DevFailed exception specification

Parameters:
reason The exception DevError object reason field
desc The exception DevError object desc field
origin The exception DevError object origin field
sever The exception DevError object severity field
Exceptions:
DevFailed The thrown exception. Click here to read DevFailed exception specification

static void Tango::Except::throw_exception ( const char *  reason,
char *  desc,
const char *  origin,
Tango::ErrSeverity  sever = Tango::ERR 
) [inline, static]

Generate and throw a TANGO DevFailed exception.

The exception is created with a single DevError object. A default value "Tango::ERR" is defined for the DevError severity field. The memory used by the desc parameter will be freed by this method Click here to read DevFailed exception specification

Parameters:
reason The exception DevError object reason field
desc The exception DevError object desc field
origin The exception DevError object origin field
sever The exception DevError object severity field
Exceptions:
DevFailed The thrown exception. Click here to read DevFailed exception specification

static void Tango::Except::throw_exception ( const char *  reason,
const char *  desc,
char *  origin,
Tango::ErrSeverity  sever = Tango::ERR 
) [inline, static]

Generate and throw a TANGO DevFailed exception.

The exception is created with a single DevError object. A default value "Tango::ERR" is defined for the DevError severity field. The memory used by the origin parameter will be freed by this method Click here to read DevFailed exception specification

Parameters:
reason The exception DevError object reason field
desc The exception DevError object desc field
origin The exception DevError object origin field
sever The exception DevError object severity field
Exceptions:
DevFailed The thrown exception. Click here to read DevFailed exception specification

static void Tango::Except::throw_exception ( const char *  reason,
const char *  desc,
const char *  origin,
Tango::ErrSeverity  sever = Tango::ERR 
) [inline, static]

Generate and throw a TANGO DevFailed exception.

The exception is created with a single DevError object. A default value "Tango::ERR" is defined for the DevError severity field. Click here to read DevFailed exception specification

Parameters:
reason The exception DevError object reason field
desc The exception DevError object desc field
origin The exception DevError object origin field
sever The exception DevError object severity field
Exceptions:
DevFailed The thrown exception. Click here to read DevFailed exception specification


The documentation for this class was generated from the following file:
Tango Device Server User's Guide



ALBA - Control Team / DESY - Hasylab Petra III

ELETTRA - Controls and Diagnostics / ESRF - Software Engineering Group

SOLEIL - Controle Commande et Acquisition / MAX-lab - MAX 4

FRM2 - Control group