/[escript]/trunk/escript/src/DataException.cpp
ViewVC logotype

Annotation of /trunk/escript/src/DataException.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1439 - (hide annotations)
Thu Feb 28 04:56:16 2008 UTC (11 years, 8 months ago) by trankine
Original Path: branches/windows_from_1431_trunk/escript/src/DataException.cpp
File size: 767 byte(s)
Working to eliminate stringstreams from exceptions.
All exception methods return const refs to self-owned members.
(i.e. no temporaries allowed after construction.)

Not compiling, this is a lunch break checkin.

1 trankine 1437
2 trankine 1439 /* $Id: DataException.cpp 1312 2007-09-24 06:18:44Z ksteube $ */
3 trankine 1437
4     /*******************************************************
5     *
6     * Copyright 2003-2007 by ACceSS MNRF
7     * Copyright 2007 by University of Queensland
8     *
9     * http://esscc.uq.edu.au
10     * Primary Business: Queensland, Australia
11     * Licensed under the Open Software License version 3.0
12     * http://www.opensource.org/licenses/osl-3.0.php
13     *
14     *******************************************************/
15    
16 trankine 1439 #include "DataException.h"
17 trankine 1437 #include <sstream>
18    
19    
20     using namespace esysUtils;
21    
22     const std::string
23 trankine 1439 DataException::exceptionNameValue("DataException");
24 trankine 1437
25    
26     const std::string &
27 trankine 1439 DataException::exceptionName() const
28 trankine 1437 {
29     return exceptionNameValue;
30     }
31    
32    

  ViewVC Help
Powered by ViewVC 1.1.26