3ds Max C++ API Reference
Loading...
Searching...
No Matches
RuntimeError Class Reference

#include <exceptions.h>

+ Inheritance diagram for RuntimeError:

Public Member Functions

 RuntimeError (const MCHAR *d1)
 
 RuntimeError (const MCHAR *d1, const MCHAR *d2)
 
 RuntimeError (const MCHAR *d1, Value *ii)
 
 RuntimeError (const MCHAR *d1, const MCHAR *d2, Value *ii)
 
 RuntimeError (Value *ii)
 
 ~RuntimeError ()
 
void init (const MCHAR *d1, const MCHAR *d2, Value *ii)
 
void sprin1 (CharStream *s) const override
 
- Public Member Functions inherited from MAXScriptRuntimeErrorException
 MAXScriptRuntimeErrorException ()
 
 MAXScriptRuntimeErrorException (bool doStackCapture)
 
- Public Member Functions inherited from MAXScriptException
 MAXScriptException ()
 
virtual ~MAXScriptException ()
 
virtual void sprin1 (CharStream *s) const
 
void CaptureMXSCallstack (bool forceCapture=false, bool captureLocals=true)
 
void CaptureCplusplusCallstack (int skipFirstNStackLevels=4, bool forceCapture=false)
 
const MSTRMXSCallstack () const
 
const MSTRCplusplusCallstack () const
 

Public Attributes

MSTR desc1
 
MSTR desc2
 
ValueHolderMember info
 

Additional Inherited Members

- Static Public Member Functions inherited from MAXScriptException
static void MXSCallstackCaptureEnabled (bool enabled)
 
static bool isMXSCallstackCaptureEnabled ()
 
static void CplusplusCallstackCaptureEnabled (bool enabled)
 
static bool isCplusplusCallstackCaptureEnabled ()
 
- Static Public Member Functions inherited from MaxHeapOperators
static UtilExport voidoperator new (size_t size)
 Standard new operator used to allocate objects If there is insufficient memory, an exception will be thrown.
 
static UtilExport voidoperator new (size_t size, const std::nothrow_t &e)
 Standard new operator used to allocate objects if there is insufficient memory, NULL will be returned.
 
static UtilExport voidoperator new (size_t size, const char *filename, int line)
 New operator used to allocate objects that takes the filename and line number where the new was called If there is insufficient memory, an exception will be thrown.
 
static UtilExport voidoperator new (size_t size, int block_type, const char *filename, int line)
 New operator used to allocate objects that takes the type of memory, filename and line number where the new was called If there is insufficient memory, an exception will be thrown.
 
static UtilExport voidoperator new (size_t size, const std::nothrow_t &e, const char *filename, int line)
 New operator used to allocate objects that takes the filename and line number where the new was called If there is insufficient memory, NULL will be returned.
 
static UtilExport voidoperator new (size_t size, unsigned long flags)
 New operator used to allocate objects that takes extra flags to specify special operations If there is insufficient memory, an exception will be thrown.
 
static UtilExport voidoperator new (size_t size, const std::nothrow_t &e, unsigned long flags)
 New operator used to allocate objects that takes extra flags to specify special operations If there is insufficient memory, NULL will be returned.
 
static UtilExport voidoperator new[] (size_t size)
 New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown.
 
static UtilExport voidoperator new[] (size_t size, const std::nothrow_t &e)
 New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned.
 
static UtilExport voidoperator new[] (size_t size, const char *filename, int line)
 New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown.
 
static UtilExport voidoperator new[] (size_t size, int block_type, const char *filename, int line)
 New operator used to allocate arrays of objects.
 
static UtilExport voidoperator new[] (size_t size, const std::nothrow_t &e, const char *filename, int line)
 New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned.
 
static UtilExport voidoperator new[] (size_t size, unsigned long flags)
 New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown.
 
static UtilExport voidoperator new[] (size_t size, const std::nothrow_t &e, unsigned long flags)
 New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned.
 
static UtilExport void operator delete (void *ptr)
 Standard delete operator used to deallocate an object If the pointer is invalid, an exception will be thrown.
 
static UtilExport void operator delete (void *ptr, const std::nothrow_t &e)
 Standard delete operator used to deallocate an object If the pointer is invalid, nothing will happen.
 
static UtilExport void operator delete (void *ptr, const char *filename, int line)
 Delete operator used to deallocate an object that takes the filename and line number where the delete was called If the pointer is invalid, an exception will be thrown.
 
static UtilExport void operator delete (void *ptr, int block_type, const char *filename, int line)
 Delete operator used to deallocate an object that takes the type of memory, filename and line number where the delete was called If the pointer is invalid, an exception will be thrown.
 
static UtilExport void operator delete (void *ptr, const std::nothrow_t &e, const char *filename, int line)
 Delete operator used to deallocate an object that takes the filename and line number where the delete was called If the pointer is invalid, nothing will happen.
 
static UtilExport void operator delete (void *ptr, unsigned long flags)
 Delete operator used to deallocate an object that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown.
 
static UtilExport void operator delete (void *ptr, const std::nothrow_t &e, unsigned long flags)
 Delete operator used to deallocate an object that takes extra flags to specify special operations If the pointer is invalid, nothing will happen.
 
static UtilExport void operator delete[] (void *ptr)
 Standard delete operator used to deallocate an array of objects If the pointer is invalid, an exception will be thrown.
 
static UtilExport void operator delete[] (void *ptr, const std::nothrow_t &e)
 Standard delete operator used to deallocate an array of objects If the pointer is invalid, nothing will happen.
 
static UtilExport void operator delete[] (void *ptr, const char *filename, int line)
 Delete operator used to deallocate an array of objects that takes the filename and line number where the delete was called If the pointer is invalid, an exception will be thrown.
 
static UtilExport void operator delete[] (void *ptr, int block_type, const char *filename, int line)
 Delete operator used to deallocate an array of objects that takes the type of memory, filename and line number where the delete was called If the pointer is invalid, an exception will be thrown.
 
static UtilExport void operator delete[] (void *ptr, const std::nothrow_t &e, const char *filename, int line)
 Delete operator used to deallocate an array of objects that takes the filename and line number where the delete was called If the pointer is invalid, nothing will happen.
 
static UtilExport void operator delete[] (void *ptr, unsigned long flags)
 Delete operator used to deallocate an array of objects that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown.
 
static UtilExport void operator delete[] (void *ptr, const std::nothrow_t &e, unsigned long flags)
 Delete operator used to deallocate an array of objects that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown.
 
static UtilExport voidoperator new (size_t size, void *placement_ptr)
 Placement new operator.
 
static UtilExport void operator delete (void *ptr, void *placement_ptr)
 Placement delete operator.
 
static UtilExport voidaligned_malloc (size_t size, size_t alignment)
 Allocates memory on a specified alignment boundary.
 
static UtilExport voidaligned_realloc (void *ptr, size_t size, size_t alignment)
 Reallocates memory on a specified alignment boundary.
 
static UtilExport void aligned_free (void *ptr)
 Frees a block of memory that was allocated with aligned_malloc/aligned_realloc.
 
- Protected Attributes inherited from MAXScriptException
MSTR mCapturedMXSCallstack
 
MSTR mCapturedCplusplusCallstack
 
- Static Protected Attributes inherited from MAXScriptException
static bool sMXSCallstackCaptureEnabled
 
static bool sCplusplusCallstackCaptureEnabled
 
static bool sInMXSCallstackCapture
 
static bool sInCplusplusCallstackCapture
 

Constructor & Destructor Documentation

◆ RuntimeError() [1/5]

RuntimeError ( const MCHAR d1)

◆ RuntimeError() [2/5]

RuntimeError ( const MCHAR d1,
const MCHAR d2 
)

◆ RuntimeError() [3/5]

RuntimeError ( const MCHAR d1,
Value ii 
)

◆ RuntimeError() [4/5]

RuntimeError ( const MCHAR d1,
const MCHAR d2,
Value ii 
)

◆ RuntimeError() [5/5]

RuntimeError ( Value ii)

◆ ~RuntimeError()

Member Function Documentation

◆ init()

void init ( const MCHAR d1,
const MCHAR d2,
Value ii 
)

◆ sprin1()

void sprin1 ( CharStream s) const
overridevirtual

Reimplemented from MAXScriptException.

Member Data Documentation

◆ desc1

MSTR desc1

◆ desc2

MSTR desc2

◆ info