SMTK
@SMTK_VERSION@
Simulation Modeling Tool Kit
smtk
attribute
UnsetValueError.h
1
//=========================================================================
2
// Copyright (c) Kitware, Inc.
3
// All rights reserved.
4
// See LICENSE.txt for details.
5
//
6
// This software is distributed WITHOUT ANY WARRANTY; without even
7
// the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
8
// PURPOSE. See the above copyright notice for more information.
9
//=========================================================================
10
#ifndef smtk_attribute_UnsetValueError_h
11
#define smtk_attribute_UnsetValueError_h
12
13
#include "smtk/CoreExports.h"
14
#include "smtk/SystemConfig.h"
// quiet dll-interface base class warnings on windows
15
16
#include <stdexcept>
17
18
namespace
smtk
19
{
20
namespace
attribute
21
{
22
25
class
SMTKCORE_EXPORT
UnsetValueError
:
public
std::runtime_error
26
{
27
public
:
28
UnsetValueError
()
29
: std::runtime_error(
"Iterator to unset item cannot be dereferenced"
)
30
{
31
}
32
};
33
34
}
// namespace attribute
35
}
// namespace smtk
36
37
#endif
smtk
The main namespace for the Simulation Modeling Tool Kit (SMTK).
Definition:
doc.h:33
smtk::attribute::UnsetValueError
An exception for dereferencing an iterator to an unset Item value.
Definition:
UnsetValueError.h:25
Generated by
1.8.17