DCL 4.0
Loading...
Searching...
No Matches
GenerialException Class Reference

#include <Exception.h>

Inheritance diagram for GenerialException:
Exception Object

Public Member Functions

 GenerialException (Exception *_cause)
 GenerialException (const wchar_t *_message)
virtual String toString () const
Public Member Functions inherited from Exception
 Exception (Exception *_cause=NULL)
const Exceptioncause () const
String toStringAll () const
virtual void destroy ()
Public Member Functions inherited from Object
String className () const
bool isInstanceOf (const std::type_info &typeinfo) const
virtual const std::type_info & typeInfo () const

Additional Inherited Members

Protected Member Functions inherited from Exception
virtual ~Exception ()
Protected Member Functions inherited from Object
virtual ~Object ()
 Object ()
Protected Attributes inherited from Exception
Exception__pCause

Detailed Description

Definition at line 169 of file Exception.h.

Constructor & Destructor Documentation

◆ GenerialException() [1/2]

GenerialException::GenerialException ( Exception * _cause)

◆ GenerialException() [2/2]

GenerialException::GenerialException ( const wchar_t * _message)

Definition at line 333 of file Exception.cpp.

334 : Exception(NULL)
335{
336 __DCL_ASSERT(pszErrorMessage != NULL);
337 __message = pszErrorMessage;
338}
#define NULL
Definition Config.h:340
#define __DCL_ASSERT(expr)
Definition Object.h:371
Exception(Exception *_cause=NULL)

Member Function Documentation

◆ toString()

String GenerialException::toString ( ) const
virtual

Reimplemented from Exception.

Definition at line 340 of file Exception.cpp.

341{
342 StringBuilder sb = __message;
343
345 sb += L": See! Detail";
346
347 return sb;
348}
Exception * __pCause
Definition Exception.h:29

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