Version: 8.3.0
Main Page
Related Pages
Packages
Data Structures
Files
File List
Globals
SALOME KERNEL Developer
Deprecated List
Packages
Data Structures
Files
File List
idl
src
Basics
Communication
Container
DF
DSC
DSC_Basic
DSC_User
Basic
Datastream
Calcium
Calcium.cxx
calcium.h
Calcium.hxx
calcium_complex_port_uses.hxx
calcium_destructors_port_uses.cxx
calcium_double_port_uses.hxx
calcium_intc_port_uses.hxx
calcium_logical_port_uses.hxx
calcium_long_port_uses.hxx
calcium_port_factory.cxx
calcium_port_factory.hxx
calcium_provides_port.cxx
calcium_provides_port.hxx
calcium_real_port_uses.hxx
calcium_repository_types.cxx
calcium_string_port_uses.hxx
calcium_uses_port.cxx
calcium_uses_port.hxx
CalciumC.c
CalciumCInterface.cxx
CalciumCInterface.hxx
CalciumCouplingPolicy.cxx
CalciumCouplingPolicy.hxx
CalciumCxxInterface.cxx
CalciumCxxInterface.hxx
calciumE.h
CalciumException.hxx
calciumf.c
calciumf.h
CalciumGenericProvidesPort.hxx
CalciumGenericUsesPort.hxx
CalciumInterface.hxx
CalciumMacroCInterface.hxx
calciumP.h
CalciumPortTraits.hxx
CalciumProvidesPort.cxx
CalciumTypes.hxx
CalciumTypes2CorbaTypes.cxx
CalciumTypes2CorbaTypes.hxx
CalciumTypesManipulator.hxx
Copy2CorbaSpace.hxx
Copy2UserSpace.hxx
CorbaTypes2CalciumTypes.cxx
CorbaTypes2CalciumTypes.hxx
fortoc.h
test_CalciumInterface.cxx
test_DataIdContainer.cxx
testInterpolation.cxx
version.h
Palm
AdjacentFunctor.hxx
AdjacentPredicate.hxx
ConstTraits.hxx
CorbaTypeManipulator.hxx
CouplingPolicy.hxx
DataIdFilter.hxx
DisplayPair.hxx
fake.cc
FindKeyPredicate.hxx
GenericPort.hxx
GenericProvidesPort.hxx
GenericUsesPort.hxx
IteratorTraits.hxx
ProcessTimeIntervalTraits.hxx
testAdjacentFunctor.cxx
testAdjacentPredicate.cxx
base_port.cxx
base_port.hxx
DSC_Exception.hxx
port_factory.hxx
provides_port.cxx
provides_port.hxx
Superv_Component_i.cxx
Superv_Component_i.hxx
test_DSC_Exception.cxx
uses_port.cxx
uses_port.hxx
ParallelDSC
GenericObj
HDFPersist
KernelHelpers
Launcher
LifeCycleCORBA
Logger
ModuleCatalog
ModuleGenerator
MPIContainer
NamingService
Notification
NOTIFICATION_SWIG
ParallelContainer
Registry
ResourcesManager
SALOMEDS
SALOMEDSClient
SALOMEDSImpl
SALOMELocalTrace
SALOMESDS
SALOMETraceCollector
TestContainer
TestMPIContainer
TOOLSDS
UnitTests
Utils
Globals
CalciumException.hxx
Go to the documentation of this file.
1
// Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE
2
//
3
// This library is free software; you can redistribute it and/or
4
// modify it under the terms of the GNU Lesser General Public
5
// License as published by the Free Software Foundation; either
6
// version 2.1 of the License, or (at your option) any later version.
7
//
8
// This library is distributed in the hope that it will be useful,
9
// but WITHOUT ANY WARRANTY; without even the implied warranty of
10
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11
// Lesser General Public License for more details.
12
//
13
// You should have received a copy of the GNU Lesser General Public
14
// License along with this library; if not, write to the Free Software
15
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
16
//
17
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18
//
19
20
// File : CalciumException.hxx
21
// Author : Eric Fayolle (EDF)
22
// Module : KERNEL
23
// Modified by : $LastChangedBy$
24
// Date : $LastChangedDate: 2007-02-06 17:20:28 +0100 (mar, 06 fév 2007) $
25
// Id : $Id$
26
//
27
#ifndef CALCIUM_EXCEPTION_HXX
28
#define CALCIUM_EXCEPTION_HXX
29
30
#if defined(__CONST_H) || defined(__CALCIUM_H)
31
#error "The header CalciumException.hxx must be included before calcium.h"
32
#endif
33
34
#include "
DSC_Exception.hxx
"
35
#include "
CalciumTypes.hxx
"
36
#include <string>
37
38
struct
CalciumException
:
public
DSC_Exception
{
39
40
CalciumException
(
const
CalciumTypes::InfoType
info,
41
const
std::string & text,
42
const
char
*fileName,
43
const
unsigned
int
lineNumber,
44
const
char
*funcName):
45
DSC_Exception
(text,fileName,lineNumber,funcName),
46
_info
(info),
_exceptionName
(
"CalciumException"
)
47
{};
48
49
50
CalciumException
(
const
CalciumTypes::InfoType
info,
51
const
std::string & text ):
52
DSC_Exception
(text),
_info
(info),
_exceptionName
(
"CalciumException"
)
53
{};
54
55
CalciumException
(
CalciumTypes::InfoType
info,
const
DSC_Exception
& ex ):
56
DSC_Exception
(ex),
_info
(info),
_exceptionName
(
"CalciumException"
)
57
{};
58
59
virtual
~CalciumException
() throw() {};
60
CalciumTypes::InfoType
getInfo
()
const
{
return
_info
;}
61
void
setInfo
(
CalciumTypes::InfoType
info) {
_info
=info;}
62
virtual
const
std::string &
getExceptionName
()
const
{
return
_exceptionName
;};
63
64
protected
:
65
CalciumTypes::InfoType
_info
;
66
std::string
_exceptionName
;
67
};
68
69
70
#endif
/* CALCIUM_EXCEPTION_HXX */
src
DSC
DSC_User
Datastream
Calcium
CalciumException.hxx
Copyright © 2007-2017 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS