Browse files

allow exception to be raised when instantiating Schdule

  • Loading branch information...
1 parent c622142 commit 8466ba03439e85445ca0025b79c0acc7efb7e988 @dpinte dpinte committed Jun 18, 2012
Showing with 5 additions and 5 deletions.
  1. +5 −5 quantlib/time/_schedule.pxd
View
10 quantlib/time/_schedule.pxd
@@ -42,7 +42,7 @@ cdef extern from 'ql/time/schedule.hpp' namespace 'QuantLib':
BusinessDayConvention terminationDateConvention,
Rule rule,
bool endOfMonth,
- )
+ ) except +
Schedule(Date& effectiveDate,
Date& terminationDate,
Period& tenor,
@@ -51,10 +51,10 @@ cdef extern from 'ql/time/schedule.hpp' namespace 'QuantLib':
BusinessDayConvention terminationDateConvention,
Rule rule,
bool endOfMonth,
- Date& firstDate,
- Date& nextToLastDate
- )
-
+ Date& firstDate,
+ Date& nextToLastDate
+ ) except +
+
Size size()
Date& at(Size i)
Date previousDate(Date& refDate)

0 comments on commit 8466ba0

Please sign in to comment.