Simbody  3.5
Exception.h File Reference

Go to the source code of this file.

Classes

class  SimTK::Exception::Base
 
class  SimTK::Exception::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  SimTK::Exception::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  SimTK::Exception::APIArgcheckFailed
 This is for reporting problems detected by checking the caller's supplied arguments to a SimTK API method. More...
 
class  SimTK::Exception::IndexOutOfRange
 
class  SimTK::Exception::SizeOutOfRange
 
class  SimTK::Exception::SizeWasNegative
 
class  SimTK::Exception::ValueOutOfRange
 
class  SimTK::Exception::ValueWasNegative
 
class  SimTK::Exception::UnimplementedMethod
 
class  SimTK::Exception::UnimplementedVirtualMethod
 
class  SimTK::Exception::IncompatibleValues
 
class  SimTK::Exception::OperationNotAllowedOnView
 
class  SimTK::Exception::OperationNotAllowedOnOwner
 
class  SimTK::Exception::OperationNotAllowedOnNonconstReadOnlyView
 
class  SimTK::Exception::Cant
 

Namespaces

 SimTK
 This is the top-level SimTK namespace into which all SimTK names are placed to avoid collision with other symbols.
 
 SimTK::Exception
 This sub-namespace of SimTK is used for the exception types that are thrown by our error handing code.
 

Macros

#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)
 

Macro Definition Documentation

#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)