hgl 0.5.25
A compiler/interpreter suite for developing images
Public Member Functions | List of all members
HGL::Exception::AttachException Class Reference

Exception on type relation violations. More...

#include "attachexception.h"

Inherits std::exception.

Public Member Functions

 AttachException (const IType *const what, const IType *const to)
 Constructor More...
 
 AttachException (const std::string &msg)
 Constructor More...
 

Detailed Description

Exception on type relation violations.

If a type relationship gets violated this exceptions is thrown.

On type relationships see Types.

Author
Heiko Schäfer heiko.nosp@m.@hgl.nosp@m..rang.nosp@m.un.d.nosp@m.e

Constructor & Destructor Documentation

AttachException::AttachException ( const IType *const  what,
const IType *const  to 
)

Constructor

Generates an exception with a message like: Attaching 'what' to 'to' isn't allowed

Parameters
whatwhich type got attached
toon which type attached

References HGL::IType::getSerialID().

AttachException::AttachException ( const std::string &  msg)

Constructor

Generates an exception with a given message

Parameters
msgthe message
Since
0.5.11