/[escript]/trunk/bruce/src/BruceException.h
ViewVC logotype

Contents of /trunk/bruce/src/BruceException.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 682 - (show annotations)
Mon Mar 27 02:43:09 2006 UTC (14 years, 7 months ago) by robwdcock
File MIME type: text/plain
File size: 1556 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 finley_BruceException_20050905_H
14 #define finley_BruceException_20050905_H
15
16 #include "esysUtils/EsysException.h"
17
18 #include <string>
19
20 namespace bruce {
21
22 /**
23 \brief
24 Bruce exception class.
25
26 Description:
27 Bruce exception class.
28 The class provides a public function returning the exception name.
29 */
30
31 class BruceException : public esysUtils::EsysException {
32
33 public:
34
35 /**
36 \brief
37 Default constructor for the exception.
38 */
39 BruceException() : EsysException() {}
40
41 /**
42 \brief
43 Constructor for the exception.
44 */
45 BruceException(const char *cstr) : EsysException(cstr) {}
46
47 /**
48 \brief
49 Constructor for the exception.
50 */
51 BruceException(const std::string &str) : EsysException(str) {}
52
53 /**
54 \brief
55 Returns the name of the exception.
56 */
57 virtual
58 std::string
59 exceptionName() const {return "BruceException";}
60
61 };
62
63 } // end of namespace
64
65 #endif

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.26