mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-09-04 03:38:01 +08:00
Foundation Classes - Inherited Standard_Failure from std::exception (#984)
First patch in iterative renovation of exceptions. - Simplify exception classes to be container of data only. - Removed redundant inclusion of <Standard_Type.hxx> in various header files across the project. - Removed Set methods for failure and its define template. - Removed Raise and Rerise static methods. - Remove Instance and Throw methods - Deprecated getting message with old approach, and moving to what() - Update ErrorHandler to handle only specific list of exceptions.
This commit is contained in:
@@ -17,7 +17,6 @@
|
||||
#ifndef _GccAna_NoSolution_HeaderFile
|
||||
#define _GccAna_NoSolution_HeaderFile
|
||||
|
||||
#include <Standard_Type.hxx>
|
||||
#include <Standard_DefineException.hxx>
|
||||
#include <Standard_SStream.hxx>
|
||||
#include <Standard_Failure.hxx>
|
||||
|
||||
@@ -17,7 +17,6 @@
|
||||
#ifndef _GccEnt_BadQualifier_HeaderFile
|
||||
#define _GccEnt_BadQualifier_HeaderFile
|
||||
|
||||
#include <Standard_Type.hxx>
|
||||
#include <Standard_DefineException.hxx>
|
||||
#include <Standard_SStream.hxx>
|
||||
#include <Standard_DomainError.hxx>
|
||||
|
||||
@@ -17,7 +17,6 @@
|
||||
#ifndef _Geom2dGcc_IsParallel_HeaderFile
|
||||
#define _Geom2dGcc_IsParallel_HeaderFile
|
||||
|
||||
#include <Standard_Type.hxx>
|
||||
#include <Standard_SStream.hxx>
|
||||
#include <Standard_DomainError.hxx>
|
||||
|
||||
|
||||
@@ -21,8 +21,10 @@
|
||||
|
||||
#include <gp_XY.hxx>
|
||||
#include <Standard_Integer.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
#include <Standard_Real.hxx>
|
||||
|
||||
class gp_XYZ;
|
||||
class Plate_D1;
|
||||
class Plate_D2;
|
||||
|
||||
Reference in New Issue
Block a user