[Shell] Fixed exception type.