Exception.h File Reference

#include "SimTKcommon/internal/common.h"
#include <string>
#include <iostream>
#include <exception>
#include <cstdarg>

Go to the source code of this file.

Classes

class  Base
class  Assert
 This is for reporting internally-detected bugs only, not problems induced by confused users (that is, it is for confused developers instead). More...
class  ErrorCheck
 This is for reporting errors occurring during execution of SimTK core methods, beyond those caused by mere improper API arguments, which should be reported with APIArgcheck instead. More...
class  APIArgcheckFailed
 This is for reporting problems detected by checking the caller's supplied arguments to a SimTK API method. More...
class  IndexOutOfRange
class  SizeOutOfRange
class  SizeWasNegative
class  ValueOutOfRange
class  ValueWasNegative
class  UnimplementedVirtualMethod
class  IncompatibleValues
class  OperationNotAllowedOnView
class  OperationNotAllowedOnOwner
class  OperationNotAllowedOnNonconstReadOnlyView
class  Cant

Namespaces

namespace  SimTK
 

This is the top-level SimTK namespace into which all SimTK names are placed to avoid collision with other symbols.


namespace  SimTK::Exception

Defines

#define SimTK_THROW(exc)   throw exc(__FILE__, __LINE__)
#define SimTK_THROW1(exc, a1)   throw exc(__FILE__, __LINE__,a1)
#define SimTK_THROW2(exc, a1, a2)   throw exc(__FILE__, __LINE__,a1,a2)
#define SimTK_THROW3(exc, a1, a2, a3)   throw exc(__FILE__, __LINE__,a1,a2,a3)
#define SimTK_THROW4(exc, a1, a2, a3, a4)   throw exc(__FILE__, __LINE__,a1,a2,a3,a4)
#define SimTK_THROW5(exc, a1, a2, a3, a4, a5)   throw exc(__FILE__, __LINE__,a1,a2,a3,a4,a5)
#define SimTK_THROW6(exc, a1, a2, a3, a4, a5, a6)   throw exc(__FILE__, __LINE__,a1,a2,a3,a4,a5,a6)
#define SimTK_THROW7(exc, a1, a2, a3, a4, a5, a6, a7)   throw exc(__FILE__, __LINE__,a1,a2,a3,a4,a5,a6,a7)
#define SimTK_THROW8(exc, a1, a2, a3, a4, a5, a6, a7, a8)   throw exc(__FILE__, __LINE__,a1,a2,a3,a4,a5,a6,a7,a8)
#define SimTK_THROW9(exc, a1, a2, a3, a4, a5, a6, a7, a8, a9)   throw exc(__FILE__, __LINE__,a1,a2,a3,a4,a5,a6,a7,a8,a9)
#define SimTK_THROW10(exc, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10)   throw exc(__FILE__, __LINE__,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10)

Define Documentation

#define SimTK_THROW ( exc   )     throw exc(__FILE__, __LINE__)
#define SimTK_THROW1 ( exc,
a1   )     throw exc(__FILE__, __LINE__,a1)
#define SimTK_THROW10 ( exc,
a1,
a2,
a3,
a4,
a5,
a6,
a7,
a8,
a9,
a10   )     throw exc(__FILE__, __LINE__,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10)
#define SimTK_THROW2 ( exc,
a1,
a2   )     throw exc(__FILE__, __LINE__,a1,a2)
#define SimTK_THROW3 ( exc,
a1,
a2,
a3   )     throw exc(__FILE__, __LINE__,a1,a2,a3)
#define SimTK_THROW4 ( exc,
a1,
a2,
a3,
a4   )     throw exc(__FILE__, __LINE__,a1,a2,a3,a4)
#define SimTK_THROW5 ( exc,
a1,
a2,
a3,
a4,
a5   )     throw exc(__FILE__, __LINE__,a1,a2,a3,a4,a5)
#define SimTK_THROW6 ( exc,
a1,
a2,
a3,
a4,
a5,
a6   )     throw exc(__FILE__, __LINE__,a1,a2,a3,a4,a5,a6)
#define SimTK_THROW7 ( exc,
a1,
a2,
a3,
a4,
a5,
a6,
a7   )     throw exc(__FILE__, __LINE__,a1,a2,a3,a4,a5,a6,a7)
#define SimTK_THROW8 ( exc,
a1,
a2,
a3,
a4,
a5,
a6,
a7,
a8   )     throw exc(__FILE__, __LINE__,a1,a2,a3,a4,a5,a6,a7,a8)
#define SimTK_THROW9 ( exc,
a1,
a2,
a3,
a4,
a5,
a6,
a7,
a8,
a9   )     throw exc(__FILE__, __LINE__,a1,a2,a3,a4,a5,a6,a7,a8,a9)

Generated on Thu Aug 12 16:37:40 2010 for SimTKcore by  doxygen 1.6.1