summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/netlist/plib/pexception.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/netlist/plib/pexception.cpp')
-rw-r--r--src/lib/netlist/plib/pexception.cpp36
1 files changed, 35 insertions, 1 deletions
diff --git a/src/lib/netlist/plib/pexception.cpp b/src/lib/netlist/plib/pexception.cpp
index 7d0adca22c5..2eedd6f9d16 100644
--- a/src/lib/netlist/plib/pexception.cpp
+++ b/src/lib/netlist/plib/pexception.cpp
@@ -26,41 +26,75 @@ pexception::pexception(const pstring text)
m_text = text;
}
+pexception::~pexception() noexcept
+{
+}
+
file_e::file_e(const pstring fmt, const pstring &filename)
: pexception(pfmt(fmt)(filename))
{
}
+file_e::~file_e() noexcept
+{
+}
+
file_open_e::file_open_e(const pstring &filename)
: file_e("File open failed: {}", filename)
{
}
+file_open_e::~file_open_e() noexcept
+{
+
+}
+
file_read_e::file_read_e(const pstring &filename)
: file_e("File read failed: {}", filename)
{
}
+file_read_e::~file_read_e() noexcept
+{
+
+}
+
file_write_e::file_write_e(const pstring &filename)
: file_e("File write failed: {}", filename)
{
}
+file_write_e::~file_write_e() noexcept
+{
+}
+
null_argument_e::null_argument_e(const pstring &argument)
: pexception(pfmt("Null argument passed: {}")(argument))
{
}
+null_argument_e::~null_argument_e() noexcept
+{
+}
+
out_of_mem_e::out_of_mem_e(const pstring &location)
: pexception(pfmt("Out of memory: {}")(location))
{
}
-fpexception::fpexception(const pstring &text)
+out_of_mem_e::~out_of_mem_e() noexcept
+{
+}
+
+fpexception_e::fpexception_e(const pstring &text)
: pexception(pfmt("Out of memory: {}")(text))
{
}
+fpexception_e::~fpexception_e() noexcept
+{
+}
+
bool fpsignalenabler::m_enable = false;
fpsignalenabler::fpsignalenabler(unsigned fpexceptions)