Exception: Add CADKernelError exception for specialized OCC exception propagation to App::DocumentObject

This commit is contained in:
Abdullah Tahiri
2017-04-27 00:36:02 +02:00
committed by wmayer
parent ffa10bbf0c
commit c2eea67893
2 changed files with 35 additions and 1 deletions

View File

@@ -545,6 +545,23 @@ UnitsMismatchError::UnitsMismatchError(const UnitsMismatchError &inst)
{
}
// ---------------------------------------------------------
CADKernelError::CADKernelError(const char * sMessage)
: Exception(sMessage)
{
}
CADKernelError::CADKernelError(const std::string& sMessage)
: Exception(sMessage)
{
}
CADKernelError::CADKernelError(const CADKernelError &inst)
: Exception(inst)
{
}
// ---------------------------------------------------------
#if defined(__GNUC__) && defined (FC_OS_LINUX)