Use grnxx::Exception for error hangling and fix a bug.
Use grnxx::Exception for error handling.