    

 ## On this page

  

 

 # OpenTD.BadDataException Class Reference

 Last update: 16.07.2025 

Thrown when [OpenTD](namespace_open_t_d.xhtml "Base Thermal Desktop functionality.") encounters bad input data. [More...](#details)

Inheritance diagram for OpenTD.BadDataException:

 ![](/sites/default/files/migrate-content/opentd_net4_reference_2025_r2_1/class_open_t_d_1_1_bad_data_exception.png)



## <a id="pub-methods" name="pub-methods"></a>Public Member Functions

 [BadDataException](#a7c3e01453e0c9a50c46e9a5fe8fd9a1a) (string msg) void [Show](class_open_t_d_1_1_open_t_d_exception.xhtml#a6bb2b77da552eb26ba97565479a04b95) () ## <a id="pub-attribs" name="pub-attribs"></a>Public Attributes

[StatusData](class_open_t_d_1_1_internal_1_1_communication_1_1_status_data.xhtml) [statusData](class_open_t_d_1_1_open_t_d_exception.xhtml#acd1273917399f662bfd8a18135305de7) <a id="details" name="details"></a>## Detailed Description

Thrown when [OpenTD](namespace_open_t_d.xhtml "Base Thermal Desktop functionality.") encounters bad input data.

See alsoSystem.Exception

## Constructor &amp; Destructor Documentation

<a id="a7c3e01453e0c9a50c46e9a5fe8fd9a1a" name="a7c3e01453e0c9a50c46e9a5fe8fd9a1a"></a>## [◆ ](#a7c3e01453e0c9a50c46e9a5fe8fd9a1a)BadDataException()

 OpenTD.BadDataException.BadDataException  ( string *msg*)   inline 





## Member Function Documentation

<a id="a6bb2b77da552eb26ba97565479a04b95" name="a6bb2b77da552eb26ba97565479a04b95"></a>## [◆ ](#a6bb2b77da552eb26ba97565479a04b95)Show()

 void OpenTD.OpenTDException.Show  ( )   inlineinherited 





## Member Data Documentation

<a id="acd1273917399f662bfd8a18135305de7" name="acd1273917399f662bfd8a18135305de7"></a>## [◆ ](#acd1273917399f662bfd8a18135305de7)statusData

 [StatusData](class_open_t_d_1_1_internal_1_1_communication_1_1_status_data.xhtml) OpenTD.OpenTDException.statusData  inherited 





---

The documentation for this class was generated from the following file:- C:/Users/mgarrett/source/repos/BuildsTdSuite/builds/TDDEV\_ALPHA/buildXX/OpenTD/**BadDataException.cs**