throw a custom Exception when the size set for resize are incorrect, rather than a generic Exception with no info on return
Merge branch 'resize_exception' into plume