knowing / Medmon

Medical Monitoring
5 stars 0 forks source link

Throw exception on to small segments #101

Open muuki88 opened 12 years ago

muuki88 commented 12 years ago

Problem

If segements are too short, the algorithm throws a NullPointerException because the segments list is empty.

Task

Throw an Exception with a sophisticated error message.