Error
throw Error("File corrupted or it is not BeIDE *.proj file");
throw Error("%s already exists", makePath);
throw Error("Can not create makefile");
throw Error("Can not open template %s", templateFileName.Path());
throw Error("");
Error(const char* what, ...);
Error::Error(const char* what, ...)
throw Error("%s not found", projPath);
int Error() const;
BTransactionError Error() const;
status_t Error() noexcept;
status_t Error() const
status_t Error() const
status_t Error() const;
if (auth->fStream.Error() != B_OK) {
if (xdr.Error() != B_OK)
if (auth->fStream.Error() != B_OK)
if (call->fStream.Error() != B_OK) {
inline status_t Error();
CallbackRequest::Error()
} else if (request->Error() != B_OK) {
inline status_t Error();
Reply::Error()
if (fReply->Stream().Error() == B_OK)
if (fReply->Error() != B_OK || fReply->Stream().IsEOF()) {
return fReply->Error();
if (fRequest->Stream().Error() == B_OK)
WriteStream::Error() const
inline status_t Error() const;
status = fRequestOwner.Error();
status_t Error() const { return fError; }
T(Error(this, "opening failed", __LINE__));
T(Error(this, "binding failed", __LINE__));
T(Error(this, "prepare send faild", __LINE__));
T(Error(this, "sending failed", __LINE__));
T(Error(this, "spawning failed", __LINE__));
Error(TCPEndpoint* endpoint, const char* error, int32 line)
Error(view, status);
Error(view, status);
Error(view, status);
Error(view, status);
Error(view, status, true);
Error(view, status);
return err < B_OK ? Error((j_common_ptr)&cinfo, err)
: Error((j_common_ptr)&cinfo, B_ERROR);
return Error((j_common_ptr)&cinfo, err);
return Error((j_common_ptr)&cinfo, B_ERROR);
? Error((j_common_ptr)&cinfo, bytesWritten)
: Error((j_common_ptr)&cinfo, B_ERROR);
? Error((j_common_ptr)&cinfo, bytesWritten)
: Error((j_common_ptr)&cinfo, B_ERROR);
status_t Error(j_common_ptr cinfo, status_t error = B_ERROR);
return Error(outs, NULL, NULL, 0, NULL, B_ERROR);
return Error(outs, image, NULL, 0, NULL, B_ERROR);
return Error(outs, image, pixels, i+1, in_scanline, B_ERROR);
return (err < B_OK) ? Error(outs, image, pixels,
: Error(outs, image, pixels, out_color_components, in_scanline,
return Error(outs, image, pixels,
return Error(ins, NULL, NULL, 0, NULL, B_ERROR);
return Error(ins, image, NULL, 0, NULL, B_ERROR);
return Error(ins, image, NULL, 0, NULL, B_ERROR);
return Error(ins, image, NULL, 0, NULL, B_ERROR);
return Error(ins, image, NULL, 0, NULL, err);
return Error(ins, image, NULL, 0, NULL, B_ERROR);
return Error(ins, image, NULL, 0, NULL, B_ERROR);
return Error(ins, image, pixels, i + 1, out_scanline, B_ERROR);
return (err < B_OK) ? Error(ins, image, pixels, in_color_components,
: Error(ins, image, pixels, in_color_components, out_scanline,
status_t Error(jas_stream_t* stream, jas_image_t* image, jas_matrix_t** pixels,
return ex.Error();
result = ex.Error();
result = ex.Error();
return ex.Error();
strerror(ex.Error()));
return ex.Error();
return ex.Error();
if (exception.Error() == B_OK) {
strerror(exception.Error()));
strerror(exception.Error()));
if (exception.Error() == B_OK) {
throw Error("cannot set %s for '%s'. Hex data size %d is invalid",
throw Error("cannot set %s for '%s'. Hex data size %d is invalid",
throw Error("cannot set %s for '%s'. Hex data size %d is invalid",
throw Error("extension '%s' couldn't be added",
throw Error("set file extensions failed");
throw Error("internal error: %s arg not found", kAttribute);
throw Error("storing attributes in message failed");
throw Error("set mimetype attributes failed");
throw Error("Sniffer rule is empty");
throw Error("super types enumeration failed");
throw Error("name for supertype #%d not found", si);
throw Error("mimetypes of supertype '%s' not found", superName);
throw Error("name for type %s/#%d not found", superName, i);
throw Error(kNeedArgMessage);
Error(const char* what, ...);
Error::Error(const char* what, ...)
throw Error("Invalid data for %s", kAttrType);
throw Error("mime signature already specified: '%s'", Type());
throw Error("unknown option '%s'", *arg);
throw Error(kHelpMessage);
throw Error(kWrongModeMessage);
throw Error("argument required for '%s'", name);
throw Error("option '%s' already specified", name);
throw Error("attribute name should be specified");
throw Error("'%s' allowed only after the '%s' <name>",
throw Error("'%s', argument should be specified", name);
throw Error("'%s' for attribute '%s' already specified",
throw Error("internal error. wrong mode: %d", I->second->fType);
throw Error(kNeedArgMessage);
throw Error("error instantiating mime for '%s': %s",
throw Error("signature should be specified");
throw Error("mime for '%s' is not valid", Type());
throw Error("mime for '%s' is not valid", Type());
throw Error("mime for '%s' is not installed", Type());
throw Error("cannot create icon of size %d", iconSize);
throw Error("failed to set mimetype to '%s'", mimetype);
throw Error(strerror(result), result);
throw Error("could not install mimetype '%s'", Type());
throw Error("cannot set %s to %s for '%s'", kShort, value, Type());
throw Error("cannot set %s to %s for '%s'", kLong, value, Type());
throw Error("%s ref_entry for '%s' couldn't be found for '%s'",
throw Error("cannot set %s to %s for '%s'",
throw Error("cannot set %s to %s for '%s'",
throw Error("cannot set %s to %s for '%s'",
status_t Error() const { return fError; }
return exception.Error();
return exception.Error();
error = exception.Error();
error = exception.Error();
return exception.Error();
status_t Error() const
if (transactionResult.Error() != B_TRANSACTION_OK)
if (exception.Error() != B_OK)
error = exception.Error();
if (exception.Error() != B_OK)
error = exception.Error();
if (exception.Error() != B_OK)
error = exception.Error();
if (exception.Error() != B_OK)
error = exception.Error();
Error(BRect rect, alert_type type, const char *tag, const char *message, bool timestamp,
Error::Error(BRect rect, alert_type atype, const char *tag, const char *message,
Error::GetPreferredSize(float *width, float *height)
Error::Draw(BRect updateRect)
Error::FrameResized(float w, float h)
Error *newError = new Error(BRect(0, panel->add_next_at, panel->Bounds().right,
BTransactionError Error() const
if (exception.Error() == B_OK) {
exception.Message().String(), strerror(exception.Error())));
error = exception.Error();
if (result.Error() != B_TRANSACTION_OK) {
TB(Error(fCache, block->block_number, "write failed", written));
TB(Error(fCache, fBlockNumber, "IORequest::Init starting here failed", status));
TB(Error(cache, fBlockNumber, "prefetch starting here failed", status));
TB(Error(this, blockNumber, "allocation failed"));
TB(Error(this, blockNumber, "get unused failed"));
TB(Error(cache, blockNumber, "put unknown"));
TB(Error(cache, blockNumber, "read failed", bytesRead));
TB(Error(cache, blockNumber, "allocate original failed"));
TB(Error(cache, blockNumber, "allocate parent failed"));
Error(block_cache* cache, uint64 blockNumber, const char* message,
Error("Error parsing PJL header");
Error("Error parsing PCL6");
Error("Could not read length of dataLength");
Error("Could not read type tag of length of dataLengthByte");
Error("Could not read length of dataLengthByte");
Error("Out of data for dataLength[Byte]\n");
Error("Unknown byte in input stream");
Error("Reading data");
Error("Could not read attribute id");
void Error(const char* text);
Error("Missing group ID in open statement");
Error("Missing option in close statement");
Error("Close statement without an open statement");
Error("Close statement has no corresponding open statement");
Error("Keyword missing");
Error("Option has no value");
Error("Value has no value");
Error(error.String());
Error(string.String());
Error("Expected symbol value!");
Error("Expected value");
Error("Expected \" at end of value");
Error("Symbol expected!");
Error("String value expected!");
Error("Newline expected at end of statement");
Error("Expected *");
Error("Identifier expected");
Error("Out of memory scanning translationn!");
Error("Out of memory scanning option!");
void Error(const char* message) { fScanner.Error(message); }
Error("Unexpected EOF in hexadecimal substring!");
Error("Character is not a hexadecimal digit!");
void Error(const char* message);
status_t Error() const;
CPPUNIT_ASSERT_EQUAL(B_OK, listener->Error());
CPPUNIT_ASSERT_EQUAL(B_OK, listener->Error());
return Error("Failed to prepare test: %s", strerror(error));
return Error("Failed to spawn thread: %s\n", strerror(thread));
return Error("Unexpected syscall return value: %s\n",
return Error("Handler was called but shouldn't have been!");
return Error("Handler was not called!");
inline void Error(const char* format,...);
Error("ASSERT FAILED at %s:%d %s: %s\n", file, line, function, condition);
Error("ASSERT FAILED at %s:%d %s: %s; %s\n", file, line, function,
subContext.Error("setup failed\n");
context.Error("Failed to spawn thread: %s\n",
DIE(e.Error(), "%s %s", e.Message().String(), e.Details().String());
fprintf(stderr, "%s\n", strerror(exception.Error()));
strerror(exception.Error()));