Lines Matching refs:Error

186 class Error : public std::exception
190 Error(const char* what, ...);
191 virtual ~Error() throw() {}
196 Error::Error(const char* what, ...)
356 throw Error("Invalid data for %s", kAttrType);
584 throw Error("mime signature already specified: '%s'", Type());
595 throw Error("unknown option '%s'", *arg);
600 throw Error(kHelpMessage);
605 throw Error(kWrongModeMessage);
617 throw Error("argument required for '%s'", name);
623 throw Error("option '%s' already specified", name);
632 throw Error("attribute name should be specified");
643 throw Error("'%s' allowed only after the '%s' <name>",
647 throw Error("'%s', argument should be specified", name);
651 throw Error("'%s' for attribute '%s' already specified",
660 throw Error("internal error. wrong mode: %d", I->second->fType);
666 throw Error(kNeedArgMessage);
669 throw Error("error instantiating mime for '%s': %s",
684 throw Error("signature should be specified");
687 throw Error("mime for '%s' is not valid", Type());
692 throw Error("mime for '%s' is not valid", Type());
695 throw Error("mime for '%s' is not installed", Type());
781 throw Error("cannot create icon of size %d", iconSize);
808 throw Error("failed to set mimetype to '%s'", mimetype);
955 throw Error(strerror(result), result);
964 throw Error("could not install mimetype '%s'", Type());
969 throw Error("cannot set %s to %s for '%s'", kShort, value, Type());
974 throw Error("cannot set %s to %s for '%s'", kLong, value, Type());
980 throw Error("%s ref_entry for '%s' couldn't be found for '%s'",
984 throw Error("cannot set %s to %s for '%s'",
991 throw Error("cannot set %s to %s for '%s'",
997 throw Error("cannot set %s to %s for '%s'",
1004 throw Error("cannot set %s for '%s'. Hex data size %d is invalid",
1014 throw Error("cannot set %s for '%s'. Hex data size %d is invalid",
1024 throw Error("cannot set %s for '%s'. Hex data size %d is invalid",
1045 throw Error("extension '%s' couldn't be added",
1049 throw Error("set file extensions failed");
1059 throw Error("internal error: %s arg not found", kAttribute);
1080 throw Error("storing attributes in message failed");
1084 throw Error("set mimetype attributes failed");
1095 throw Error("Sniffer rule is empty");
1123 throw Error("super types enumeration failed");
1128 throw Error("name for supertype #%d not found", si);
1132 throw Error("mimetypes of supertype '%s' not found", superName);
1141 throw Error("name for type %s/#%d not found", superName, i);
1159 throw Error(kNeedArgMessage);