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

#include <Dll.h>

Inheritance diagram for DllException:
SysError Exception Object

Public Member Functions

 DllException (const String &_name, Exception *_cause)
 DllException (const String &_name, uint32_t _errorNo)
 DllException (const String &_name, const String &_message)
virtual String toString () const
Public Member Functions inherited from SysError
 SysError (Exception *_cause=NULL)
 SysError (uint32_t _errorNo)
uint32_t errorNo () 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 13 of file Dll.h.

Constructor & Destructor Documentation

◆ DllException() [1/3]

DllException::DllException ( const String & _name,
Exception * _cause )

◆ DllException() [2/3]

DllException::DllException ( const String & _name,
uint32_t _errorNo )

Definition at line 36 of file Dll.cpp.

37 : SysError(_errorNo)
38{
39 __message = _name;
40}
SysError(Exception *_cause=NULL)

◆ DllException() [3/3]

DllException::DllException ( const String & _name,
const String & _message )

Definition at line 42 of file Dll.cpp.

43{
44 __message = _name + __T(" ") + _message;
45}
#define __T(str)
Definition Object.h:44

Member Function Documentation

◆ toString()

String DllException::toString ( ) const
virtual

Reimplemented from SysError.

Definition at line 47 of file Dll.cpp.

48{
49 StringBuilder r = __message;
50 if (SysError::errorNo() != 0)
51 r += __T(" ") + SysError::toString();
52
53 return r;
54}
ByteString r
uint32_t errorNo() const
Definition Exception.h:78
virtual String toString() const

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