Skip to content

Commit 28e2324

Browse files
committed
exceptions must be thrown to be effective
1 parent e8fc949 commit 28e2324

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

include/pfasst/interfaces.hpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -161,12 +161,12 @@ namespace pfasst
161161
virtual void save(bool initial_only=false)
162162
{
163163
UNUSED(initial_only);
164-
NotImplementedYet("mlsdc/pfasst");
164+
throw NotImplementedYet("mlsdc/pfasst");
165165
}
166166

167167
virtual void spread()
168168
{
169-
NotImplementedYet("pfasst");
169+
throw NotImplementedYet("pfasst");
170170
}
171171
//! @}
172172

@@ -179,19 +179,19 @@ namespace pfasst
179179
virtual void send(ICommunicator* comm, int tag, bool blocking)
180180
{
181181
UNUSED(comm); UNUSED(tag); UNUSED(blocking);
182-
NotImplementedYet("pfasst");
182+
throw NotImplementedYet("pfasst");
183183
}
184184

185185
virtual void recv(ICommunicator* comm, int tag, bool blocking)
186186
{
187187
UNUSED(comm); UNUSED(tag); UNUSED(blocking);
188-
NotImplementedYet("pfasst");
188+
throw NotImplementedYet("pfasst");
189189
}
190190

191191
virtual void broadcast(ICommunicator* comm)
192192
{
193193
UNUSED(comm);
194-
NotImplementedYet("pfasst");
194+
throw NotImplementedYet("pfasst");
195195
}
196196
//! @}
197197

@@ -219,7 +219,7 @@ namespace pfasst
219219
shared_ptr<const ISweeper<time>> src)
220220
{
221221
UNUSED(dst); UNUSED(src);
222-
NotImplementedYet("pfasst");
222+
throw NotImplementedYet("pfasst");
223223
}
224224

225225
/**
@@ -240,7 +240,7 @@ namespace pfasst
240240
shared_ptr<const ISweeper<time>> src)
241241
{
242242
UNUSED(dst); UNUSED(src);
243-
NotImplementedYet("pfasst");
243+
throw NotImplementedYet("pfasst");
244244
}
245245

246246

0 commit comments

Comments
 (0)