DCL 3.7.4
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__cause

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 35 of file Dll.cpp.

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

◆ DllException() [3/3]

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

Definition at line 41 of file Dll.cpp.

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

Member Function Documentation

◆ toString()

String DllException::toString ( ) const
virtual

Reimplemented from SysError.

Definition at line 46 of file Dll.cpp.

47{
48 StringBuilder r = __message;
49 if (SysError::errorNo() != 0)
50 r += __T(" ") + SysError::toString();
51
52 return r;
53}
IOException *size_t r
Definition MediaInfo.cpp:82
uint32_t errorNo() const
Definition Exception.h:78
virtual String toString() const

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