throw an exception rather than returning false

Signed-off-by: Chris Boertien <chris.boertien@gmail.com>