|
◆ Exception() [2/5]
Create an Exception.
This is the main constructors, most others delegate to this one.
- Parameters
-
func | Name of the function where the exception was thrown |
file | Name of the file in which the exception was constructed. |
lineNum | Line number where the exception was constructed. |
message | A textual message to associate with the exception. |
status | A DRAMA Status code to be associated with the message if later converted to a DRAMA report. Defaults to DRAMA2__CPP_ERROR |
alwaysStacktrace | If set true, then we always output the stack trace when printing the exception or reporting to ERS. This might be set true in cases where the throw is made deep within a call tree due to a failure at a high level, hence seeing the stack trace is needed to work out what went wrong. Defaults to false. |
|