Qore QUnit Module Reference  0.4.2
QUnit::TestResultExceptionDetail Class Reference

Class representing Exception of a particular type with a particular detail message. More...

Inheritance diagram for QUnit::TestResultExceptionDetail:

Public Member Methods

 constructor (string exceptionType, string exceptionDetail)
 creates the object from the exception arguments More...
 
bool equals (QUnit::AbstractTestResult r)
 Equality operator.
 
string toString ()
 returns a string describing the exception type
 
- Public Member Methods inherited from QUnit::TestResultExceptionType
 constructor (string exceptionType)
 creates the object from the exception arguments More...
 

Additional Inherited Members

- Public Attributes inherited from QUnit::TestResultExceptionType
string m_exceptionType
 corresponds to the "err" key of ExceptionInfo (the first value of a throw statement)
 
- Private Member Methods inherited from QUnit::TestResultExceptionType
 constructor (string exceptionType, string subType)
 private constructor for subclasses
 

Detailed Description

Class representing Exception of a particular type with a particular detail message.

Member Function Documentation

◆ constructor()

QUnit::TestResultExceptionDetail::constructor ( string  exceptionType,
string  exceptionDetail 
)

creates the object from the exception arguments

Parameters
exceptionTypecorresponds to the "err" key of ExceptionInfo
exceptionDetailcorresponds to the "desc" key of ExceptionInfo