Raising exceptions while internal APIs

Raising exception instead of catching.
Raising exception makes more sense and also easier to comprehend the
result of an operation