~ubuntu-branches/ubuntu/raring/scilab/raring-proposed

« back to all changes in this revision

Viewing changes to modules/external_objects/includes/ScilabAbstractEnvironmentException.hxx

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2012-08-30 14:42:38 UTC
  • mfrom: (1.4.7)
  • Revision ID: package-import@ubuntu.com-20120830144238-c1y2og7dbm7m9nig
Tags: 5.4.0-beta-3-1~exp1
* New upstream release
* Update the scirenderer dep
* Get ride of libjhdf5-java dependency

Show diffs side-by-side

added added

removed removed

Lines of Context:
69
69
 
70
70
    ScilabAbstractEnvironmentException(const ScilabAbstractEnvironmentException & e) : message(e.message), file(e.file), line(e.line) { }
71
71
 
72
 
    ~ScilabAbstractEnvironmentException() throw() { };
 
72
    virtual ~ScilabAbstractEnvironmentException() throw() { };
 
73
 
 
74
    virtual const char * what() const throw()
 
75
    {
 
76
        return message.c_str();
 
77
    }
 
78
 
 
79
private:
73
80
 
74
81
    inline std::string getDescription(std::string m) const
75
82
    {
100
107
 
101
108
#endif
102
109
    }
103
 
 
104
 
    virtual const char * what() const throw()
105
 
    {
106
 
        return message.c_str();
107
 
    }
108
110
};
109
111
}
110
112