OpenADFortTk (including Open64 and OpenAnalysis references)
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Exception.hpp
Go to the documentation of this file.
1
// $Id: Exception.hpp,v 1.5 2004/11/19 19:21:52 mstrout Exp $
2
// -*-C++-*-
3
// * BeginRiceCopyright *****************************************************
4
//
5
// Copyright (c) 2002-2004, Rice University <br>
6
// Copyright (c) 2004, University of Chicago <br>
7
// All rights reserved. <br>
8
// See ../../../Copyright.txt for details. <br>
9
//
10
// Redistribution and use in source and binary forms, with or without
11
// modification, are permitted provided that the following conditions are
12
// met:
13
//
14
// * Redistributions of source code must retain the above copyright
15
// notice, this list of conditions and the following disclaimer.
16
//
17
// * Redistributions in binary form must reproduce the above copyright
18
// notice, this list of conditions and the following disclaimer in the
19
// documentation and/or other materials provided with the distribution.
20
//
21
// * Neither the name of Rice University (RICE) nor the names of its
22
// contributors may be used to endorse or promote products derived from
23
// this software without specific prior written permission.
24
//
25
// This software is provided by RICE and contributors "as is" and any
26
// express or implied warranties, including, but not limited to, the
27
// implied warranties of merchantability and fitness for a particular
28
// purpose are disclaimed. In no event shall RICE or contributors be
29
// liable for any direct, indirect, incidental, special, exemplary, or
30
// consequential damages (including, but not limited to, procurement of
31
// substitute goods or services; loss of use, data, or profits; or
32
// business interruption) however caused and on any theory of liability,
33
// whether in contract, strict liability, or tort (including negligence
34
// or otherwise) arising in any way out of the use of this software, even
35
// if advised of the possibility of such damage.
36
//
37
// ******************************************************* EndRiceCopyright *
38
39
// Best seen in 120-column wide window (or print in landscape mode).
40
//--------------------------------------------------------------------------------------------------------------------
41
// This file is part of Mint.
42
// Arun Chauhan (
[email protected]
), Dept of Computer Science, Rice University, 2001.
43
//--------------------------------------------------------------------------------------------------------------------
44
45
#ifndef Exception_H
46
#define Exception_H
47
48
#include <iostream>
49
50
namespace
OA {
51
54
class
Exception
{
55
public
:
56
Exception
() {}
57
virtual
~Exception
() {}
58
virtual
void
report
(std::ostream&)
const
= 0;
59
};
60
61
}
// end of OA namespace
62
#endif
63
OpenAnalysis
src
OpenAnalysis
Utils
Exception.hpp
Generated on Fri Mar 14 2014 04:23:14 for OpenADFortTk (including Open64 and OpenAnalysis references) by
1.8.4