strlcpy(whatBuffer, source.whatBuffer, whatBufferSize);
}
-CommonError::~CommonError() throw ()
+CommonError::~CommonError() _NOEXCEPT
{
}
}
}
-const char *UnixError::what() const throw ()
+const char *UnixError::what() const _NOEXCEPT
{
return whatBuffer;
}
}
}
-const char *MacOSError::what() const throw ()
+const char *MacOSError::what() const _NOEXCEPT
{
return whatBuffer;
}
void MacOSError::throwMe(int error)
{ throw MacOSError(error); }
+void MacOSError::throwMe(int error, char const *message, ...)
+{
+ // Ignoring the message for now, will do something with it later.
+ throw MacOSError(error);
+}
+
MacOSError MacOSError::make(int error)
{ return MacOSError(error); }
LogBacktrace();
}
-const char *CFError::what() const throw ()
+const char *CFError::what() const _NOEXCEPT
{ return "CoreFoundation error"; }
OSStatus CFError::osStatus() const