Fixed an exception type and message in create_sino()