Viskores  1.0
Public Member Functions | List of all members
viskores::cont::ErrorBadAllocation Class Reference

This class is thrown when Viskores attempts to manipulate memory that it should not. More...

#include <ErrorBadAllocation.h>

Inheritance diagram for viskores::cont::ErrorBadAllocation:
viskores::cont::Error

Public Member Functions

 ErrorBadAllocation (const std::string &message)
 
- Public Member Functions inherited from viskores::cont::Error
const std::string & GetMessage () const
 Returns a message describing what caused the error. More...
 
const std::string & GetStackTrace () const
 Provides a stack trace to the location where this error was thrown. More...
 
const char * what () const noexcept override
 Returns the message for the error and the stack trace for it. More...
 
bool GetIsDeviceIndependent () const
 Returns true if this exception is device independent. More...
 

Additional Inherited Members

- Protected Member Functions inherited from viskores::cont::Error
 Error ()
 
 Error (const std::string &message, bool is_device_independent=false)
 
void SetMessage (const std::string &message)
 

Detailed Description

This class is thrown when Viskores attempts to manipulate memory that it should not.

Constructor & Destructor Documentation

◆ ErrorBadAllocation()

viskores::cont::ErrorBadAllocation::ErrorBadAllocation ( const std::string &  message)
inline

The documentation for this class was generated from the following file: