0028550: Foundation Classes - fix empty message passed to thrown exception
[occt.git] / src / GCE2d / GCE2d_MakeHyperbola.cxx
index 377c53a..5d9e945 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-#include <GCE2d_MakeHyperbola.ixx>
+
+#include <GCE2d_MakeHyperbola.hxx>
 #include <gce_MakeHypr2d.hxx>
+#include <Geom2d_Hyperbola.hxx>
+#include <gp_Ax2d.hxx>
+#include <gp_Ax22d.hxx>
+#include <gp_Hypr2d.hxx>
+#include <gp_Pnt2d.hxx>
 #include <StdFail_NotDone.hxx>
 
 GCE2d_MakeHyperbola::GCE2d_MakeHyperbola(const gp_Hypr2d& H)
@@ -59,6 +65,7 @@ GCE2d_MakeHyperbola::GCE2d_MakeHyperbola(const gp_Pnt2d& S1     ,
 
 const Handle(Geom2d_Hyperbola)& GCE2d_MakeHyperbola::Value() const
 { 
-  StdFail_NotDone_Raise_if(TheError != gce_Done,"");
+  StdFail_NotDone_Raise_if (TheError != gce_Done,
+                            "GCE2d_MakeHyperbola::Value() - no result");
   return TheHyperbola;
 }