AAO DRAMA/DRAMA2 C++ Interface
DRAMA C++11 and later interface

◆ Exception() [3/5]

D2DEPRECATED drama::Exception::Exception ( bool  makeUnique,
const std::string  func,
const std::string &  file,
const int  lineNum,
const StatusType  status,
const char format,
  ... 
)
inline

Create an exception using C printf() style string formatting.

Deprecated:
This function should be replaced by using the FmtWrite method.
Parameters
makeUniqueValue ignored, used to ensure constructor is unique
funcName of the function where the exception was thrown
fileName of the file in which the exception was constructed.
lineNumLine number where the exception was constructed.
statusA DRAMA Status code to be associated with the message if later converted to a DRAMA report. Set to DRAMA2__CPP_ERROR if not wanted.
formatC printf() format string.
...Format extra argument.s

References drama::CreateRunDramaTask(), and toString().