cctbx/error.h File Reference

#include <scitbx/error_utils.h>

Go to the source code of this file.

Namespaces

namespace  cctbx

Classes

class  error
 All cctbx exceptions are derived from this class. More...
class  error_index
 Special class for "Index out of range." exceptions. More...

Defines

#define CCTBX_CHECK_POINT   std::cout << __FILE__ << "(" << __LINE__ << ")" << std::endl << std::flush
#define CCTBX_CHECK_POINT_MSG(msg)   std::cout << msg << " @ " __FILE__ << "(" << __LINE__ << ")" << std::endl << std::flush
#define CCTBX_EXAMINE(A)   std::cout << "variable " << #A << ": " << A << std::endl << std::flush
#define CCTBX_ERROR(msg)   SCITBX_ERROR_UTILS_REPORT(cctbx::error, msg)
 For throwing an error exception with file name, line number, and message.
#define CCTBX_INTERNAL_ERROR()   SCITBX_ERROR_UTILS_REPORT_INTERNAL(cctbx::error)
 For throwing an "Internal Error" exception.
#define CCTBX_NOT_IMPLEMENTED()   SCITBX_ERROR_UTILS_REPORT_NOT_IMPLEMENTED(cctbx::error)
 For throwing a "Not implemented" exception.
#define CCTBX_ASSERT(assertion)   SCITBX_ERROR_UTILS_ASSERT(cctbx::error, CCTBX_ASSERT, assertion)
 Custom cctbx assertion.


Detailed Description

Declarations and macros for exception handling.

Generated on Tue Sep 1 17:12:31 2009 for cctbx by  doxygen 1.5.6