MAK RTIspy API Documentation for HLA Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
propertyExceptions.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2012 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
6 
7 // \file propertyExceptions.h
8 // \brief Contains several exceptions that are thrown by the property classes.
9 
10 #ifndef propertyExceptions_H_
11 #define propertyExceptions_H_
12 
13 #include <rtiMsConfig.h>
14 #include <QtCore/QString>
15 
18 {
19 public:
20 
22  DtPropertyException(QString reason);
23 
25  virtual ~DtPropertyException();
26 
29 
31  DtPropertyException& operator=(const DtPropertyException&);
32 
34  QString reason() const;
35 
36 protected:
38  QString myReason;
39 };
40 
43 {
44 public:
45  DtInvalidPropertyName(QString reason);
46 };
47 
50 {
51 public:
52  DtDuplicatePropertyName(QString reason);
53 };
54 
57 {
58 public:
59  DtInvalidPropertyValue(QString reason);
60 };
61 
62 #endif
Exception thrown when the property name is invalid.
Definition: propertyExceptions.h:42
Exception thrown when the property value is invalid for the type.
Definition: propertyExceptions.h:56
Exception thrown when the property name is already exists.
Definition: propertyExceptions.h:49
QString myReason
My reason for the exception.
Definition: propertyExceptions.h:38
#define DT_DLL_ASSISTANTAPP
Definition: rtiMsConfig.h:122
Base property exception class.
Definition: propertyExceptions.h:17

Document ID: Generated on Mon Sep 7 15:40:32 EDT 2020 from SVN revision 217499
Copyright © 2005-2020 MAK Technologies Inc. All Rights Reserved (www.mak.com)