Index: trunk/BNC/src/PPP/ppp.h
===================================================================
--- trunk/BNC/src/PPP/ppp.h	(revision 5762)
+++ trunk/BNC/src/PPP/ppp.h	(revision 5763)
@@ -10,4 +10,15 @@
 
 namespace BNC {
+
+class pppExcept {
+ public:
+  pppExcept(const char* msg) {
+    _msg = msg;
+  }
+  ~pppExcept() {}
+  std::string what() {return _msg;}
+ private:
+  std::string _msg;
+};
 
 enum e_pppMode {
Index: trunk/BNC/src/PPP/pppClient.cpp
===================================================================
--- trunk/BNC/src/PPP/pppClient.cpp	(revision 5762)
+++ trunk/BNC/src/PPP/pppClient.cpp	(revision 5763)
@@ -371,8 +371,4 @@
   station->setDClk(xyzc[3]);
 
-  // US Restriction
-  // -------------- 
-  station->checkRestriction(time);
-
   // Tides
   // -----
@@ -445,14 +441,6 @@
     return finish(failure);
   }
-  catch (string& msg) {
-    LOG << "Exception: " << msg << endl;
-    return finish(failure);
-  }
-  catch (logic_error exc) {
-    LOG << exc.what() << endl;
-    return finish(failure);
-  }
-  catch (const char* msg) {
-    LOG << msg << endl;
+  catch (pppExcept msg) {
+    LOG << msg.what() << endl;
     return finish(failure);
   }
Index: trunk/BNC/src/PPP/pppMain.cpp
===================================================================
--- trunk/BNC/src/PPP/pppMain.cpp	(revision 5762)
+++ trunk/BNC/src/PPP/pppMain.cpp	(revision 5763)
@@ -135,5 +135,5 @@
 
     if (hlp.size() < 9) {
-      throw "pppMain: wrong option staTable";
+      throw pppExcept("pppMain: wrong option staTable");
     }
 
Index: trunk/BNC/src/PPP/pppThread.cpp
===================================================================
--- trunk/BNC/src/PPP/pppThread.cpp	(revision 5762)
+++ trunk/BNC/src/PPP/pppThread.cpp	(revision 5763)
@@ -74,6 +74,6 @@
     QThread::exec();
   }
-  catch (const char* msg) {
-    cout << msg << endl;
+  catch (pppExcept exc) {
+    cout << exc.what() << endl;
   }
   cout << _opt->_roverName << " exit" << endl;
Index: trunk/BNC/src/PPP/station.cpp
===================================================================
--- trunk/BNC/src/PPP/station.cpp	(revision 5762)
+++ trunk/BNC/src/PPP/station.cpp	(revision 5763)
@@ -81,27 +81,2 @@
 }
 
-// 
-//////////////////////////////////////////////////////////////////////////////
-void t_station::checkRestriction(const bncTime& tt) {
-
-  const double maxSpeed  = 515.0;   // [m/s^2]
-  const double maxHeight = 18200.0; // [m]
-
-  if (_ellApr(3) > maxHeight) {
-    throw "t_station: height restriction";
-  }
-
-  if (tt.valid()) {
-    if (_timeCheck.valid()) {
-      double dt = tt - _timeCheck;
-      if (dt > 0.0) {
-        double vel = (_xyzApr - _xyzCheck).norm_Frobenius() / dt;
-        if (vel > maxSpeed) {
-          throw "t_station: speed restriction";
-        }
-      }
-    }
-    _timeCheck = tt;
-    _xyzCheck  = _xyzApr;
-  }
-}
Index: trunk/BNC/src/PPP/station.h
===================================================================
--- trunk/BNC/src/PPP/station.h	(revision 5762)
+++ trunk/BNC/src/PPP/station.h	(revision 5763)
@@ -30,5 +30,4 @@
   double dClk() const {return _dClk;}
   double windUp(const bncTime& time, t_prn prn, const ColumnVector& rSat) const;
-  void checkRestriction(const bncTime& tt);
 
  private:
