/[escript]/trunk/escript/src/DomainException.h
ViewVC logotype

Contents of /trunk/escript/src/DomainException.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 682 - (show annotations)
Mon Mar 27 02:43:09 2006 UTC (13 years, 5 months ago) by robwdcock
File MIME type: text/plain
File size: 1499 byte(s)
+ NEW BUILD SYSTEM

This commit contains the new build system with cross-platform support.
Most things work are before though you can have more control.

ENVIRONMENT settings have changed:
+ You no longer require LD_LIBRARY_PATH or PYTHONPATH to point to the
esysroot for building and testing performed via scons
+ ACcESS altix users: It is recommended you change your modules to load
the latest intel compiler and other libraries required by boost to match
the setup in svn (you can override). The correct modules are as follows

module load intel_cc.9.0.026
export
MODULEPATH=${MODULEPATH}:/data/raid2/toolspp4/modulefiles/gcc-3.3.6
module load boost/1.33.0/python-2.4.1
module load python/2.4.1
module load numarray/1.3.3


1 /*
2 ************************************************************
3 * Copyright 2006 by ACcESS MNRF *
4 * *
5 * http://www.access.edu.au *
6 * Primary Business: Queensland, Australia *
7 * Licensed under the Open Software License version 3.0 *
8 * http://www.opensource.org/licenses/osl-3.0.php *
9 * *
10 ************************************************************
11 */
12
13 #if !defined escript_DomainException_20040608_H
14 #define escript_DomainException_20040608_H
15
16 #include "esysUtils/EsysException.h"
17
18 #include <string>
19
20 namespace escript {
21
22 /**
23 \brief
24 DomainException exception class.
25
26 Description:
27 DomainException exception class.
28 The class provides a public function returning the exception name
29 */
30 class DomainException:public esysUtils::EsysException {
31
32 public:
33 /**
34 \brief
35 Default constructor for the exception.
36 */
37 DomainException() : EsysException() {}
38 /**
39 \brief
40 Constructor for the exception.
41 */
42 DomainException(const char *cstr) : EsysException(cstr) {}
43 /**
44 \brief
45 Constructor for the exception.
46 */
47 DomainException(const std::string &str) : EsysException(str) {}
48 /**
49 \brief
50 Returns the name of the exception.
51 */
52 virtual std::string exceptionName() const {return "DomainException";}
53 };
54
55 } // end of namespace
56 #endif

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.26