~dominik-burgdoerfer/webplodder/0.4

« back to all changes in this revision

Viewing changes to src/wesl/exceptions/returnexception.cpp

  • Committer: Dominik Burgdörfer
  • Date: 2010-07-07 14:35:20 UTC
  • Revision ID: dominik@domachine-20100707143520-wpywl29fsg9quz54
restructured sources

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
// =======================================================================
2
 
// 
3
 
//       Filename:  returnexception.cpp
4
 
// 
5
 
//    Description:  
6
 
// 
7
 
//        Version:  1.0
8
 
//        Created:  18.06.2010 12:56:33
9
 
//       Revision:  none
10
 
//       Compiler:  g++
11
 
// 
12
 
//         Author:  Dominik 'domachine' Burgdörfer (-), dominik.burgdoerfer@googlemail.com
13
 
//        Company:  -
14
 
// 
15
 
// =======================================================================
16
 
 
17
 
#include "returnexception.hpp"
18
 
 
19
 
namespace wesl {
20
 
    namespace exceptions {
21
 
        ReturnException::ReturnException(types::ObjectPtr object,
22
 
                const std::string& whatArg,
23
 
                const boost::filesystem::path& file,
24
 
                int line)
25
 
            : ProcessingError(whatArg, file, line), 
26
 
            m_object(object)
27
 
        {
28
 
 
29
 
        }
30
 
 
31
 
        types::ObjectPtr ReturnException::object() const {
32
 
            return m_object;
33
 
        }
34
 
    }
35
 
}