-// Copyright (C) 2007-2012 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2013 CEA/DEN, EDF R&D, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
//
#include "SalomeApp_ExceptionHandler.h"
+#include "Utils_CorbaException.hxx"
#include "CASCatch.hxx"
#include "Basics_OCCTVersion.hxx"
{
showMessage( title, QString( e.GetMessageString() ) );
}
+ catch( SALOME::SALOME_Exception& ex)
+ {
+ showMessage( title, QString( ex.details.text));
+ }
#ifndef WIN32
catch(...)
{
// We disable FPE signal as it was in earlier versions of SALOME. It is enabled
// only in debug mode if the environment variable DISABLE_FPE is not set to 1.
bool raiseFPE;
-#if defined(_DEBUG_) | defined(_DEBUG) //the Last for WNT default settings
+#if defined(_DEBUG_) | defined(_DEBUG) //the Last for WIN32 default settings
raiseFPE = true;
char* envDisableFPE = getenv("DISABLE_FPE");
if (envDisableFPE && atoi(envDisableFPE))