100+ results results for 'ERROR repo:syntaxkid82/libdvdcss-1.2.13' (553 ms)
61C routines. For this case, the user must supply the "exact" 62C solution or a very accurate approximation (one with an error 63C much less than TOL) through a common block, 84C ERR :OUT Double Precision. 85C Error estimate of error in final approximate solution, as 86C defined by ITOL. 87C IERR :OUT Integer. 88C Return error flag. 89C IERR = 0 => All went well. 91C IERR = 2 => Method failed to converge in ITMAX steps. 92C IERR = 3 => Error in user input. 93C Check input values of N, ITOL. 93C Check input values of N, ITOL. 94C IERR = 4 => User error tolerance set too tight. 95C Reset to 500*D1MACH(3). Iteration proceeded.YVFK.F http://ua-fwlis.googlecode.com/svn/trunk/ | FORTRAN Legacy | 465 lines
323* FUNCTION IS AT THE MIDDLE OF THE PARALLEL PLATES. WE NEED TO MAKE SURE 324* THAT THE RELATIVE ERROR BOUND IS SATISFIED AT LEAST 3 TIMES 325* LATER COMMENT: NOTE THAT THIS IS POSSIBLY TAKEN CARE OF BY ONLY SUMMING 395* FUNCTION IS AT THE MIDDLE OF THE PARALLEL PLATES. WE NEED TO MAKE SURE 396* THAT THE RELATIVE ERROR BOUND IS SATISFIED AT LEAST 3 TIMES 397* LATER COMMENT: NOTE THAT THIS IS POSSIBLY TAKEN CARE OF BY ONLY SUMMINGresult.py http://nltk.googlecode.com/svn/trunk/ | Python | 343 lines
18from nltk_contrib.tiger.index import IndexNodeId 19from nltk_contrib.tiger.query.exceptions import MissingFeatureError 20from nltk_contrib.tiger.utils.parallel import multiprocessing 232 else: 233 raise MissingFeatureError, "Missing feature: disjoint constraint sets. Please file a bug report." 234 self._reset_stats() 245 return self._ncache[node_id] 246 except KeyError: 247 self.node_cache_misses += 1EventLog.pm http://libwin32.googlecode.com/svn/trunk/ | Perl | 474 lines
26 EVENTLOG_END_PAIRED_EVENT 27 EVENTLOG_ERROR_TYPE 28 EVENTLOG_FORWARDS_READ 43 ($constname = $AUTOLOAD) =~ s/.*:://; 44 # reset $! to zero to reset any current errors. 45 local $! = 0; 334 335=item C<EVENTLOG_ERROR_TYPE> 336 336 337An Error event is being logged. 338wspy_dissector.py http://cwoodruf-sfu-cmpt.googlecode.com/svn/trunk/ | Python | 444 lines
155 return self.__st[name] 156 #raise KeyError 157advi.sty git://git.savannah.nongnu.org/skribilo.git | TeX | 417 lines
37 \expandafter \@firstoftwo \else \expandafter \@secondoftwo \fi} 38\def \advi@error #1{\PackageError {Advi}{#1}{Type <RETURN> to proceed.}} 39\def \advi@warning #1{\PackageWarning {Advi}{#1}} 39\def \advi@warning #1{\PackageWarning {Advi}{#1}} 40\def \advi@undefinedenv {\advi@error {Environment \@currenvir\space undefined. 41Maybe you mean \@currenvir ing}} 174 {\advi@global \def \advi@bgfit{ fit=#1}} 175 {\advi@error {Ill formed background fit=#1}}% 176 \fi} 368 \advi@special@ {html:<a hdvi="#2">}\else 369 \advi@error {Incorect anchor mode #1}\fi \fi\endgroup} 370 {\advi@special@ {html:</a>}}prolog.py http://hagoth.googlecode.com/svn/trunk/ | Python | 384 lines
172 173 Raises ValueError if a mapping already exists or the key is not a var. 174 """ 175 if not self.is_var(var): 176 raise ValueError("Tried to insert non-var %s into map" % (var,)) 177 if var.name in self.vardict: 177 if var.name in self.vardict: 178 raise ValueError("%s is already in the mapping" % (var,)) 179 190 if not self.is_var(var): 191 raise ValueError("Got something other than a variable") 192 197 if not self.is_var(var): 198 raise ValueError("Got something other than a variable") 199Xmlable.hs http://hixay.googlecode.com/svn/trunk/ | Haskell | 324 lines
33 34newtype Errors = Errors { errors :: [(Int, String)] } deriving Eq 35instance Monoid Errors where 40 LT -> b 41instance Error Errors where 42 noMsg = mempty 102 103throwErrorX s = get >>= \xs -> throwError $ Errors $ case xs of 104 [] -> [(-1, "There is not enough xml data")] 105 ((n,x):_) -> [(n, s ++ " at " ++ show (map snd $ takeWhile ((==n) . fst) xs) ++ ". Position = " ++ show n)] 106bindX m s = m `catchError` (throwError . Errors . map (second $ (s++) . (" -> "++)) . errors) 107 116 getEnv [(_, Attr n _)] = XdcAttr n; getEnv [(_, Val _)] = XdcVal; getEnv [(_, ElemB n _)] = XdcElem n [] 117 getEnv x = error $ "Error in list parsing (getEnv). Param: " ++ show x 118liquidwartex.c git://git.savannah.nongnu.org/liquidwar.git | C | 448 lines
173 if (!FLAG_HELP) 174 printf ("ERROR! Too few arguments.\n"); 175 } 198 if (!FLAG_HELP) 199 printf ("ERROR! Color number must be between 8 and 32"); 200 } 207 if (!FLAG_HELP) 208 printf ("ERROR! Too few arguments.\n"); 209 } 232 if (!success) 233 printf ("ERROR! Unable to read '%s'.\n", filename); 234 return success; 271 { 272 printf ("ERROR! Texture is too small.\n"); 273 DST_W = DST_H = 1;FileDatastore.tex https://code.google.com/p/opensees-websocket/ | LaTeX | 252 lines
92these arrays. If the files could not be opened, or there is not enough 93memory for the arrays an error message is printed and the program 94is terminated. \\ 114the time of this last commit are the same. If they are different, an 115error message is printed and $-1$ is returned. A check is then made to 116see if the component base relations have been updated for this current domain 122needed to be updated. A warning message and a negative number is 123printed if an error occurs. \\ 124 127The object first obtains from the Domain relation the information for 128{\em commitTag}. If no information exists, an error message is printed 129and a $-1$ is returned. A check is then made to see if the domain 138with current time and load factor. A warning message and a negative 139number is printed if an error occurs. \\ 140Handle.pm http://dwarvis.googlecode.com/svn/trunk/ | Perl | 566 lines
85Wait until the filehandle is readable or writable (and return true) or 86until an error condition happens (and return false). 87util.py https://code.google.com/p/nubox/ | Python | 395 lines
30 item_typecode = TYPE_TO_TYPECODE[item_type] 31 except KeyError: 32 item_typecode = OBJECT_TYPECODES[0] 104 isatomic = False 105 except TypeError: 106 isiterable = False 169 if len(slices) != len(shape): 170 raise ValueError("number of slices must match shape") 171 nd_indices = [] 223 if ln < 2: 224 raise ValueError('at least 2 breakpoints required') 225 breakids = [] 254# if len(colors) != 240: 255# raise ValueError("Array has to be of length 240.") 256# init = ''s_account.lua http://mta-venux.googlecode.com/svn/trunk/ | Lua | 331 lines
75 outputChatBox("Username or password is invalid! You only have "..(3-attempts).." attempts left!",thePlayer, 255,0,0 ) 76 --return outputDebugString("ERROR 1: Failed to retrieve account for user: ".. getPlayerName(thePlayer) .." function: attemptLogin", 3) 77 end 86 if ( username ~= "" and password ~= "" ) then 87 local success, error = exports.sql:query_free("INSERT INTO `accounts` VALUES('', '".. tostring(username) .."', '".. md5( tostring( password ) ) .."', '".. getPlayerSerial(thePlayer) .."', '0')") 88 if ( error ) then 88 if ( error ) then 89 return outputDebugString( error ) 90 else 109 if ( q == false ) then 110 outputDebugString("Error: This player doesnt have any characters.", 3) -- output info message. 111 outputChatBox("* You do not have any characters yet, please create one to play.", thePlayer, 180, 100, 0 ) 134 else 135 return outputDebugString("ERROR 5: setupCharacterSelect could not be started, first IF failed.", 2) 136 endlibip6tc.c http://xpkit.googlecode.com/svn/trunk/xpkit/ | C | 443 lines
5 * Chains go INPUT, FORWARD, OUTPUT then user chains. 6 * Each user chain starts with an ERROR node. 7 * Every chain ends with an unconditional jump: a RETURN for user chains, 59 60#define ERROR_TARGET IP6T_ERROR_TARGET 61#define NUMHOOKS NF_IP6_NUMHOOKS 93#define TC_COMMIT ip6tc_commit 94#define TC_STRERROR ip6tc_strerror 95 201 printf("verdict=%u\n", pos); 202 } else if (strcmp(t->u.user.name, IP6T_ERROR_TARGET) == 0) 203 printf("error=`%s'\n", t->data); 435 436 /* Final entry must be error node */ 437 assert(strcmp(GET_TARGET(index2entry(h, h->new_number-1))nl.po.in git://git.savannah.gnu.org/gsasl.git | Autoconf | 300 lines
24 25#: src/error.c:46 26msgid "Libgsasl success" 28 29#: src/error.c:47 30msgid "SASL mechanism needs more data" 32 33#: src/error.c:48 34msgid "Unknown SASL mechanism" 36 37#: src/error.c:50 38msgid "SASL mechanism called too many times" 40 41#: src/error.c:52 42msgid "SASL function needs larger buffer (internal error)"OWSExceptionReport.java http://geoforge.googlecode.com/svn/trunk/ | Java | 340 lines
24 * report XML document. Exception reports typically contain one or more independent exceptions indicating an independent 25 * error. 26 * <p/> 39 /** 40 * Indicates the exception report's list of web service exceptions. Each exception indicates an independent error. 41 * Initially assigned to a new <code>ArrayList</code>. 119 /** 120 * Indicates this exception report's list of web service exceptions. Each exception indicates an independent error. 121 * 131 /** 132 * Specifies this exception report's list of web service exceptions. Each exception indicates an independent error. 133 *Default.ascx http://pigeoncms.googlecode.com/svn/trunk/ | ASP.NET | 226 lines
24 <h1><%=base.GetLabel("ModuleTitle", "Comments")%></h1> 25 <asp:Label ID="LblErr" runat="server" Text="" CssClass="error"></asp:Label> 26 <asp:Label ID="LblOk" runat="server" Text="" CssClass="success"></asp:Label>mapping.py https://code.google.com/p/mappa/ | Python | 369 lines
70 71 def handle_literal(self, handler, error_handler, subject, predicate_iri, value, datatype, language): 72 """\ 74 """ 75 error_handler.reject_literal(self.name, value, datatype) 76 76 77 def handle_object(self, handler, error_handler, subject, predicate_iri, obj, is_blank_node): 78 """\ 80 """ 81 error_handler.reject_nonliteral(self.name, obj) 82 179 180 def handle_object(self, handler, error_handler, subject, predicate_iri, obj, is_blank_node): 181 handler.startAssociation()Patch.java http://mater.googlecode.com/svn/trunk/ | Java | 467 lines
85 //System.out.print("ADD = "+ new Double((610 / e) )+" ; "); 86 //MaterModel.pError("model.getMaxPopDensity = "+ model.getMaxPopDensity() + " model.getMinPopDensity = " + model.getMinPopDensity() + " model.getOverallMaxPopDensity = "+ model.getOverallMaxPopDensity() + " model.getOverallMinPopDensity = "+ model.getOverallMinPopDensity()); 87 //MaterModel.pError("**********************"); 87 //MaterModel.pError("**********************"); 88 //MaterModel.pError("elevation = "+ this.elevation + "elevation / MAX_E = " + this.elevation / MAX_E); 89 //MaterModel.pError("RESULT: "+ e); 90 /*if( e < 0 ) 91 MaterModel.pError("BUG: valor de capacidade de suporte de uma c?Šlula inferior a 0!!! elevation is "+this.elevation+ " and isWater "+this.water);*/ 92 return e; 105 //System.out.print("ADD = "+ new Double((610 / e) )+" ; "); 106 //MaterModel.pError("model.getMaxPopDensity = "+ model.getMaxPopDensity() + " model.getMinPopDensity = " + model.getMinPopDensity() + " model.getOverallMaxPopDensity = "+ model.getOverallMaxPopDensity() + " model.getOverallMinPopDensity = "+ model.getOverallMinPopDensity()); 107 //MaterModel.pError("**********************"); 107 //MaterModel.pError("**********************"); 108 //MaterModel.pError("elevation = "+ this.elevation + "elevation / MAX_E = " + this.elevation / MAX_E); 109 //MaterModel.pError("RESULT: "+ e);packmime_ranvar.h http://uu-cope.googlecode.com/svn/trunk/ | C Header | 383 lines
219 static const double RATE_SCALE2; /* Gamma rate parameter of scale^2 */ 220 static const double V_ERROR; /* variance of error */ 221}; 245 static const double RATE_SCALE2; /* Gamma rate parameter of scale^2 */ 246 static const double V_ERROR; /* variance of error */ 247}; 333 static const double RATE_SCALE2_B; /* Gamma rate param of scale^2 */ 334 static const double V_ERROR_B; /* variance of error */ 335 354 static const double RATE_SCALE2_W; /* Gamma rate param of scale^2 */ 355 static const double V_ERROR_W; /* variance of error */ 356__init__.py https://bitbucket.org/birkenfeld/sphinx/ | Python | 351 lines
18from sphinx import package_dir 19from sphinx.errors import PycodeError 20from sphinx.pycode import nodes 188 except Exception as err: 189 raise PycodeError('error opening %r' % filename, err) 190 obj = cls(fileobj, modname, filename) 197 entry = cls.cache['module', modname] 198 if isinstance(entry, PycodeError): 199 raise entry 207 obj = cls.for_file(source, modname) 208 except PycodeError as err: 209 cls.cache['module', modname] = err 250 self.tokens = list(tokenize.generate_tokens(self.source.readline)) 251 except tokenize.TokenError as err: 252 raise PycodeError('tokenizing failed', err)KhorosToMatLab.old git://github.com/aludnam/MATLAB.git | Perl | 452 lines
278 print "elseif nargin ==2\n Inputs=varargin{1}; arglist=varargin{2};\n"; 279 print "else error('Usage: [out1,..] = k$fname(Inputs,arglist).');\nend\n"; 280 } 285 print "elseif nargin ==1\n arglist=varargin{1};\n"; 286 print "else error('Usage: [out1,..] = k$fname(arglist).');\nend\n"; 287 } 287 } 288print "if size(arglist,2)~=2\n error('arglist must be of form {''ParameterTag1'',value1;''ParameterTag2'',value2}')\n end\n"; 289 342 if (nextinput > length(Inputs)) 343 error(['Input ' narglist{jj,1} ' has no corresponding input!']); 344 end 348 if (nextoutput > nargout) 349 error(['Output nr. ' narglist{jj,1} ' is not present in the assignment list of outputs !']); 350 endnsISHistory.h http://firefox-mac-pdf.googlecode.com/svn/trunk/ | C Header | 313 lines
94 * the index is obtained successfully. 95 * <code>NS_ERROR_FAILURE</code> Error in obtaining 96 * history entry for the given index. 112 * @throws <code>NS_SUCCESS_LOSS_OF_INSIGNIFICANT_DATA</code> Purge was vetod. 113 * @throws <code>NS_ERROR_FAILURE</code> numEntries is 114 * invalid or out of bounds with the size of history. 206#define NS_FORWARD_SAFE_NSISHISTORY(_to) \ 207 NS_SCRIPTABLE NS_IMETHOD GetCount(PRInt32 *aCount) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCount(aCount); } \ 208 NS_SCRIPTABLE NS_IMETHOD GetIndex(PRInt32 *aIndex) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIndex(aIndex); } \ 208 NS_SCRIPTABLE NS_IMETHOD GetIndex(PRInt32 *aIndex) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIndex(aIndex); } \ 209 NS_SCRIPTABLE NS_IMETHOD GetRequestedIndex(PRInt32 *aRequestedIndex) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRequestedIndex(aRequestedIndex); } \ 210 NS_SCRIPTABLE NS_IMETHOD GetMaxLength(PRInt32 *aMaxLength) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMaxLength(aMaxLength); } \ 210 NS_SCRIPTABLE NS_IMETHOD GetMaxLength(PRInt32 *aMaxLength) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMaxLength(aMaxLength); } \ 211 NS_SCRIPTABLE NS_IMETHOD SetMaxLength(PRInt32 aMaxLength) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMaxLength(aMaxLength); } \ 212 NS_SCRIPTABLE NS_IMETHOD GetEntryAtIndex(PRInt32 index, PRBool modifyIndex, nsIHistoryEntry **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetEntryAtIndex(index, modifyIndex, _retval); } \nsIDOMHTMLAppletElement.h http://firefox-mac-pdf.googlecode.com/svn/trunk/ | C Header | 309 lines
138#define NS_FORWARD_SAFE_NSIDOMHTMLAPPLETELEMENT(_to) \ 139 NS_SCRIPTABLE NS_IMETHOD GetAlign(nsAString & aAlign) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAlign(aAlign); } \ 140 NS_SCRIPTABLE NS_IMETHOD SetAlign(const nsAString & aAlign) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAlign(aAlign); } \ 140 NS_SCRIPTABLE NS_IMETHOD SetAlign(const nsAString & aAlign) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAlign(aAlign); } \ 141 NS_SCRIPTABLE NS_IMETHOD GetAlt(nsAString & aAlt) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAlt(aAlt); } \ 142 NS_SCRIPTABLE NS_IMETHOD SetAlt(const nsAString & aAlt) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAlt(aAlt); } \ 142 NS_SCRIPTABLE NS_IMETHOD SetAlt(const nsAString & aAlt) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAlt(aAlt); } \ 143 NS_SCRIPTABLE NS_IMETHOD GetArchive(nsAString & aArchive) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetArchive(aArchive); } \ 144 NS_SCRIPTABLE NS_IMETHOD SetArchive(const nsAString & aArchive) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetArchive(aArchive); } \ 144 NS_SCRIPTABLE NS_IMETHOD SetArchive(const nsAString & aArchive) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetArchive(aArchive); } \ 145 NS_SCRIPTABLE NS_IMETHOD GetCode(nsAString & aCode) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCode(aCode); } \ 146 NS_SCRIPTABLE NS_IMETHOD SetCode(const nsAString & aCode) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCode(aCode); } \ 146 NS_SCRIPTABLE NS_IMETHOD SetCode(const nsAString & aCode) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCode(aCode); } \ 147 NS_SCRIPTABLE NS_IMETHOD GetCodeBase(nsAString & aCodeBase) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCodeBase(aCodeBase); } \ 148 NS_SCRIPTABLE NS_IMETHOD SetCodeBase(const nsAString & aCodeBase) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCodeBase(aCodeBase); } \CGIHTTPServer.py https://bitbucket.org/pypy/pypy/ | Python | 378 lines
148 if not (self.have_fork or self.have_popen2 or self.have_popen3): 149 self.send_error(403, "CGI script is not a Python script (%r)" % 150 scriptname) 152 if not self.is_executable(scriptfile): 153 self.send_error(403, "CGI script is not executable (%r)" % 154 scriptname) 247 os.setuid(nobody) 248 except os.error: 249 pass 253 except: 254 self.server.handle_error(self.request, self.client_address) 255 os._exit(127) 272 nbytes = int(length) 273 except (TypeError, ValueError): 274 nbytes = 0QuadTreeNode.cpp git://github.com/swganh/mmoserver.git | C++ | 433 lines
191 { 192 assert(false && "QuadTreeNode::getObjectsInRange ERROR INVALID ID"); 193 } 328 } 329 DLOG(INFO) << "QuadTreeNode::removeObject ERROR FAILED to REMOVE object with id = " << object->getId(); 330 return(2); 407 { 408 gLogger->log(LogManager::DEBUG,"QuadTreeNode::addMyObject: ERROR INSERTED OBJECT already exist = %"PRIu64"", object->getId()); 409 return(2);GameSwingDoor.cpp git://github.com/FrictionalGames/PenumbraOverture.git | C++ | 474 lines
85 { 86 Error("Couldn't find game element for entity '%s'\n",mpEntity->GetName().c_str()); 87 }keys.rb git://github.com/jnunemaker/mongomapper.git | Ruby | 469 lines
120 attrs['_type'] ? attrs['_type'].constantize : self 121 rescue NameError 122 selfBshScriptEngine.java http://beanshell2.googlecode.com/svn/trunk/ | Java | 381 lines
92 // explicit parsing error 93 throw new ScriptException(e.toString(), e.getErrorSourceFile(), e.getErrorLineNumber()); 94 } catch (TargetError e) { 96 // set it as the cause ? 97 ScriptException se = new ScriptException(e.toString(), e.getErrorSourceFile(), e.getErrorLineNumber()); 98 se.initCause(e.getTarget()); 198 private ScriptException constructScriptException(final EvalError e) { 199 return new ScriptException(e.getMessage(), e.getErrorSourceFile(), e.getErrorLineNumber()); 200 } 270 // set it as the cause ? 271 ScriptException se = new ScriptException(e.toString(), e.getErrorSourceFile(), e.getErrorLineNumber()); 272 se.initCause(e.getTarget()); 275 // The script couldn't be evaluated properly 276 throw new ScriptException(e.toString(), e.getErrorSourceFile(), e.getErrorLineNumber()); 277 } catch (InterpreterError e) {bodycontent-inc.php http://ebpls.googlecode.com/svn/trunk/ | PHP | 444 lines
2/*Modification History: 32008.04.25: Change constants to strings to remove PHP errors in log lines 99+ line 461?? 4*/context.ipp http://hadesmem.googlecode.com/svn/trunk/ | C++ Header | 0 lines
203 { 204 ec = boost::system::error_code(::ERR_get_error(), 205 boost::asio::error::get_ssl_category()); 305 { 306 ec = boost::system::error_code(::ERR_get_error(), 307 boost::asio::error::get_ssl_category()); 344 { 345 ec = boost::system::error_code(::ERR_get_error(), 346 boost::asio::error::get_ssl_category()); 384 { 385 ec = boost::system::error_code(::ERR_get_error(), 386 boost::asio::error::get_ssl_category()); 423 { 424 ec = boost::system::error_code(::ERR_get_error(), 425 boost::asio::error::get_ssl_category());headers.html http://hadesmem.googlecode.com/svn/trunk/ | HTML | 0 lines
56 57div.admonition, div.attention, div.caution, div.danger, div.error, 58div.hint, div.important, div.note, div.tip, div.warning { 69div.attention p.admonition-title, div.caution p.admonition-title, 70div.danger p.admonition-title, div.error p.admonition-title, 71div.warning p.admonition-title {Level0.cpp http://wowtbc.googlecode.com/svn/trunk/ | C++ | 497 lines
242 { 243 RedSystemMessage(m_session, "Internal error: Could not find create info."); 244 return false;Updater.cs https://hg01.codeplex.com/procon2 | C# | 0 lines
124 /// 125 /// This is so the update can forego checks and error logging later. 126 /// </summary> 176 catch (Exception e) { 177 this.Writer.WriteLine("\tERROR: {0}", e.Message); 178 } 209 catch (Exception e) { 210 this.Writer.WriteLine("\tERROR: {0}", e.Message); 211 } 256 /// <summary> 257 /// Creates a directory, logging the progress and errors (if any) 258 /// </summary> 267 catch (Exception e) { 268 this.Writer.WriteLine("\tERROR: {0}", e.Message); 269 }DeclPDA.cpp git://github.com/TTimo/doom3.gpl.git | C++ | 668 lines
147 148 if ( src.HadError() ) { 149 src.Warning( "PDA decl '%s' had a parse error", GetName() ); 359 src.LoadMemory( _text, textLength, GetFileName(), GetLineNum() ); 360 src.SetFlags( LEXFL_NOSTRINGCONCAT | LEXFL_ALLOWPATHNAMES | LEXFL_ALLOWMULTICHARLITERALS | LEXFL_ALLOWBACKSLASHSTRINGCONCAT | LEXFL_NOFATALERRORS ); 361 src.SkipUntilString( "{" ); 401 if ( token != "{" ) { 402 src.Warning( "Email decl '%s' had a parse error", GetName() ); 403 return false; 417 418 if ( src.HadError() ) { 419 src.Warning( "Email decl '%s' had a parse error", GetName() ); 485 src.LoadMemory( text, textLength, GetFileName(), GetLineNum() ); 486 src.SetFlags( LEXFL_NOSTRINGCONCAT | LEXFL_ALLOWPATHNAMES | LEXFL_ALLOWMULTICHARLITERALS | LEXFL_ALLOWBACKSLASHSTRINGCONCAT | LEXFL_NOFATALERRORS ); 487 src.SkipUntilString( "{" );WtWebErrors.c http://aptcl.googlecode.com/svn/trunk/ | C | 542 lines
427 if (Tcl_ListObjReplace(interp, w->web->errorStack, 428 errorSetId, sets - errorSetId, 0, NULL) != TCL_OK) { 429 ok = 0; 466 if (useErrorInfo) { 467 errorInfo = Tcl_GetVar2Ex(interp, "errorInfo", NULL, 0); 468 } 468 } 469 if (!errorInfo || !Tcl_GetCharLength(errorInfo)) { 470 errorInfo = Tcl_GetObjResult(interp); 480 481 if (!WtAddError(errorCode, errorInfo, interp, w)) { 482 ok = 0; 490 491int WtAddError(Tcl_Obj *errorCode, Tcl_Obj *errorInfo, Tcl_Interp *interp, 492 WtContext *w)umfpack_get_symbolic.h http://gkw.googlecode.com/svn/trunk/ | C Header | 340 lines
167 168 Returns UMFPACK_OK if successful, UMFPACK_ERROR_invalid_Symbolic_object 169 if Symbolic is an invalid object.dedesql.class.php http://pj-photohost.googlecode.com/svn/trunk/ | PHP | 605 lines
3{ 4 exit("Request Error!"); 5} 248 { 249 $this->DisplayError(mysql_error()." <br />Error sql: <font color='red'>".$this->queryString."</font>"); 250 } 430 { 431 $errorTrackFile = dirname(__FILE__).'/../data/mysql_error_trace.inc'; 432 if( file_exists(dirname(__FILE__).'/../data/mysql_error_trace.php') ) 445 446 $savemsg = 'Page: '.$this->GetCurUrl()."\r\nError: ".$msg; 447 //??MySql???? 596 fputs(fopen($log_file,'a+'),"$userIP||$getUrl||$db_string||$error\r\n"); 597 exit("<font size='5' color='red'>Safe Alert: Request Error step 2!</font>"); 598 }TextTable.cs https://EffiProz.svn.codeplex.com/svn | C# | 439 lines
175 // source and cache or have an empty source and null cache. 176 throw Error.error(t, ErrorCode.TEXT_FILE, 0, new Object[] { 177 t.Message, linenumber 262 { 263 throw Error.error(ErrorCode.TEXT_SOURCE_EXISTS, dataSourceNew); 264 } 302 303 throw Error.error(ErrorCode.TEXT_TABLE_HEADER); 304 } 328 { 329 throw Error.error(ErrorCode.TEXT_TABLE_UNKNOWN_DATA_SOURCE); 330 } 333 { 334 throw Error.error(ErrorCode.DATA_IS_READONLY); 335 }I_sound.c https://doomlegacy.svn.sourceforge.net/svnroot/doomlegacy | C | 570 lines
105 if(spl==NULL) 106 I_Error("Raw2Sample : no more free mem"); 107 spl->bits = 8; 344 { 345 sprintf (err,"Sound init error : %s\n",allegro_error); 346 CONS_Error (err); 374 * Loads a standard MIDI file from memory, returning a pointer to 375 * a MIDI structure, * or NULL on error. 376 * It is the load_midi from Allegro modified to load it from memory 529 { 530 CONS_Printf("Cannot convert mus to mid, converterror :%d\n",e); 531 return 0;XcmsAllocNamedColor.m git://anongit.freedesktop.org/git/xorg/test/xts.git/ | Objective C | 0 lines
138 * Turn on buffering and buffer parameter information 139 * in case an error occurs 140 ******/ 145 message(fmtstr, fmt_lst, 0); 146 (void)strcpy(fmtstr, "An error occurred during a call to %s\n\n"); 147 fmt_lst[0].typ_str = TestName; 161 162 bufrdisp(display); /* buffer display struct info for error checking */ 163 179 180 first_error = 0; /* no errors encountered yet */ 181/****** 186 errflg = 0; 187 XSetErrorHandler(signal_status); 188 svc_ret_value = XcmsAllocNamedColor(libdivecomputer.c git://github.com/torvalds/subsurface.git | C | 482 lines
24 25static GError *error(const char *fmt, ...) 26{ 27 va_list args; 28 GError *error; 29 30 va_start(args, fmt); 31 error = g_error_new_valist( 32 g_quark_from_string("subsurface"), 32 g_quark_from_string("subsurface"), 33 DIVE_ERROR_PARSE, fmt, args); 34 va_end(args); 34 va_end(args); 35 return error; 36}lzma.js git://github.com/mrdoob/three.js.git | JavaScript | 511 lines
505 if ( !decoder.decode(inStream, outStream, outSize) ){ 506 throw "Error in data stream"; 507 }ValueTypeConverter.cs https://CompositeC1.svn.codeplex.com/svn | C# | 355 lines
48 { 49 Exception conversionError; 50 return TryConvert(value, targetType, out conversionError); 53 /// <exclude /> 54 internal static object TryConvert(object value, Type targetType, out Exception conversionError) 55 { 55 { 56 conversionError = null; 57 77 78 object convertedValue = TryConvert(value, genericArgument, out conversionError); 79 142 { 143 return TryConvertStringValue(stringValue, targetType, ref conversionError); 144 }main.jsp http://webgoat.googlecode.com/svn/trunk/ | JavaServer Pages | 301 lines
2 import="org.owasp.webgoat.session.*, org.owasp.webgoat.lessons.Category, org.owasp.webgoat.lessons.AbstractLesson, org.owasp.webgoat.util.*, java.util.*" 3 errorPage="" %> 4<%yuv4mpeg.c git://github.com/opdenkamp/xbmc.git | C | 402 lines
107 if (yuv4_generate_header(s, buf2) < 0) { 108 av_log(s, AV_LOG_ERROR, "Error. YUV4MPEG stream header write failed.\n"); 109 return AVERROR(EIO); 154 if (s->nb_streams != 1) 155 return AVERROR(EIO); 156 157 if (s->streams[0]->codec->pix_fmt == PIX_FMT_YUV411P) { 158 av_log(s, AV_LOG_ERROR, "Warning: generating rarely used 4:1:1 YUV stream, some mjpegtools might not work.\n"); 159 } 163 (s->streams[0]->codec->pix_fmt != PIX_FMT_YUV444P)) { 164 av_log(s, AV_LOG_ERROR, "ERROR: yuv4mpeg only handles yuv444p, yuv422p, yuv420p, yuv411p and gray pixel formats. Use -pix_fmt to select one.\n"); 165 return AVERROR(EIO); 241 else if (strncmp("444alpha", tokstart, 8)==0) { 242 av_log(s, AV_LOG_ERROR, "Cannot handle 4:4:4:4 YUV4MPEG stream.\n"); 243 return -1;nsISAXContentHandler.cs https://bitbucket.org/geckofx/geckofx-2.0/ | C# | 257 lines
64 /// There is an apparent contradiction between the documentation for 65 /// this method and the documentation for ErrorHandler.fatalError(). 66 /// Until this ambiguity is resolved in a future major release, 68 /// will or will not be invoked when the parser has reported a 69 /// fatalError() or thrown an exception. 70 /// 73 /// invoke this method until it has either abandoned parsing (because 74 /// of an unrecoverable error) or reached the end of input. 75 /// </summary>BaseMetadataPanel.java http://bungeni-editor.googlecode.com/svn/ | Java | 441 lines
158 159 public void addErrorMessage(java.awt.Component p, String msg) { 160 getContainerPanel().addErrorMessage(this, p, msg); 162 163 public String ErrorMessagesAsString() { 164 return getContainerPanel().ErrorMessagesAsString(); 383 } catch (Exception ex) { 384 log.error("exception in processCatalogCommand: " + ex.getMessage()); 385 log.error("exception in processCatalogCommand: " + CommonExceptionUtils.getStackTrace(ex)); 426 } catch (IllegalArgumentException ex) { 427 log.error("pasteTextIntoDocument : " + ex.getMessage()); 428 } finally {TicketCommands.cpp git://github.com/darkman1983/TrinityCore.git | C++ | 457 lines
183 { 184 SendSysMessage(LANG_COMMAND_TICKETASSIGNERROR_A); 185 return true; 190 { 191 PSendSysMessage(LANG_COMMAND_TICKETASSIGNERROR_B, ticket->GetId()); 192 return true;llex.cpp git://github.com/scummvm/scummvm.git | C++ | 475 lines
55 if (b->buffsize >= MAX_SIZET/2) 56 luaX_lexerror(ls, "lexical element too long", 0); 57 newsize = b->buffsize * 2; 101 102void luaX_lexerror (LexState *ls, const char *msg, int token) { 103 char buff[MAXSRC]; 111 112void luaX_syntaxerror (LexState *ls, const char *msg) { 113 luaX_lexerror(ls, msg, ls->t.token); 133 if (++ls->linenumber >= MAX_INT) 134 luaX_syntaxerror(ls, "chunk has too many lines"); 135} 177static void trydecpoint (LexState *ls, SemInfo *seminfo) { 178 /* format error: try to update decimal point separator */ 179 // Normally we'd use localeconv() to get the decimal point separator, butGoogleReader.cs http://reader-notifier-mod.googlecode.com/svn/branches/merge/ | C# | 418 lines
30 31 public string LoginError = ""; 32 public string[] ProxyUser = new string[3]; 47 _loggedIn = false; 48 LoginError = ""; 49 55 { 56 LoginError += exc + "\r\n"; 57 if (ProxyUser[0] == "request") 58 return "ProxyAuthRequired"; 59 return "CONNECT_ERROR"; 60 } 64 string _helper = GetResponseString(req); 65 _loggedIn = (_helper.IndexOf("error", StringComparison.OrdinalIgnoreCase) == -1) && (_helper.IndexOf("auth", StringComparison.OrdinalIgnoreCase) != -1); 66 if (_loggedIn == true)presubmit.py git://github.com/joyent/node.git | Python | 436 lines
32 md5er = hashlib.md5 33except ImportError, e: 34 import md5 112 out_lines = "" 113 error_count = -1 114 while True: 116 if out_line == '' and process.poll() != None: 117 if error_count == -1: 118 print "Failed to process %s" % command.pop() 123 out_lines += out_line 124 error_count += 1 125 sys.stdout.write(out_lines) 271 total_errors = sum(results) 272 print "Total errors found: %d" % total_errors 273 good_files_cache.Save()nsICmdLineHandler.h https://hg01.codeplex.com/kmbrasil | C Header | 0 lines
30{ \ 31 if (!aDefaultArgs) return NS_ERROR_FAILURE; \ 32 *aDefaultArgs = ToNewUnicode(nsDependentCString(macro_default_args)); \ 37{ \ 38 if (!aChromeUrlForTask) return NS_ERROR_FAILURE; \ 39 *aChromeUrlForTask = PL_strdup(macro_chrome_url); \ 44{ \ 45 if (!aCommandLineArgument) return NS_ERROR_FAILURE; \ 46 *aCommandLineArgument = PL_strdup(macro_cmd_line_arg); \ 50{ \ 51 if (!aPrefNameForStartup) return NS_ERROR_FAILURE; \ 52 *aPrefNameForStartup = PL_strdup(macro_pref_name); \ 56{ \ 57 if (!aHelpText) return NS_ERROR_FAILURE; \ 58 *aHelpText = PL_strdup(macro_help_text); \MessageProcessor.java git://github.com/lmco/eurekastreams.git | Java | 337 lines
153 * @throws MessagingException 154 * On error. 155 * @throws IOException 155 * @throws IOException 156 * On error. 157 */ 264 // notify user on failure 265 // Note: A response is only sent for errors processing the action (which could be due to missing content 266 // from the message). This is because any errors encountered prior represent a bad sender or ill-formed 280 * @throws MessagingException 281 * On error. 282 */ 300 * @throws MessagingException 301 * On error. 302 */ftp.pm https://misterhouse.svn.sourceforge.net/svnroot/misterhouse | Perl | 395 lines
45 my $scheme = $url->scheme; 46 return HTTP::Response->new(&HTTP::Status::RC_INTERNAL_SERVER_ERROR, 47 "LWP::Protocol::ftp::request called for '$scheme'"); 59 if ($init_failed) { 60 return HTTP::Response->new(&HTTP::Status::RC_INTERNAL_SERVER_ERROR, 61 $init_failed); 85 $@ =~ s/^Net::FTP: //; 86 return HTTP::Response->new(&HTTP::Status::RC_INTERNAL_SERVER_ERROR, $@); 87 } 171 if ($method ne 'HEAD') { 172 $response->code(&HTTP::Status::RC_INTERNAL_SERVER_ERROR); 173 $response->message("FTP close response: " . $ftp->code .GSInterlace.cpp http://fop-miniscribus.googlecode.com/svn/trunk/ | C++ | 429 lines
66 if (!wr) { 67 QMessageBox::warning(0, qApp->tr("Error"),qApp->tr("Window Unable to open action file or dir %1").arg(loc.toString())); 68 } 75 if (!r) { 76 QMessageBox::warning(0, qApp->tr("Error"),qApp->tr("Linux Unable to open action file or dir %1").arg(loc.toString())); 77 }get_tv_info https://misterhouse.svn.sourceforge.net/svnroot/misterhouse | Perl | 365 lines
157 # Do this as quick a possible, so we can use File_Item watch in mh 158 open (OUT1, ">$parms{outfile1}") or die "Error, could not open output file $parms{outfile1}: $!\n"; 159 open (OUT2, ">$parms{outfile2}") or die "Error, could not open output file $parms{outfile2}: $!\n"; 186 use DB_File; 187 tie (%DBM, 'DB_File', $dbm_file, O_RDWR|O_CREAT, 0666) or print "\nError, can not open dbm file $dbm_file: $!"; 188 tie (%DBM2, 'DB_File', $dbm_file2, O_RDWR|O_CREAT, 0666) or print "\nError, can not open dbm file $dbm_file2: $!";Che0.f http://ua-fwlis.googlecode.com/svn/trunk/ | FORTRAN Legacy | 318 lines
36* The integrals are evaluated to SD significant digits in most cases. * 37* The relative error is given by RELERR = .5*10.**(-SD). * 38*******************************************************************************tsturm.f http://ua-fwlis.googlecode.com/svn/trunk/ | FORTRAN Legacy | 406 lines
27C 28C EPS1 is an absolute error tolerance for the computed eigen- 29C values. It should be chosen so that the accuracy of these 55C WARNING - If more than MM eigenvalues are determined to lie 56C in the interval, an error return is made with no values or 57C vectors found. 75C does not split. If the matrix splits, the eigenvalues are 76C in ascending order for each submatrix. If a vector error 77C exit is made, W contains those values already found. W is a 80C Z contains the associated set of orthonormal eigenvectors. 81C If an error exit is made, Z contains those vectors already 82C found. Z is a one-dimensional REAL array, dimensioned 395 GO TO 1001 396C .......... SET ERROR -- NON-CONVERGED EIGENVECTOR .......... 397 960 IERR = 4 * N + Rm3u8.c http://ossbuild.googlecode.com/svn/trunk/ | C | 509 lines
114 || (errno != 0 && *val == 0)) { 115 GST_WARNING ("%s", g_strerror (errno)); 116 return FALSE; 285 if (!int_from_string (v, NULL, &list->bandwidth)) 286 GST_WARNING ("Error while reading BANDWIDTH"); 287 } else if (g_str_equal (a, "PROGRAM-ID")) { 288 if (!int_from_string (v, NULL, &list->program_id)) 289 GST_WARNING ("Error while reading PROGRAM-ID"); 290 } else if (g_str_equal (a, "CODECS")) { 294 if (!int_from_string (v, &v, &list->width)) 295 GST_WARNING ("Error while reading RESOLUTION width"); 296 if (!v || *v != '=') { 300 if (!int_from_string (v, NULL, &list->height)) 301 GST_WARNING ("Error while reading RESOLUTION height"); 302 }DESTR.pas http://my-chuanqi.googlecode.com/svn/trunk/ | Pascal | 401 lines
303 if (Length(Str) > 0) and (Ord(Str[Length(Str)]) = 0) then 304 raise Exception.Create('Error: the last char is NULL char.'); 305 if Length(Key) < 8 then 382 Res := Res * 16 + Ord(Ch) - Ord('a') + 10 383 else raise Exception.Create('Error: not a Hex String'); 384 end;encode.java http://kmttg.googlecode.com/svn/trunk/ | Java | 376 lines
60 if ( ! file.isFile(mpeg) ) { 61 log.error("mpeg file not given or doesn't exist: " + mpeg); 62 schedule = false; 67 if ( ! encodeConfig.isValidEncodeName(job.encodeName) ) { 68 log.error("invalid encoding profile for this job: " + job.encodeName); 69 schedule = false; 110 } else { 111 log.error("Failed to start command: " + process.toString()); 112 process.printStderr(); 215 if (failed == 1) { 216 log.error("encoding failed (exit code: " + exit_code + " ) - check command: " + process.toString()); 217 process.printStderr(); 238 } else { 239 log.error("Failed to delete file: "+ job.inputFile); 240 }Action.class.php http://thinkphp.googlecode.com/svn/trunk/ | PHP | 340 lines
134 // ???? 135 throw_exception(L('_ERROR_ACTION_').ACTION_NAME); 136 } 290 307 => 'Temporary Redirect', 291 // Client Error 4xx 292 400 => 'Bad Request', 309 417 => 'Expectation Failed', 310 // Server Error 5xx 311 500 => 'Internal Server Error',HTMLParser.py git://github.com/aptana/Pydev.git | Python | 384 lines
48 49class HTMLParseError(Exception): 50 """Exception raised for all parse errors.""" 113 114 def error(self, message): 115 raise HTMLParseError(message, self.getpos()) 165 if end: 166 self.error("EOF in middle of construct") 167 break 194 if end and match.group() == rawdata[i:]: 195 self.error("EOF in middle of entity or char ref") 196 # incomplete 276 offset = offset + len(self.__starttag_text) 277 self.error("junk characters in start tag: %s" 278 % `rawdata[k:endpos][:20]`)DesTest.cs https://singularity.svn.codeplex.com/svn | C# | 309 lines
76 if (Util.CompareArraySpans(message, 0, roundtrip_clear, 0, 8) != 0) { 77 Console.WriteLine("DES ERROR: DES implementation '{0}' FAILED an encrypt/decrypt roundtrip test.", des.GetType().Name); 78 Console.WriteLine(" key: " + Util.ByteArrayToStringHex(key));ftcglyph.h http://libgdx.googlecode.com/svn/trunk/ | C++ Header | 330 lines
223 /* can be used as @FTC_Cache_InitFunc */ 224 FT_LOCAL( FT_Error ) 225 FTC_GCache_Init( FTC_GCache cache ); 254 /* convenience function; use it instead of FTC_Manager_Register_Cache */ 255 FT_LOCAL( FT_Error ) 256 FTC_GCache_New( FTC_Manager manager, 260#ifndef FTC_INLINE 261 FT_LOCAL( FT_Error ) 262 FTC_GCache_Lookup( FTC_GCache cache, 280#define FTC_GCACHE_LOOKUP_CMP( cache, famcmp, nodecmp, hash, \ 281 gindex, query, node, error ) \ 282 FT_BEGIN_STMNT \ 291 FTC_MRULIST_LOOKUP_CMP( &_gcache->families, _gquery, _fcompare, \ 292 _mrunode, error ); \ 293 _gquery->family = FTC_FAMILY( _mrunode ); \FileUtility.cs https://scsfcontrib.svn.codeplex.com/svn | C# | 379 lines
114 { 115 // it is a unc path, so decorate the end with a back-slash (to correct misconfigurations, defend against trivial errors) 116 return AppendTerminalBackslash( path );ns-address.tcl http://uu-cope.googlecode.com/svn/trunk/ | TCL | 391 lines
94# set-address-format command explained above. 95# expand-port-field-bits checks and raises error in the foll. 96# cases 99# * if requested portsize is less than equal to existing 100# portsize, and incase of no errors sets port field with 101# bits as specified. 102# 103# Errors: * if # of bits specified less than 0. 104# * if bit positions clash (contiguous # of requested free bits 153 } else { 154 error "ns-address.tcl:set-address-format: Unknown address format $opt" 155 } 241 if {$bit_num <= 0 } { 242 error "$prog : \# bits less than 1" 243 }suspend.php http://creative-portal.googlecode.com/svn/trunk/ | PHP | 297 lines
66 $save = $nv_Request->get_int( 'save', 'post', 0 ); 67 $error = ""; 68 if ( $save ) 74 { 75 $error = sprintf( $lang_module['susp_reason_empty'], $row_user['username'] ); 76 } 154 { 155 nv_info_die( $lang_global['error_info_caption'], $lang_global['site_info'], $lang_global['error_sendmail_admin'], 1 ); 156 } 167 168 $contents['change_suspend']['new_suspend_caption'] = ( ! empty( $error ) ) ? $error : $lang_module['chg_is_suspend' . $new_suspend]; 169 $contents['change_suspend']['new_suspend_is_error'] = ( ! empty( $error ) ) ? 1 : 0; 264{ 265 $class = ( $contents['change_suspend']['new_suspend_is_error'] ) ? " class=\"error\"" : ""; 266 $xtpl->assign( 'CLASS', ( $contents['change_suspend']['new_suspend_is_error'] ) ? " class=\"error\"" : "" );users_controller_spec.rb http://mobicents.googlecode.com/svn/trunk/ | Ruby | 412 lines
193 194 it "should set an error message in the flash if the user's profile is not complete'" do 195 @current_user.stub!(:profile_complete?).and_return(false) 196 get :edit 197 flash[:error].should_not be_blank 198 end 199 200 it "should NOT set an error message in the flash if the user's profile is not complete'" do 201 @current_user.stub!(:profile_complete?).and_return(true) 202 get :edit 203 flash[:error].should be_blank 204 end 355 356 it "should have a status of :error if the credentials are not valid" do 357 @client.should_receive(:attempt).with(:valid_credentials?, false).and_return(false)install.php https://code.google.com/p/osclass/ | PHP | 253 lines
21 22error_reporting(E_ERROR | E_CORE_ERROR | E_COMPILE_ERROR | E_PARSE); 23 41require_once LIB_PATH . 'osclass/helpers/hDefines.php'; 42require_once LIB_PATH . 'osclass/helpers/hErrors.php'; 43require_once LIB_PATH . 'osclass/helpers/hLocale.php'; 86 $message = __("Looks like you've already installed OSClass. To reinstall please clear your old database tables first."); 87 osc_die('OSClass » Error', $message) ; 88} 219 } elseif($step == 3) { 220 if( !isset($error["error"]) ) { 221 display_target(); 222 } else { 223 display_database_error($error, ($step - 1)); 224 }test_weakset.py https://bitbucket.org/pypy/pypy/ | Python | 382 lines
53 def test_new_or_init(self): 54 self.assertRaises(TypeError, WeakSet, [], 2) 55 65 self.assertEqual(c in self.s, c in self.d) 66 # 1 is not weakref'able, but that TypeError is caught by __contains__ 67 self.assertNotIn(1, self.s) 78 self.assertEqual(type(u), WeakSet) 79 self.assertRaises(TypeError, self.s.union, [[]]) 80 for C in set, frozenset, dict.fromkeys, list, tuple: 114 self.assertEqual(type(i), WeakSet) 115 self.assertRaises(TypeError, self.s.difference, [[]]) 116 127 self.assertEqual(type(i), WeakSet) 128 self.assertRaises(TypeError, self.s.symmetric_difference, [[]]) 129File.as http://buddypress-media.googlecode.com/svn/bp_media/trunk/ | ActionScript | 422 lines
166 // Delegate upload IO errors 167 file._fileRef.addEventListener(IOErrorEvent.IO_ERROR, function(e:IOErrorEvent):void { 168 dispatchEvent(e); 171 // Delegate secuirty errors 172 file._fileRef.addEventListener(SecurityErrorEvent.SECURITY_ERROR, function(e:SecurityErrorEvent):void { 173 dispatchEvent(e); 263 // File load IO error 264 this._fileRef.addEventListener(IOErrorEvent.IO_ERROR, function(e:Event):void { 265 this.dispatchEvent(e); 333 // Delegate upload IO errors 334 urlStream.addEventListener(IOErrorEvent.IO_ERROR, function(e:IOErrorEvent):void { 335 file._chunk = file._chunks; // Cancel upload of all remaining chunks 339 // Delegate secuirty errors 340 urlStream.addEventListener(SecurityErrorEvent.SECURITY_ERROR, function(e:SecurityErrorEvent):void { 341 file._chunk = file._chunks; // Cancel upload of all remaining chunksMefXapModuleTypeLoader.cs https://prism.svn.codeplex.com/svn | C# | 309 lines
75 76 private void RaiseLoadModuleCompleted(ModuleInfo moduleInfo, Exception error) 77 { 77 { 78 this.RaiseLoadModuleCompleted(new LoadModuleCompletedEventArgs(moduleInfo, error)); 79 } 219 220 Exception error = e.Error; 221 if (error == null) 236 { 237 error = ex; 238 } 242 { 243 this.RaiseLoadModuleCompleted(moduleInfo, error); 244 }Graphic3d_headers.i http://pythonocc.googlecode.com/svn/trunk/ | Swig | 360 lines
54#include<Graphic3d_AspectText3d.hxx> 55#include<Graphic3d_AspectTextDefinitionError.hxx> 56#include<Graphic3d_CBitFields16.hxx> 71#include<Graphic3d_CView.hxx> 72#include<Graphic3d_CycleError.hxx> 73#include<Graphic3d_DataStructureManager.hxx> 78#include<Graphic3d_GroupAspect.hxx> 79#include<Graphic3d_GroupDefinitionError.hxx> 80#include<Graphic3d_HSequenceOfGroup.hxx> 83#include<Graphic3d_HorizontalTextAlignment.hxx> 84#include<Graphic3d_InitialisationError.hxx> 85#include<Graphic3d_ListIteratorOfListOfPArray.hxx> 95#include<Graphic3d_MaterialAspect.hxx> 96#include<Graphic3d_MaterialDefinitionError.hxx> 97#include<Graphic3d_NListOfHAsciiString.hxx>StdFail.i http://pythonocc.googlecode.com/svn/trunk/ | Swig | 458 lines
55%nodefaultctor Handle_StdFail_UndefinedValue; 56class Handle_StdFail_UndefinedValue : public Handle_Standard_DomainError { 57 public: 207%nodefaultctor Handle_StdFail_UndefinedDerivative; 208class Handle_StdFail_UndefinedDerivative : public Handle_Standard_DomainError { 209 public: 288%nodefaultctor StdFail_UndefinedDerivative; 289class StdFail_UndefinedDerivative : public Standard_DomainError { 290 public: 417%nodefaultctor StdFail_UndefinedValue; 418class StdFail_UndefinedValue : public Standard_DomainError { 419 public:udhcpc.c http://wl500g.googlecode.com/svn/trunk/ | C | 482 lines
47 if (!(fp = fopen(tmp, "w"))) { 48 perror(tmp); 49 return errno; 447 if ((fp = fopen("/etc/dhcp6c.conf", "w")) == NULL) { 448 perror("/etc/dhcp6c.conf"); 449 return 2;blobstore_stub.py https://code.google.com/p/soc/ | Python | 389 lines
303 Raises: 304 ApplicationError when application has the following errors: 305 INDEX_OUT_OF_RANGE: Index is negative or end > start. 312 if start_index < 0: 313 raise apiproxy_errors.ApplicationError( 314 blobstore_service_pb.BlobstoreServiceError.DATA_INDEX_OUT_OF_RANGE) 318 if end_index < start_index: 319 raise apiproxy_errors.ApplicationError( 320 blobstore_service_pb.BlobstoreServiceError.DATA_INDEX_OUT_OF_RANGE) 324 if fetch_size > blobstore.MAX_BLOB_FETCH_SIZE: 325 raise apiproxy_errors.ApplicationError( 326 blobstore_service_pb.BlobstoreServiceError.BLOB_FETCH_SIZE_TOO_LARGE) 335 except datastore_errors.EntityNotFoundError, err: 336 raise apiproxy_errors.ApplicationError( 337 blobstore_service_pb.BlobstoreServiceError.BLOB_NOT_FOUND)ExternalAnyKeyboard.java http://softkeyboard.googlecode.com/svn/ | Java | 323 lines
164 } catch (Exception e) { 165 Log.e(TAG, "Parse error:" + e); 166 e.printStackTrace();fruchterman_reingold.hpp http://hadesmem.googlecode.com/svn/trunk/ | C++ Header | 0 lines
12#ifndef BOOST_GRAPH_USE_MPI 13#error "Parallel BGL files should not be included unless <boost/graph/use_mpi.hpp> has been included" 14#endifCHANGELOG.html http://help-the-death.googlecode.com/svn/trunk/ | HTML | 350 lines
77 * Javascript code refactoring! Less mess! 78 * Bugfix - range was including element 42, which is really the 43rd element, so there was an error happening when today happens exactly 43 days after the beginning date (caught this by chance, surprised it wasn't reported before) 79</pre> 109 * patch applied from mjroghelia to fix ie ssl iframe issue (84) 110 * xhtml error fixed - &nbsp; replaced with #160; 111</pre> 136 * Bugfix - was showing wrong day selected when selecting Mar 23, 2008. (Day light savings time issue). Fixed with test case. 137 * Added CSS style to show red border around the embedded calendar_date_select div's with errors. 138 * Callbacks were broken with 1.9.0. Fixed, added test cases. 158 * Don't focus a hidden element 159 * Navigate down to child input element if exists (in case a div tag is passed in). Resolves problems when input control is wrapped with a error div. Test cases 160 * Allow specific year ranges (pass in an array) 225 * Calendar "flicker" fixed when displaying popup window. 226 * JS error 106 being thrown - fixed 227 * Bug fixes relating to calendar date select deciding whether to display above or below an element on a pageusertypes.c git://github.com/vrai/Fudge-C.git | C | 313 lines
199 200void fatalFudgeError ( FudgeStatus status, const char * context ); 201AddressDetails * constructAddressDetails ( AddressStatus status, 218 if ( ( status = Fudge_init ( ) ) ) 219 fatalFudgeError ( status, "Failed to initialise Fudge library" ); 220 226 FudgeType_coerceAddressDetails ) ) ) 227 fatalFudgeError ( status, "Failed to register AddressDetails type" ); 228 234 if ( ( status = FudgeMsg_create ( &message ) ) ) 235 fatalFudgeError ( status, "Failed to create Fudge message" ); 236 294{ 295 fprintf ( stderr, "FATAL ERROR: %s : %s\n", context, FudgeStatus_strerror ( status ) ); 296 exit ( 1 );slp_database.h https://openslp.svn.sourceforge.net/svnroot/openslp | C++ Header | 217 lines
90/* */ 91/* Returns: zero on success. Non-zero on error */ 92/*=========================================================================*/ 137/* */ 138/* Returns: Valid handle. NULL on error. */ 139/* */ErrorData.html http://xformsdb.googlecode.com/svn/trunk/ | HTML | 342 lines
96<P> 97Contains information about an error, for error pages. 98 The information contained in this instance is meaningless if not used 98 The information contained in this instance is meaningless if not used 99 in the context of an error page. To indicate a JSP is an error page, 100 the page author must set the isErrorPage attribute of the page directive 107 <DD>2.0</DD> 108<DT><B>See Also:</B><DD><A HREF="../../../javax/servlet/jsp/PageContext.html#getErrorData()"><CODE>PageContext.getErrorData()</CODE></A></DL> 109<HR> 126<TR BGCOLOR="white" CLASS="TableRowColor"> 127<TD><CODE><B><A HREF="../../../javax/servlet/jsp/ErrorData.html#ErrorData(java.lang.Throwable, int, java.lang.String, java.lang.String)">ErrorData</A></B>(java.lang.Throwable throwable, 128 int statusCode, 212<P> 213<DT><B>Parameters:</B><DD><CODE>throwable</CODE> - The Throwable that is the cause of the error<DD><CODE>statusCode</CODE> - The status code of the error<DD><CODE>uri</CODE> - The request URI<DD><CODE>servletName</CODE> - The name of the servlet invoked</DL> 214Features.java http://jjil.googlecode.com/svn/trunk/ | Java | 377 lines
110 Length = Delta.length(); 111 } catch (jjil.core.Error ex) { 112 } 168 Length = Delta.length(); 169 } catch (jjil.core.Error ex) { 170 } 226 Length = Delta.length(); 227 } catch (jjil.core.Error ex) { 228 }cookie.php http://skygames.googlecode.com/svn/trunk/ | PHP | 485 lines
184 * You must use this method before any output is sent to the browser. 185 * Failure to do so will result in header already sent errors. 186 * 267 * You must use this method before any output is sent to the browser. 268 * Failure to do so will result in header already sent errors. 269 * 299 * You must use this method before any output is sent to the browser. 300 * Failure to do so will result in header already sent errors. 301 *RenderWorld_local.h git://github.com/TTimo/doom3.gpl.git | C Header | 262 lines
31 32// assume any lightDef or entityDef index above this is an internal error 33const int LUDICROUS_INDEX = 10000;table.c git://github.com/octo/collectd.git | C | 502 lines
36 37#define log_err(...) ERROR("table plugin: " __VA_ARGS__) 38#define log_warn(...) WARNING("table plugin: " __VA_ARGS__) 446 447 if (ferror(fh) != 0) { 448 log_err("Failed to read from file \"%s\": %s.", tbl->file, STRERRNO);DataAccessController.java http://pride-toolsuite.googlecode.com/svn/ | Java | 363 lines
36 * @return Collection<CVLookup> a collection of cv lookups 37 * @throws DataAccessException throw a exception when there is an error accessing the data source 38 */ 43 * @return FileDescription FileDescription object 44 * @throws DataAccessException throw a exception when there is an error accessing the data source 45 */ 50 * @return ReferenceableParamGroup the referenceable param group 51 * @throws DataAccessException throw a exception when there is an error accessing the data source 52 */ 57 * @return Collection<Sample> an colleciton of samples. 58 * @throws DataAccessException throw a exception when there is an error accessing the data source 59 */ 64 * @return Collection<Software> an collection of softwares. 65 * @throws DataAccessException throw a exception when there is an error accessing the data source 66 */eee.c http://eeepc-linux.googlecode.com/svn/trunk/ | C | 462 lines
22 * WARNING: This is an extremely *experimental* module! This code has been 23 * developed through trial-and-error, which means I don't really understand 24 * 100% what's going on here... That means there's a chance that there could 427 428 /* We had an error, so cleanup all of the proc files... */ 429proc_init_cleanup:Plugin.pm git://github.com/mdxp/cookbooks.git | Perl | 450 lines
39 40my %ERRORS=('OK'=>0,'WARNING'=>1,'CRITICAL'=>2,'UNKNOWN'=>3,'DEPENDENT'=>4); 41 77 78# nagios_exit("CODE", "error string") 79sub nagios_exit 83 $code ||= "UNKNOWN"; 84 die "invalid code '$code'" unless exists $ERRORS{$code}; 85 if ($errstr && $errstr ne '1') { 90 } 91 exit $ERRORS{$code}; 92} 396 397Sometimes on error or warning you want to return more than just the 398error cases in the returned text. You can do this by passing abuildcfg.h https://bitbucket.org/knoss/pcmanager/ | C++ Header | 427 lines
28#ifdef _WINDOWS_ 29#error "include buildcfg.h before include all other files" 30#endifSynHighlighterManager.pas http://gedemin.googlecode.com/svn/trunk/ | Pascal | 480 lines
71 component palette, it will function normally, except that when all is 72 done, Delphi will disply small window with title "Error" and message 73 "Operation aborted". Purely cosmetic issue for which there is no obviousOgreShadowCameraSetupPlaneOptimal.cpp http://gmogre3d.googlecode.com/svn/trunk/ | C++ | 428 lines
183 { 184 // error solving for projective matrix (rows 1,2,4) 185 } 206 { 207 // error solving for increased precision rows 1,2,4 208 } 255 { 256 // error solving for projective matrix (row 3) 257 }tree.py http://nltk.googlecode.com/svn/trunk/ | Python | 353 lines
77 if not os.path.isdir(os.path.join(basedir, self._original_rootdir)): 78 raise IOError('%s is not installed' % self._name) 79 self._basedir = basedir 82 if not os.path.isdir(self._original_rootdir): 83 raise IOError('%s is not installed' % self._name) 84 self._basedir = '' # empty 164 try: self._initialize() 165 except IOError: return 0 166 return 1 198 estr = 'The given item is virtual; it has no path' 199 raise NotImplementedError, estr 200 else: 227 else: 228 raise ValueError, 'Unknown item %r' % (item,) 229ActorKit.h http://plactorkit.googlecode.com/svn/trunk/ | C Header | 416 lines
68 69/* Error Domain and Codes */ 70extern NSString *PLActorErrorDomain; 73/** 74 * NSError codes in the Plausible Actor error domain. 75 * @ingroup enums 77typedef enum { 78 /** An unknown error has occured. If this 79 * code is received, it is a bug, and should be reported. */ 408/** 409 * @page error_handling Error Handling Programming Guide 410 * 410 * 411 * All returned errors will be a member of one of the below defined domains, however, new domains and error codes may be added at any time. 412 * If you do not wish to report on the error cause, many methods support a simple form that requires no NSError argument.IVideoResampler.java http://xuggle.googlecode.com/svn/trunk/ | Java | 410 lines
192 * @param in The picture we'll resample from. 193 * @return >= 0 on success; <0 on error. 194 */ 233 * @param value The value of the property. 234 * @return >= 0 if the property was successfully set; <0 on error 235 */ 244 * @param value Value of option 245 * @return >= 0 on success; <0 on error. 246 */ 255 * @param value Value of option 256 * @return >= 0 on success; <0 on error. 257 */ 266 * @param value Value of option 267 * @return >= 0 on success; <0 on error. 268 */URLStream.cpp git://github.com/lightspark/lightspark.git | C++ | 341 lines
109 { 110 //Notify an error during loading 111 loader->incRef(); 111 loader->incRef(); 112 getVm(loader->getSystemState())->addEvent(loader,_MR(Class<IOErrorEvent>::getInstanceS(loader->getSystemState()))); 113 } 191 { 192 //Notify an error during loading 193 th->incRef(); 193 th->incRef(); 194 sys->currentVm->addEvent(_MR(th),_MR(Class<IOErrorEvent>::getInstanceS(sys))); 195 return; 197 198 //TODO: support the right events (like SecurityErrorEvent) 199 //URLLoader ALWAYS checks for policy files, in contrast to NetStream.play().Result.scala git://github.com/etorreborre/specs2.git | Scala | 333 lines
37 case Failure(_, _, _, _) => args.failureColor("x") 38 case Error(_, _) => args.errorColor ("!") 39 case Pending(_) => args.pendingColor("*") 59 case Failure(_, _, _, _) => "failure" 60 case Error(_, _) => "error" 61 case Pending(_) => "pending" 71 case Failure(m, e, st, d) => Failure(msg, e, st, d) 72 case Error(m, st) => Error(msg, st) 73 case Skipped(m, e) => Skipped(msg, e) 134 case (Success(msg1), Error(msg2, st1)) => m2.updateMessage(msg1+"; "+msg2) 135 case (Error(msg1, st1), Error(msg2, st2)) => Error(msg1+"; "+msg2, st1) 136 case (Error(msg1, st1), Failure(msg2, e2, st2, d2)) => Error(msg1+"; "+msg2, st1) 162 case (Failure(msg1, e1, st1, d1), Failure(msg2, e2, st2, d2)) => Failure(msg1+"; "+msg2, e1+"; "+e2, st1, NoDetails()) 163 case (Error(msg1, st1), Error(msg2, st2)) => Error(msg1+"; "+msg2, st1) 164 case (Error(msg1, st1), Failure(msg2, e2, st2, d2)) => Error(msg1+"; "+msg2, st1)browser.class.php https://bitbucket.org/chamilo/chamilo-app-internship-organizer-dev/ | PHP | 257 lines
42 $this->display_header(); 43 $this->display_error_message(Translation :: get('NotAllowed')); 44 $this->display_footer();installer.php git://github.com/pyrocms/pyrocms.git | PHP | 475 lines
176 { 177 $this->form_validation->set_message('test_db_connection', lang('db_failure') . mysql_error()); 178 return false; 354 // Let's tell them why the install failed 355 $this->session->set_flashdata('message', $this->lang->line('error_'.$install['code']) . $install['message']); 356XtGrabKey.m git://anongit.freedesktop.org/git/xorg/test/xts.git/ | Objective C | 0 lines
93 XSendEvent(XtDisplay(labelw_msg), XtWindow(labelw_msg), False, KeyReleaseMask, &event); 94 tet_infoline("ERROR: Timed out waiting for input"); 95 tet_result(TET_UNRESOLVED); 133 if (event.xkey.window != window) { 134 sprintf(ebuf, "ERROR: Key did not go to correct widget"); 135 tet_infoline(ebuf); 144 if (event.xkey.x >= 0) { 145 sprintf(ebuf, "ERROR: KeyRelease was not left of window"); 146 tet_infoline(ebuf); 195 XChangeKeyboardControl(XtDisplay(topLevel), KBAutoRepeatMode, &kbvalues); 196 tet_infoline("PREP: Set up the XtToolkitError handler"); 197 app_ctext = XtWidgetToApplicationContext(topLevel); 197 app_ctext = XtWidgetToApplicationContext(topLevel); 198 XtAppSetErrorMsgHandler(app_ctext, xt_handler); 199 tet_infoline("PREP: Set up widget tree of depth eight (8) return panedw widget");ripping.c http://sacd-ripper.googlecode.com/svn/trunk/ | C | 348 lines
96 97 LOG(lm_main, LOG_ERROR, ("no enough disc space on %s (%llu), needs: %llu", output_device, output_device_sectors, needed_sectors)); 98 172 { 173 LOG(lm_main, LOG_ERROR, ("authentication failed: %x", ret)); 174 }H5RS.c git://git.savannah.nongnu.org/freeon.git | C | 498 lines
23 24#include "H5Eprivate.h" /* Error handling */ 25#include "H5FLprivate.h" /* Free lists */ 107 if((ret_value=H5FL_MALLOC(H5RS_str_t))==NULL) 108 HGOTO_ERROR(H5E_RS,H5E_NOSPACE,NULL,"memory allocation failed"); 109 147 if((ret_value=H5FL_MALLOC(H5RS_str_t))==NULL) 148 HGOTO_ERROR(H5E_RS,H5E_NOSPACE,NULL,"memory allocation failed"); 149 189 if((ret_value=H5FL_MALLOC(H5RS_str_t))==NULL) 190 HGOTO_ERROR(H5E_RS,H5E_NOSPACE,NULL,"memory allocation failed"); 191 351 if(NULL == (new_str = (char *)H5FL_BLK_MALLOC(str_buf, path_len + 1))) 352 HGOTO_ERROR(H5E_RESOURCE, H5E_NOSPACE, NULL, "memory allocation failed") 353tr_query.cgi https://code.google.com/p/bugzilla4intranet/ | Perl | 420 lines
30use Bugzilla::Util; 31use Bugzilla::Error; 32use Bugzilla::Field; 50Bugzilla->login(LOGIN_REQUIRED); 51Bugzilla->error_mode(ERROR_MODE_AJAX); 52 286 287 ThrowUserError('query_name_missing') unless $qname; 288 417 $template->process("testopia/search/advanced.html.tmpl", $vars) 418 || ThrowTemplateError($template->error()); 419}PortletUtil.cs https://docuart.svn.codeplex.com/svn | C# | 259 lines
38 "Hata OluĹźtu", ExceptionUtil.ParseExceptions(ex), DateTime.Now.ToShortDateString(), 39 "/Images/Common/Error.gif", "1", "", "", "" 40 });test_check_owners.py http://gvn.googlecode.com/svn/trunk/ | Python | 334 lines
172 def testBadOwnerSyntaxGoodUser(self): 173 """check that a syntax error in OWNERS doesn't reject an otherwise ok user. 174 """ 179 def testBadOwnerSyntaxBadUser(self): 180 """check that a syntax error in OWNERS doesn't mistakenly allow a user. 181 """API.pm git://github.com/norbu09/Net--Dropbox.git | Perl | 527 lines
49has 'debug' => (is => 'rw', isa => 'Bool', default => 0); 50has 'error' => (is => 'rw', isa => 'Str', predicate => 'has_error'); 51has 'key' => (is => 'rw', isa => 'Str'); 102 else { 103 $self->error($res->status_line); 104 warn "Something went wrong: " . $res->status_line; 143 else { 144 $self->error($res->status_line); 145 warn "Something went wrong: ".$res->status_line; 208 $talk_opts = { 209 error_handler => sub { 210 my $obj = shift; 402 if( !defined $opts->{error_handler} ) { 403 $opts->{error_handler} = \&_talk_default_error_handler; 404 }filelib.erl git://github.com/mfoemmel/erlang-otp.git | Erlang | 443 lines
48wildcard(Pattern, Cwd) when is_list(Pattern), is_list(Cwd) -> 49 ?HANDLE_ERROR(do_wildcard(Pattern, Cwd, file)); 50wildcard(Pattern, Mod) when is_list(Pattern), is_atom(Mod) -> 318compile_wildcard(Pattern) -> 319 ?HANDLE_ERROR(do_compile_wildcard(Pattern)). 320 353compile_part([], true, _) -> 354 error(missing_delimiter); 355compile_part([$,|Rest], true, Result) -> 428 case erl_prim_loader:read_file_info(File) of 429 error -> {error, erl_prim_loader}; 430 Res-> Res 438 case erl_prim_loader:list_dir(Dir) of 439 error -> {error, erl_prim_loader}; 440 Res-> Resbulgarian.php http://vanphongphamdm.googlecode.com/svn/trunk/ | PHP | 118 lines
113 'PHPSHOP_STORE_DATE_FORMAT' => 'Store Date Format', 114 'VM_PAYMENT_METHOD_ID_NOT_PROVIDED' => 'Error: Payment Method ID was not provided.', 115 'VM_SHIPPING_MODULE_CONFIG_LBL' => 'Shipping Module Configuration', 115 'VM_SHIPPING_MODULE_CONFIG_LBL' => 'Shipping Module Configuration', 116 'VM_SHIPPING_MODULE_CLASSERROR' => 'Could not instantiate Class {shipping_module}' 117); $VM_LANG->initModule( 'store', $langvars );dinkvar.h git://git.savannah.gnu.org/freedink.git | C Header | 265 lines
88extern void check_seq_status(int h); 89/* extern void dderror(HRESULT hErr); */ 90//extern void draw_sprite_game(LPDIRECTDRAWSURFACE lpdest,int h);LoginToCasActivity.java http://excilys.googlecode.com/svn/projects/ | Java | 191 lines
126 } catch (IOException e) { 127 Log.e(TAG, "Error when login in to ZenContact", e); 128 return e;splpup.f http://ua-fwlis.googlecode.com/svn/trunk/ | FORTRAN Legacy | 215 lines
32C 891214 Prologue converted to Version 4.0 format. (BAB) 33C 900315 CALLs to XERROR changed to CALLs to XERMSG. (THJ) 34C 900328 Added TYPE section. (WRB)filopn.f http://open-fvs.googlecode.com/svn/ | FORTRAN Legacy | 238 lines
66 101 continue 67 print *,"File open error on: ",trim(KWDFIL) 68 call setfvsRtnCode(1) 70 102 continue 71 print *,"File open error on: ",trim(cname) 72 call setfvsRtnCode(1)LmUse.pas http://xplib.googlecode.com/svn/trunk/ | Pascal | 194 lines
56function NetUseAdd(UncServerName: LPWSTR; Level: DWORD; Buf: Pointer; 57 ParmError: PDWORD): NET_API_STATUS; stdcall; 58{$EXTERNALSYM NetUseAdd} 128// One of these values indicates the parameter within an information 129// structure that is invalid when ERROR_INVALID_PARAMETER is returned by 130// NetUseAdd.RevlogEntry.java https://code.google.com/p/crystalvc/ | Java | 271 lines
10 11import org.freehg.hgkit.HgInternalError; 12 63 * 64 * @throws HgInternalError 65 * if an {@link IOException} is thrown while reading. 66 */ 67 RevlogEntry(Revlog parent, DataInputStream reader, int off) throws HgInternalError { 68 this.parent = parent; 90 } catch (IOException e) { 91 throw new HgInternalError(parent.toString(), e); 92 } 106 */ 107 public static RevlogEntry valueOf(Revlog parent, byte[] data, int off) throws HgInternalError { 108 ByteArrayInputStream copy = new ByteArrayInputStream(data, off, BINARY_LENGTH);detection.cpp git://github.com/scummvm/scummvm.git | C++ | 416 lines
91 92 Common::Error createInstance(OSystem *syst, Engine **engine) const override; 93 274 275Common::Error SkyMetaEngine::createInstance(OSystem *syst, Engine **engine) const { 276 assert(engine); 277 *engine = new Sky::SkyEngine(syst); 278 return Common::kNoError; 279} 371 if (ioFailed) 372 warning("Unable to store Savegame names to file SKY-VM.SAV. (%s)", saveFileMan->popErrorDesc().c_str()); 373} 383 uint16 result = _skyControl->quickXRestore(slot - 1); 384 return (result == GAME_RESTORED) ? Common::kNoError : Common::kUnknownError; 385}sequence.cpp git://github.com/scummvm/scummvm.git | C++ | 481 lines
116 default: 117 error("[AnimFrame::AnimFrame] Unknown frame compression: %d", f.compressionType); 118 } 380 if (_stream->eos()) 381 error("[Sequence::load] Couldn't seek to the current frame data"); 382 384 if ((unsigned)(_stream->size() - _stream->pos()) < _sequenceFrameSize) 385 error("[Sequence::load] The sequence frame does not have a valid header"); 386 398 if (_frames.size() == 0) 399 error("[Sequence::getFrameInfo] Trying to decode a sequence before loading its data"); 400 401 if (index > _frames.size() - 1) 402 error("[Sequence::getFrameInfo] Invalid sequence frame requested: %d, max %d", index, _frames.size() - 1); 403PEditorDefaultJar.java http://keytool-iui.googlecode.com/svn/trunk/ | Java | 222 lines
55 { 56 MySystem.s_printOutError(this, f_strMethod, "failed"); 57 return false; 61 { 62 MySystem.s_printOutError(this, f_strMethod, "failed"); 63 return false; 67 { 68 MySystem.s_printOutError(this, f_strMethod, "failed"); 69 return false; 73 { 74 MySystem.s_printOutError(this, f_strMethod, "nil super._bar_"); 75 return false; 79 { 80 MySystem.s_printOutError(this, f_strMethod, "failed"); 81 return false;Puss.c http://ljedit.googlecode.com/svn/trunk/ | C | 277 lines
42static gboolean puss_load_ui(const gchar* filename ) { 43 GError* err = 0; 44 gchar* filepath = g_build_filename(puss_app->module_path, "res", filename, NULL); 45 if( !filepath ) { 46 g_printerr("ERROR(puss) : build ui filepath failed!\n"); 47 return FALSE; 53 if( err ) { 54 g_printerr("ERROR(puss): %s\n", err->message); 55 g_error_free(err); 64 if( !puss_app->builder ) { 65 g_printerr("ERROR(puss) : gtk_builder_new failed!\n"); 66 return FALSE; 210 if( !puss_option_manager_create() ) { 211 g_printerr("ERROR(puss) : create option manager failed!\n"); 212 return FALSE;OWLFactory.Interface.html http://owl-composer.googlecode.com/svn/trunk/ | HTML | 395 lines
45<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 46 <A HREF="../../../org/mindswap/owl/OWLErrorHandler.html"><B>PREV CLASS</B></A> 47 <A HREF="../../../org/mindswap/owl/OWLIndividual.html"><B>NEXT CLASS</B></A></FONT></TD> 363<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 364 <A HREF="../../../org/mindswap/owl/OWLErrorHandler.html"><B>PREV CLASS</B></A> 365 <A HREF="../../../org/mindswap/owl/OWLIndividual.html"><B>NEXT CLASS</B></A></FONT></TD>UTiposDiario.pas http://sencontab.googlecode.com/svn/trunk/ | Pascal | 445 lines
164 except 165 DatabaseError('No se ha podido insertar un nuevo tipo de diario.' + #13 + 166 CADENA_MANUAL); 181 RefrescarBD; 182 except DatabaseError('No se ha podido borrar el tipo de diario seleccionado.' + #13 + CADENA_BORRADO); 183 end; 208 eCodigo.SetFocus; 209 DatabaseError('No se puede dejar el cĂłdigo del tipo de diario en blanco.' + 210 #13 + 'Por favor, revise los datos de entrada.'); 214 eDescripcion.SetFocus; 215 DatabaseError('No se puede dejar la descripciĂłn del tipo de diario en blanco.' + 216 #13 + 'Por favor, revise los datos de entrada.'); 245 try QFichero.Cancel; 246 except DatabaseError('No se ha podido cancelar la operaciĂłn.' + #13 + CADENA_MANUAL); 247 end;HtmlHelper.cs git://github.com/mono/mono.git | C# | 281 lines
28 29 public static readonly string ValidationInputCssClassName = "input-validation-error"; 30 public static readonly string ValidationMessageCssClassName = "field-validation-error"; 30 public static readonly string ValidationMessageCssClassName = "field-validation-error"; 31 public static readonly string ValidationSummaryCssClassName = "validation-summary-errors"; 32nsIController.h https://hg01.codeplex.com/kmbrasil | C Header | 0 lines
59#define NS_FORWARD_SAFE_NSICONTROLLER(_to) \ 60 NS_IMETHOD IsCommandEnabled(const char *command, PRBool *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->IsCommandEnabled(command, _retval); } \ 61 NS_IMETHOD SupportsCommand(const char *command, PRBool *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->SupportsCommand(command, _retval); } \ 61 NS_IMETHOD SupportsCommand(const char *command, PRBool *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->SupportsCommand(command, _retval); } \ 62 NS_IMETHOD DoCommand(const char *command) { return !_to ? NS_ERROR_NULL_POINTER : _to->DoCommand(command); } \ 63 NS_IMETHOD OnEvent(const char *eventName) { return !_to ? NS_ERROR_NULL_POINTER : _to->OnEvent(eventName); } 99{ 100 return NS_ERROR_NOT_IMPLEMENTED; 101} 105{ 106 return NS_ERROR_NOT_IMPLEMENTED; 107} 111{ 112 return NS_ERROR_NOT_IMPLEMENTED; 113}crc32.c http://cwoodruf-sfu-cmpt.googlecode.com/svn/trunk/ | C | 276 lines
52/* For more information on the Rocksoft^tm Model CRC Algorithm, */ 53/* see the document titled "A Painless Guide to CRC Error */ 54/* Detection Algorithms" by Ross Williams */gst-plugins-base-plugins-cdparanoiasrc.html http://ossbuild.googlecode.com/svn/trunk/ | HTML | 257 lines
81<pre class="synopsis"> 82 "<a class="link" href="gst-plugins-base-plugins-cdparanoiasrc.html#GstCdParanoiaSrc-transport-error" title='The "transport-error" signal'>transport-error</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a> 83 "<a class="link" href="gst-plugins-base-plugins-cdparanoiasrc.html#GstCdParanoiaSrc-uncorrected-error" title='The "uncorrected-error" signal'>uncorrected-error</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a> 196<div class="refsect2"> 197<a name="GstCdParanoiaSrc-transport-error"></a><h3>The <code class="literal">"transport-error"</code> signal</h3> 198<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="gst-plugins-base-plugins-cdparanoiasrc.html#GstCdParanoiaSrc"><span class="type">GstCdParanoiaSrc</span></a> *cdparanoia, 201<p> 202This signal is emitted whenever an error occurs while reading. 203CdParanoia will attempt to recover the data. 213<td><p><span class="term"><em class="parameter"><code>sector</code></em>Â :</span></p></td> 214<td>The sector number at which the error was encountered.</td> 215</tr> 224<div class="refsect2"> 225<a name="GstCdParanoiaSrc-uncorrected-error"></a><h3>The <code class="literal">"uncorrected-error"</code> signal</h3> 226<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="gst-plugins-base-plugins-cdparanoiasrc.html#GstCdParanoiaSrc"><span class="type">GstCdParanoiaSrc</span></a> *cdparanoia,file_manager.js http://xklog.googlecode.com/svn/ | JavaScript | 385 lines
135 typeof replacer.length !== 'number')) { 136 throw new Error('JSON.stringify'); 137 } 174 } 175 throw new SyntaxError('JSON.parse'); 176 };superColliderNative.py http://athenacl.googlecode.com/svn/trunk/ | Python | 351 lines
67 else: 68 raise ValueError, 'bad insturment number given: %s' % iNo 69SQLDescribeColW.c https://unixodbc.svn.sourceforge.net/svnroot/unixodbc | C | 468 lines
225 226 __post_internal_error_api( &statement -> error, 227 ERROR_07009, NULL, 276 277 __post_internal_error( &statement -> error, 278 ERROR_HY010, NULL, 338 339 __post_internal_error( &statement -> error, 340 ERROR_HY010, NULL, 357 358 __post_internal_error( &statement -> error, 359 ERROR_IM001, NULL, 387 388 __post_internal_error( &statement -> error, 389 ERROR_IM001, NULL,nntp.c https://unixodbc.svn.sourceforge.net/svnroot/unixodbc | C | 855 lines
234 case -1: 235 return strerror( errno ); 236 260 261 pcndes->code = -1; /* system error */ 262all-index-J.html http://gmaps-utility-library-flash.googlecode.com/svn/trunk/ | HTML | 134 lines
71<tr> 72<td colspan="2" class="idxrow"><a onclick="javascript:loadClassListFrame('com/google/maps/extras/arcgislink/json/class-list.html');" href="com/google/maps/extras/arcgislink/json/JSONParseError.html">JSONParseError</a> — Class in package <a onclick="javascript:loadClassListFrame('com/google/maps/extras/arcgislink/json/class-list.html');" href="com/google/maps/extras/arcgislink/json/package-detail.html">com.google.maps.extras.arcgislink.json</a></td> 73</tr> 78<tr> 79<td colspan="2" class="idxrow"><a onclick="javascript:loadClassListFrame('com/google/maps/extras/arcgislink/json/class-list.html');" href="com/google/maps/extras/arcgislink/json/JSONParseError.html#JSONParseError()">JSONParseError</a>(message, location, text) — Constructor in class com.google.maps.extras.arcgislink.json.<a onclick="javascript:loadClassListFrame('com/google/maps/extras/arcgislink/json/class-list.html');" href="com/google/maps/extras/arcgislink/json/JSONParseError.html">JSONParseError</a></td> 80</tr> 82<td width="20"></td><td> 83 Constructs a new JSONParseError.</td> 84</tr>IdGopher.pas git://github.com/rofl0r/KOL.git | Pascal | 560 lines
75 procedure DoMenu(MenuItem: TIdGopherMenuItem); 76 procedure ProcessGopherError; 77 function MenuItemFromString(stLine: string; Menu: TIdGopherMenu) 138 139procedure TIdGopher.ProcessGopherError; 140var 140var 141 ErrorNo: Integer; 142 ErrMsg: string; 145 ErrorNo := StrToInt(Fetch(ErrMsg)); 146// raise EIdProtocolReplyError.CreateError(ErrorNo, Copy(ErrMsg, 1, Length(ErrMsg) 147// - 5)); 168 begin 169 Result.ItemType := IdGopherItem_Error; 170 end;nsIURIContentListener.h http://firefox-mac-pdf.googlecode.com/svn/trunk/ | C Header | 277 lines
186#define NS_FORWARD_SAFE_NSIURICONTENTLISTENER(_to) \ 187 NS_SCRIPTABLE NS_IMETHOD OnStartURIOpen(nsIURI *aURI, PRBool *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->OnStartURIOpen(aURI, _retval); } \ 188 NS_SCRIPTABLE NS_IMETHOD DoContent(const char *aContentType, PRBool aIsContentPreferred, nsIRequest *aRequest, nsIStreamListener **aContentHandler, PRBool *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->DoContent(aContentType, aIsContentPreferred, aRequest, aContentHandler, _retval); } \ 188 NS_SCRIPTABLE NS_IMETHOD DoContent(const char *aContentType, PRBool aIsContentPreferred, nsIRequest *aRequest, nsIStreamListener **aContentHandler, PRBool *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->DoContent(aContentType, aIsContentPreferred, aRequest, aContentHandler, _retval); } \ 189 NS_SCRIPTABLE NS_IMETHOD IsPreferred(const char *aContentType, char **aDesiredContentType, PRBool *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->IsPreferred(aContentType, aDesiredContentType, _retval); } \ 190 NS_SCRIPTABLE NS_IMETHOD CanHandleContent(const char *aContentType, PRBool aIsContentPreferred, char **aDesiredContentType, PRBool *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->CanHandleContent(aContentType, aIsContentPreferred, aDesiredContentType, _retval); } \ 190 NS_SCRIPTABLE NS_IMETHOD CanHandleContent(const char *aContentType, PRBool aIsContentPreferred, char **aDesiredContentType, PRBool *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->CanHandleContent(aContentType, aIsContentPreferred, aDesiredContentType, _retval); } \ 191 NS_SCRIPTABLE NS_IMETHOD GetLoadCookie(nsISupports * *aLoadCookie) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLoadCookie(aLoadCookie); } \ 192 NS_SCRIPTABLE NS_IMETHOD SetLoadCookie(nsISupports * aLoadCookie) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetLoadCookie(aLoadCookie); } \ 192 NS_SCRIPTABLE NS_IMETHOD SetLoadCookie(nsISupports * aLoadCookie) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetLoadCookie(aLoadCookie); } \ 193 NS_SCRIPTABLE NS_IMETHOD GetParentContentListener(nsIURIContentListener * *aParentContentListener) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetParentContentListener(aParentContentListener); } \ 194 NS_SCRIPTABLE NS_IMETHOD SetParentContentListener(nsIURIContentListener * aParentContentListener) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetParentContentListener(aParentContentListener); } 230{ 231 return NS_ERROR_NOT_IMPLEMENTED; 232}hosts.py git://github.com/openstack/nova.git | Python | 316 lines
156 result = self.api.set_host_maintenance(context, host_name, mode) 157 except NotImplementedError: 158 msg = _("Virt driver does not implement host maintenance mode.") 180 enabled=enabled) 181 except NotImplementedError: 182 msg = _("Virt driver does not implement host disabled status.") 198 action=action) 199 except NotImplementedError: 200 msg = _("Virt driver does not implement host power management.")TerranTest.cpp http://bwapi.googlecode.com/svn/ | C++ | 201 lines
56 this->addTestCase(new BuildTest(UnitTypes::Terran_Academy)); 57// Lan-low latency makes it to here without error 58 this->addTestCase(new CancelTrainTest(UnitTypes::Terran_Marine,UnitTypes::Terran_Medic,UnitTypes::Terran_Firebat));hosts.c http://snake-os.googlecode.com/svn/trunk/ | C | 537 lines
61 * 62 * Returns zero if unsuccessful or an error if the requested 63 * transition is illegal. 209 error = device_add(&shost->shost_gendev); 210 if (error) 211 goto out; 252 out: 253 return error; 254} 300 !sht->eh_host_reset_handler) { 301 printk(KERN_ERR "ERROR: SCSI host `%s' has no error handling\n" 302 "ERROR: This is not a safe way to run your " 303 "SCSI host\n" 304 "ERROR: The error handling must be added to " 305 "this driver\n", sht->proc_name);FiberSection.cpp https://code.google.com/p/opensees-websocket/ | C++ | 597 lines
55 if (theFibers == 0) 56 g3ErrorHandler->fatal("%s -- failed to allocate Fiber pointers", 57 "FiberSection::FiberSection"); 62 if (theFibers[i] == 0) 63 g3ErrorHandler->fatal("%s -- failed to get copy of Fiber", 64 "FiberSection::FiberSection"); 99 if (theFibers == 0) { 100 g3ErrorHandler->fatal("%s -- failed to allocate Fiber pointers", 101 "FiberSection::FiberSection"); 139 if (newArray == 0) { 140 g3ErrorHandler->fatal("%s -- failed to allocate Fiber pointers", 141 "FiberSection::addFiber"); 328 if (res < 0) { 329 g3ErrorHandler->warning("%s -- failed to send data ID", 330 "FiberSection::sendSelf");MethodTable.php http://aerial-cms.googlecode.com/svn/trunk/ | PHP | 554 lines
89 { 90 trigger_error("The MethodTable class could not find {" . 91 $sourcePath . "}", 91 $sourcePath . "}", 92 E_USER_ERROR); 93 }cbiry.f http://ua-fwlis.googlecode.com/svn/trunk/ | FORTRAN Legacy | 320 lines
40C BI - Result of type COMPLEX 41C IERR - Error flag 42C IERR=0 Normal return - COMPUTATION COMPLETED 42C IERR=0 Normal return - COMPUTATION COMPLETED 43C IERR=1 Input error - NO COMPUTATION 44C IERR=2 Overflow - NO COMPUTATION 47C (Result has less than half precision) 48C IERR=4 Precision error - NO COMPUTATION 49C (Result has no precision) 49C (Result has no precision) 50C IERR=5 Algorithmic error - NO COMPUTATION 51C (Termination condition not met) 67C the magnitude of ZETA=(2/3)*Z**(3/2) exceeds U1=SQRT(0.5/UR), 68C then losses exceeding half precision are likely and an error 69C flag IERR=3 is triggered where UR=R1MACH(4)=UNIT ROUNDOFF.vc71.mak http://hadesmem.googlecode.com/svn/trunk/ | Makefile | 0 lines
38!IF "$(MSVCDIR)" == "" 39!ERROR Variable MSVCDIR not set. 40!ENDIFunzip.h http://wagic.googlecode.com/svn/trunk/ | C++ Header | 357 lines
73#define UNZ_EOF (0) 74#define UNZ_PARAMERROR (-102) 75#define UNZ_BADZIPFILE (-103) 75#define UNZ_BADZIPFILE (-103) 76#define UNZ_INTERNALERROR (-104) 77#define UNZ_CRCERROR (-105) 175 uSizeBuf is the size of the szComment buffer. 176 return the number of byte copied or an error code <0 177*/ 256 Open for reading data the current file in the zipfile. 257 If there is no error, the return value is UNZ_OK. 258*/ 312 return <0 with error code if there is an error 313 (UNZ_ERRNO for IO error, or zLib error for uncompress error) 314*/RequesterAgent.java http://unlpbot.googlecode.com/svn/trunk/ | Java | 367 lines
143 catch (IOException ioe) { 144 System.err.println("I/O error: " + ioe.getMessage()); 145 } 164 catch (IOException ioe) { 165 System.err.println("I/O error: " + ioe.getMessage()); 166 } 359 catch (IOException ioe) { 360 System.err.println("I/O error: " + ioe.getMessage()); 361 }dtcwt3dCL_xa_modified.m http://sparse-mri-reconstruction.googlecode.com/svn/trunk/ | Objective C | 313 lines
20% If ext_mode = 4, check whether 1st level is divisible by 2 (if not we 21% give an error msg). Also check whether from 2nd level onwards, the coefs can 22% be divided by 4. If any dimension size is not a multiple of 4, append 24% If ext_mode = 8, check whether 1st level is divisible by 4 (if not we 25% give an error msg). Also check whether from 2nd level onwards, the coefs can 26% be divided by 8. If any dimension size is not a multiple of 8, append 56if ext_mode~=4 && ext_mode~=8 57 error('In dtcwt3dCL, ext_mode must be either 4 or 8'); 58endshell_execute.c http://klish.googlecode.com/svn/trunk/ | C | 490 lines
61 thread. Whether the script continues after command, but not script, 62 errors depends on the value of the stop_on_error flag. 63*/ 64static int clish_source_internal(clish_context_t *context, 65 const lub_argv_t * argv, bool_t stop_on_error) 66{ 84 result = clish_shell_push_file(this, filename, 85 stop_on_error); 86 } 94 thread. Invoking a script in this way will cause the script to 95 stop on the first error 96*/ 105 thread. Invoking a script in this way will cause the script to 106 continue after command, but not script, errors. 107*/Tilemap.as https://code.google.com/p/erlangmmo/ | ActionScript | 518 lines
48 else if (tileset is BitmapData) _set = tileset; 49 if (!_set) throw new Error("Invalid tileset graphic provided."); 50 _setColumns = Math.ceil(_set.width / tileWidth);NSBundle.m http://purefoundation.googlecode.com/svn/trunk/ | Objective C | 411 lines
226 227- (BOOL)loadAndReturnError:(NSError **)error 228{ 229 if( YES == CFBundleIsExecutableLoaded( (CFBundleRef)_cfBundle ) ) return YES; 230 if( NO == CFBundleLoadExecutableAndReturnError( (CFBundleRef)_cfBundle, (CFErrorRef *)error) ) return NO; 231 245 246- (BOOL)preflightAndReturnError:(NSError **)error 247{ 247{ 248 return CFBundlePreflightExecutable( (CFBundleRef)_cfBundle, (CFErrorRef *)error); 249}client.go https://code.google.com/p/gompd/ | Go | 290 lines
9import ( 10 "errors" 11 "net/textproto" 23// on network network (e.g. "tcp"). 24func Dial(network, addr string) (c *Client, err error) { 25 text, err := textproto.Dial(network, addr) 33 if line[0:6] != "OK MPD" { 34 return nil, textproto.ProtocolError("no greeting") 35 } 39// Close terminates the connection with MPD. 40func (c *Client) Close() (err error) { 41 if c.text != nil { 49// Ping sends a no-op message to MPD. It's useful for keeping the connection alive. 50func (c *Client) Ping() error { 51 return c.okCmd("ping")DateTitle.java http://metastudio.googlecode.com/svn/trunk/ | Java | 192 lines
42 * allow for relative or absolute spacing (DG); 43 * 26-Sep-2002 : Fixed errors reported by Checkstyle (DG); 44 * 31-Jan-2005 : Updated for changes to super class (DG);vl_binsum.c http://phd-workspace.googlecode.com/svn/trunk/ | C | 231 lines
28 if (nin < 3) { 29 mxuError(vlmxErrInvalidArgument, 30 "At least three arguments are required") ; 32 if (nin > 4) { 33 mxuError(vlmxErrInvalidArgument, 34 "At most four arguments are accepted") ; 36 if (nout > 1) { 37 mxuError(vlmxErrInvalidArgument, 38 "At most one output argument is accepted") ; 43 ! vlmxIsPlain (IN(B)) ) { 44 mxuError(vlmxErrInvalidArgument, 45 "All arguments must be plain arrays.") ; 61 if ((KX != KB) && (KX > 1)) { 62 mxuError(vlmxErrInvalidArgument, 63 "X and B must have the same number of elements, or X must be a scalar.") ;matcher.py https://code.google.com/p/lepl/ | Python | 221 lines
126 return if_wrapper(matcher.factory) 127 except TypeError: 128 pass # bug in python implAndroid.mk http://wrapirrlicht-for-android.googlecode.com/svn/trunk/ | Makefile | 46 lines
23ZLIBOBJ = zlib/adler32.c zlib/compress.c zlib/crc32.c zlib/deflate.c zlib/inffast.c zlib/inflate.c zlib/inftrees.c zlib/trees.c zlib/uncompr.c zlib/zutil.c 24JPEGLIBOBJ = jpeglib/jcapimin.c jpeglib/jcapistd.c jpeglib/jccoefct.c jpeglib/jccolor.c jpeglib/jcdctmgr.c jpeglib/jchuff.c jpeglib/jcinit.c jpeglib/jcmainct.c jpeglib/jcmarker.c jpeglib/jcmaster.c jpeglib/jcomapi.c jpeglib/jcparam.c jpeglib/jcprepct.c jpeglib/jcsample.c jpeglib/jctrans.c jpeglib/jdapimin.c jpeglib/jdapistd.c jpeglib/jdatadst.c jpeglib/jdatasrc.c jpeglib/jdcoefct.c jpeglib/jdcolor.c jpeglib/jddctmgr.c jpeglib/jdhuff.c jpeglib/jdinput.c jpeglib/jdmainct.c jpeglib/jdmarker.c jpeglib/jdmaster.c jpeglib/jdmerge.c jpeglib/jdpostct.c jpeglib/jdsample.c jpeglib/jdtrans.c jpeglib/jerror.c jpeglib/jfdctflt.c jpeglib/jfdctfst.c jpeglib/jfdctint.c jpeglib/jidctflt.c jpeglib/jidctfst.c jpeglib/jidctint.c jpeglib/jmemmgr.c jpeglib/jmemnobs.c jpeglib/jquant1.c jpeglib/jquant2.c jpeglib/jutils.c jpeglib/jcarith.c jpeglib/jdarith.c jpeglib/jaricom.c 25LIBPNGOBJ = libpng/png.c libpng/pngerror.c libpng/pngget.c libpng/pngmem.c libpng/pngpread.c libpng/pngread.c libpng/pngrio.c libpng/pngrtran.c libpng/pngrutil.c libpng/pngset.c libpng/pngtrans.c libpng/pngwio.c libpng/pngwrite.c libpng/pngwtran.c libpng/pngwutil.cprimme.h http://array4j.googlecode.com/svn/trunk/ | C Header | 250 lines
102 primme_function failedFunction; 103 int errorCode; 104 int lineNumber; 242 primme_params *params); 243void primme_PushErrorMessage(const primme_function callingFunction, 244 const primme_function failedFunction, const int errorCode,docstr.scm git://git.savannah.gnu.org/mit-scheme.git | Scheme | 203 lines
75 (define (out-of-range) 76 (editor-error "->doc-string: Out of range argument" posn)) 77 86 (if (not (string=? (substring buffer nposn nend) name)) 87 (editor-error "->doc-string: Inconsistency" posn) 88 (let ((dstart (fix:+ nend 1))) 93 ((not (fix:fixnum? posn)) 94 (editor-error "->doc-string: Wrong type argument" posn)) 95 ((fix:< posn 0) 138 (if (not *doc-strings*) 139 (error "dump-doc-strings: No doc strings to dump!")) 140 (set! *external-doc-strings-file* 159 ((not *external-doc-strings-file*) 160 (editor-error 161 "guarantee-doc-string-channel: Undeclared doc-string file"))engine.pl http://myperlmodules.googlecode.com/svn/trunk/ | Perl | 569 lines
95 my ($name, $resp) = @_; 96 open (XX, '>', $name) or throw ISoft::Exception::ScriptError(message=>"Error creating file: $!"); 97 binmode XX; 283 284 throw ISoft::Exception::NetworkError(message=>"Network error") 285 unless $resp->is_success(); 335 # not fatal, but the member should be processed again 336 $error = 5; # heavy error weight 337 $message = $@->longMessage(); 343 $message = $@->longMessage(); 344 $error = 1; 345 $break_application = 1; 373 $member_obj->select($dbh); 374 my $errors = $member_obj->Errors + $error; 375 $member_obj->Errors($errors);page.cfm http://mangoblog.googlecode.com/svn/trunk/ | ColdFusion | 159 lines
66 <h3>Write your comment</h3> 67 <mango:Message ifMessageExists type="comment" status="error"> 68 <p class="error">There was a problem: <mango:Message text /></p>package-info.java http://atinject.googlecode.com/svn/trunk/ | Java | 156 lines
85 * a lot of unnecessary boilerplate code, adding noise, complexity, and 86 * error-proneness. 87 *TrackBackHandler.ashx.cs http://3rgbcom.googlecode.com/svn/trunk/ | C# | 164 lines
50 { 51 node = xmlDoc.CreateElement("error"); 52 node.InnerText = "1"; 85 //?????? 86 node = xmlDoc.CreateElement("error"); 87 node.InnerText = "0"; 93 { 94 node = xmlDoc.CreateElement("error"); 95 node.InnerText = "1"; 104 { 105 node = xmlDoc.CreateElement("error"); 106 node.InnerText = "1"; 116 { 117 node = xmlDoc.CreateElement("error"); 118 node.InnerText = "1";record.sc git://github.com/pablomarx/Thomas.git | Scala | 185 lines
37 38; error:wrong-type-argument and error:bad-range-argument each signal Scheme 39; conditions indicating an argument of the wrong type or invalid value 44(define (error:wrong-type-argument record-type expected-type procedure) 45 (error 'record-package "~s ~s~%" 46 (string-append (symbol->string procedure) 90 (if (null? field-names) 91 (error:bad-range-argument field-name procedure-name)) 92 (if (eq? field-name (car field-names)) 96(define (record-type-error record record-type procedure) 97 (error:wrong-type-argument 98 record 107 (if (not (record-type? record-type)) 108 (error:wrong-type-argument record-type "record type" 109 'RECORD-CONSTRUCTOR))kprest_bayes.m git://github.com/aludnam/MATLAB.git | Objective C | 185 lines
44 Inputs=varargin{1}; arglist=varargin{2}; 45else error('Usage: [out1,..] = kprest_bayes(Inputs,arglist).'); 46end 47if size(arglist,2)~=2 48 error('arglist must be of form {''ParameterTag1'',value1;''ParameterTag2'',value2}') 49 end 68 if (nextinput > length(Inputs)) 69 error(['Input ' narglist{jj,1} ' has no corresponding input!']); 70 end 74 if (nextoutput > nargout) 75 error(['Output nr. ' narglist{jj,1} ' is not present in the assignment list of outputs !']); 76 end 90 if strcmp(paramtype{jj}, 'Integer') & (round(arglist{ii,2}) ~= arglist{ii,2}) 91 error(['Argument ' arglist{ii,1} ' is of integer type but non-integer number ' arglist{ii,2} ' was supplied']); 92 endkrp_ranros.m git://github.com/aludnam/MATLAB.git | Objective C | 194 lines
53 Inputs=varargin{1}; arglist=varargin{2}; 54else error('Usage: [out1,..] = krp_ranros(Inputs,arglist).'); 55end 56if size(arglist,2)~=2 57 error('arglist must be of form {''ParameterTag1'',value1;''ParameterTag2'',value2}') 58 end 77 if (nextinput > length(Inputs)) 78 error(['Input ' narglist{jj,1} ' has no corresponding input!']); 79 end 83 if (nextoutput > nargout) 84 error(['Output nr. ' narglist{jj,1} ' is not present in the assignment list of outputs !']); 85 end 99 if strcmp(paramtype{jj}, 'Integer') & (round(arglist{ii,2}) ~= arglist{ii,2}) 100 error(['Argument ' arglist{ii,1} ' is of integer type but non-integer number ' arglist{ii,2} ' was supplied']); 101 endmap.php http://jfusion.googlecode.com/svn/trunk/ | PHP | 414 lines
378 $out = eval("return $value;"); 379 $error = ob_get_contents(); 380 ob_end_clean(); 380 ob_end_clean(); 381 if ($testcrypt===false && strlen($error)) { 382 die($error);lua-remove-hooks.patch https://code.google.com/p/mizar32/ | Patch | 393 lines
39 40 LUAI_FUNC void luaG_typeerror (lua_State *L, const TValue *o, 41Index: elua-svn/src/lua/lua.h 150 luaF_close(L, L->base); /* close eventual pending closures */ 151 luaD_seterrorobj(L, status, L->base); 152 L->nCcalls = L->baseCcalls; 157 L->errfunc = 0; 158 L->errorJmp = NULL; 159@@ -182,6 +184,7 @@ 277 L->stacksize = 0; 278 L->errorJmp = NULL; 279+#ifdef LUA_HOOKS 378 lua_sethook(L, NULL, 0, 0); 379 luaL_error(L, "interrupted!"); 380 }EasyAGAL.as http://easy-agal.googlecode.com/svn/trunk/ | ActionScript | 267 lines
251 static protected function tex(dest:IField, source1:IField, source2:ISampler, flags:Array = null):void { 252 if (Assembler.assemblingVertex) throw new Error("sampleTexture() is only available in vertex shaders."); 253 var code:String = "tex " + dest["reg"] + ", " + source1["reg"] + ", " + source2["reg"];ppmfade http://shell-simulator.googlecode.com/svn/trunk/ | Perl | 317 lines
292 } else { 293 print("Internal error: impossible mode value '$mode'\n"); 294 }Library.cs https://UIAutomationVerify.svn.codeplex.com/svn | C# | 300 lines
103 { 104 Trace.WriteLine("Error stating application: " + hInstance); 105 throw new Exception("UnsafeNativeMethods.ShellExecute() returned " + hInstance); 290 /// <summary> 291 /// Checks for critical nonrecoverable errors 292 /// </summary>DataErrorNotifier.cs https://Calcium.svn.codeplex.com/svn | C# | 454 lines
355 /// <param name="propertyName">Name of the property.</param> 356 /// <param name="dataValidationError">The data validation error.</param> 357 public void AddPropertyError( 357 public void AddPropertyError( 358 string propertyName, DataValidationError dataValidationError) 359 { 398 399 int paramErrorCount = dataErrors == null ? 0 : dataErrors.Count(); 400 if ((errorsField == null || errorsField.Count < 1) 407 { 408 errorsField = new Dictionary<string, List<DataValidationError>>(); 409 created = true; 430 431 foreach (var dataError in dataErrors) 432 {gzwrite.c https://code.google.com/p/open-sauce/ | C | 532 lines
28 free(state->in); 29 gz_error(state, Z_MEM_ERROR, "out of memory"); 30 return -1; 40 free(state->in); 41 gz_error(state, Z_MEM_ERROR, "out of memory"); 42 return -1; 80 (unsigned)got != have)) { 81 gz_error(state, Z_ERRNO, zstrerror()); 82 return -1; 94 if (ret == Z_STREAM_ERROR) { 95 gz_error(state, Z_STREAM_ERROR, 96 "internal error: deflate stream corrupt"); 165 if ((int)len < 0) { 166 gz_error(state, Z_BUF_ERROR, "requested length does not fit in int"); 167 return 0;Main.as http://in-spirit.googlecode.com/svn/trunk/ | ActionScript | 500 lines
16 import flash.display.StageScaleMode; 17 import flash.events.AsyncErrorEvent; 18 import flash.events.Event; 424 connection.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler); 425 connection.addEventListener(SecurityErrorEvent.SECURITY_ERROR, securityErrorHandler); 426 connection.connect(null); 445 stream.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler); 446 stream.addEventListener(AsyncErrorEvent.ASYNC_ERROR, asyncErrorHandler); 447 _vid = new Video(VID_W, VID_H); 456 457 private function securityErrorHandler(event:SecurityErrorEvent):void { 458 trace("securityErrorHandler: " + event); 460 461 private function asyncErrorHandler(event:AsyncErrorEvent):void { 462 // ignore AsyncErrorEvent events.lwt_unix.ml http://ocamljs.googlecode.com/svn/trunk/ | OCaml | 512 lines
186 try ignore (Unix.LargeFile.fstat fd); false with 187 Unix.Unix_error (_, _, _) -> 188 true 229 with 230 Unix.Unix_error (Unix.EINTR, _, _) -> 231 ([], [], []) 231 ([], [], []) 232 | Unix.Unix_error (Unix.EBADF, _, _) -> 233 (List.filter bad_fd infds, List.filter bad_fd outfds, []) 276 with 277 Unix.Unix_error ((Unix.EAGAIN | Unix.EWOULDBLOCK), _, _) -> 278 register_action inputs ch (fun () -> Unix.read ch.fd buf pos len) 453 Unix.dup2 output Unix.stdout; Unix.close output; 454 Unix.dup2 error Unix.stderr; Unix.close error; 455 List.iter Unix.close toclose;ModifyLevel.pm.pl http://superlinks.googlecode.com/svn/trunk/ | Perl | 344 lines
43 my $self = shift; 44 my %in = (input => undef, error => "", @_); 45 52 }, 53 "ERROR" => qq~<p><font class="error">There were errors:<ul>[%error%]</ul></font>~ 54 }; 55 56 $in{'error'} = &Standard::ProcessError(LANGUAGE => $LANGUAGE, ERROR => $in{'error'}); 57 63 64 my $Body = $Dialog->TableRow(items => [{ body => "Please fill out all the required (<font class=\"form-required\"><b>*</b></font>) fields:".$in{'error'}, colspan => "2" }]); 65ParallelPole.for http://ua-fwlis.googlecode.com/svn/trunk/ | FORTRAN Legacy | 499 lines
5 DOUBLE PRECISION Epsilonr1,Epsilonr2,Epsilon0,Zn1,Zn2,d 6 DOUBLE PRECISION tanDelta1, tanDelta2, Error,lambda 7 COMPLEX*16 Epsilon1, Epsilon2,Kp, Kz1,Kz2,j, Diff, K1,K2,DDa, DDb 50 51 Error = 1e-4 52 Iteration = 100 !1e+4 380 Kz2= TEtheSearchRoot(Mu1, Mu2, Epsilon1, Epsilon2, Zn1, 381 & Zn2, Freq, testStart, testEnd, Iteration, Error) 382 396 write (2,"('Db =', F25.15, F25.15,'j')") (REAL(Db),AIMAG(Db)) 397 write (2,"('the error=',F25.15)") (tmag) 398 403 404 if (tmag<Error) then 405 write (2, "(A10)") "ROOT FOUND"admin_effett.php http://gevion.googlecode.com/svn/trunk/ | PHP | 304 lines
85 86 if (empty($msg)) { // nessun errore 87 $tipeff=gaz_dbi_get_row($gTables['pagame'],'codice',$form['pagame']); 203if (!empty($msg)) { 204 echo '<tr><td colspan="3" class="FacetDataTDred">'.$gForm->outputErrors($msg,$script_transl['errors'])."</td></tr>\n"; 205}Types.hs http://picorec.googlecode.com/svn/trunk/ | Haskell | 441 lines
371----------------------------------------------------------------------------- 372-- * Error handling 373----------------------------------------------------------------------------- 375 376-- A monad which collects error messages, locally defined to avoid a dep on mtl 377pyini.py http://uliweb.googlecode.com/svn/trunk/ | Python | 419 lines
189 del self[key] 190 except KeyError, k: 191 raise AttributeError, k 310 traceback.print_exc() 311 raise Exception, "Parsing ini file error in line(%d): %s" % (lineno, line) 312 try: 319 except Exception, e: 320 raise Exception, "Converting value (%s) error in line %d:%s" % (value, lineno, line) 321 section.add(keyname, v, comments, replace=replace_flag)fckeditor.js http://fckeditor-for-wordpress.googlecode.com/svn/trunk/ | JavaScript | 214 lines
45 // Events 46 this.OnError = null ; // function( source, errorNumber, errorDescription ) 47} 159 160FCKeditor.prototype._ThrowError = function( errorNumber, errorDescription ) 161{ 162 this.ErrorNumber = errorNumber ; 163 this.ErrorDescription = errorDescription ; 164 167 document.write( '<div style="COLOR: #ff0000">' ) ; 168 document.write( '[ FCKeditor Error ' + this.ErrorNumber + ': ' + this.ErrorDescription + ' ]' ) ; 169 document.write( '</div>' ) ; 172 if ( typeof( this.OnError ) == 'function' ) 173 this.OnError( this, errorNumber, errorDescription ) ; 174}test_connection.py https://bitbucket.org/pypy/pypy/ | Python | 200 lines
36 except multiprocessing.BufferTooShort as e: 37 assert isinstance(e, multiprocessing.ProcessError) 38 assert e.args == ("data",) 62 assert rhandle.poll() == False 63 raises(IOError, whandle.poll) 64 130 client.connect(('127.0.0.1', serverSocket.getsockname()[1])) 131 except socket.error as e: 132 assert e.args[0] in (errno.EINPROGRESS, errno.EWOULDBLOCK) 157 w_connections = self.w_connections 158 except AttributeError: 159 return 170 171 raises(IOError, _multiprocessing.Connection, -1) 172 raises(IOError, _multiprocessing.Connection, -15)protocol-xigetselectedevents.c git://anongit.freedesktop.org/git/xorg/xserver.git/ | C | 0 lines
134 135static void request_XIGetSelectedEvents(xXIGetSelectedEventsReq* req, int error) 136{ 143 rc = ProcXIGetSelectedEvents(&client); 144 assert(rc == error); 145 150 rc = SProcXIGetSelectedEvents(&client); 151 assert(rc == error); 152}Rsvm.c http://research-code-base-animesh.googlecode.com/svn/trunk/ | C | 516 lines
113 int total_correct = 0; 114 double total_error = 0; 115 double sumv = 0, sumy = 0, sumvv = 0, sumyy = 0, sumvy = 0; 161 struct svm_model *submodel = svm_train(&subprob,param); 162 double error = 0; 163 for(j=begin;j<end;j++) 166 double y = prob->y[j]; 167 error += (v-y)*(v-y); 168 sumv += v; 177 cresults[i] = error/(end-begin); 178 total_error += error; 179 } 202 { 203 /* printf("Cross Validation Mean squared error = %g\n",total_error/prob.l); 204 printf("Cross Validation Squared correlation coefficient = %g\n",DriverSTL_W_SMDS_Mesh.cpp http://pythonocc.googlecode.com/svn/trunk/ | C++ | 264 lines
59 if ( !myMesh ) { 60 fprintf(stderr, ">> ERROR : Mesh is null \n"); 61 return DRS_FAIL;tests.cpp git://github.com/AdamSpitz/klein.git | C++ | 180 lines
25 printf("%s != %s\n", aMsg, bMsg); 26 error("assertion failure!"); 27 }Preloader.as http://flowplayer-core.googlecode.com/svn/ | ActionScript | 191 lines
46 var logConfig:LogConfiguration = new LogConfiguration(); 47 logConfig.level = "error"; 48 logConfig.filter = "org.flowplayer.view.Preloader"; 149 log("Launcher instantiated " + _app); 150 } catch (e:Error) { 151 log("error instantiating Launcher " + e + ": " + e.message);solo.rb git://github.com/opscode/chef.git | Ruby | 220 lines
39 :long => "--log_level LEVEL", 40 :description => "Set the log level (debug, info, warn, error, fatal)", 41 :proc => lambda { |l| l.to_sym } 139 end 140 rescue SocketError => error 141 Chef::Application.fatal!("I cannot connect to #{Chef::Config[:json_attribs]}", 2) 141 Chef::Application.fatal!("I cannot connect to #{Chef::Config[:json_attribs]}", 2) 142 rescue Errno::ENOENT => error 143 Chef::Application.fatal!("I cannot find #{Chef::Config[:json_attribs]}", 2) 146 rescue Exception => error 147 Chef::Application.fatal!("Got an unexpected error reading #{Chef::Config[:json_attribs]}: #{error.message}", 2) 148 end 152 json_io.close unless json_io.closed? 153 rescue JSON::ParserError => error 154 Chef::Application.fatal!("Could not parse the provided JSON file (#{Chef::Config[:json_attribs]})!: " + error.message, 2)distribution_construction.cpp http://hadesmem.googlecode.com/svn/trunk/ | C++ | 0 lines
117 using boost::math::beta; 118 beta mybetad0(1, 0.5); // Error beta is a math FUNCTION! 119 119 120 Which produces the error messages: 121 122 [pre 123 error C2146: syntax error : missing ';' before identifier 'mybetad0' 124 warning C4551: function call missing argument list 124 warning C4551: function call missing argument list 125 error C3861: 'mybetad0': identifier not found 126 ] 170 Note that default constructor arguments are only provided for some distributions. 171 So if you wrongly assume a default argument you will get an error message, for example: 172AppStd_headers.i http://pythonocc.googlecode.com/svn/trunk/ | Swig | 197 lines
39#include<CDF_MetaDataDriver.hxx> 40#include<CDF_MetaDataDriverError.hxx> 41#include<CDF_MetaDataDriverFactory.hxx>CSLib_dependencies.i http://pythonocc.googlecode.com/svn/trunk/ | Swig | 195 lines
27#include <Handle_Standard_AbortiveTransaction.hxx> 28#include <Handle_Standard_ConstructionError.hxx> 29#include <Handle_Standard_DimensionError.hxx> 31#include <Handle_Standard_DivideByZero.hxx> 32#include <Handle_Standard_DomainError.hxx> 33#include <Handle_Standard_Failure.hxx> 34#include <Handle_Standard_ImmutableObject.hxx> 35#include <Handle_Standard_LicenseError.hxx> 36#include <Handle_Standard_LicenseNotFound.hxx> 43#include <Handle_Standard_NullValue.hxx> 44#include <Handle_Standard_NumericError.hxx> 45#include <Handle_Standard_OutOfMemory.hxx> 48#include <Handle_Standard_Persistent.hxx> 49#include <Handle_Standard_ProgramError.hxx> 50#include <Handle_Standard_RangeError.hxx>pipe.c git://github.com/joyent/libuv.git | C | 257 lines
60 if (handle->io_watcher.fd >= 0) { 61 uv__set_artificial_error(handle->loop, UV_EINVAL); 62 goto out; 66 if ((pipe_fname = strdup(name)) == NULL) { 67 uv__set_sys_error(handle->loop, ENOMEM); 68 goto out; 74 if ((sockfd = uv__socket(AF_UNIX, SOCK_STREAM, 0)) == -1) { 75 uv__set_sys_error(handle->loop, errno); 76 goto out; 84 /* Convert ENOENT to EACCES for compatibility with Windows. */ 85 uv__set_sys_error(handle->loop, (errno == ENOENT) ? EACCES : errno); 86 goto out; 95out: 96 /* Clean up on error. */ 97 if (status) {GwtVersionsPreferencePage.java http://cypal-studio.googlecode.com/svn/trunk/ | Java | 204 lines
134 if (!file.exists()) { 135 MessageDialog.openError(getShell(), "Invalid directory", "The directory doesn't contain '" + Util.getGwtDevLibJarName() + "' file."); 136 } else { 149 Activator.logException(e); 150 MessageDialog.openError(getShell(), "Error Occured", "Could not determine the GWT version."); 151 } catch (Exception e) { 152 Activator.logException(e); 153 MessageDialog.openError(getShell(), "Error Occured", "The '" + Util.getGwtDevLibJarName() + "' file seems to be corrupted"); 154 }PearLogListener.php git://github.com/alexgorbatchev/SyntaxHighlighter.git | PHP | 0 lines
125 /** 126 * Logs whether the build succeeded or failed, and any errors that 127 * occured during the build. Also outputs the total build-time. 132 public function buildFinished(BuildEvent $event) { 133 $error = $event->getException(); 134 if ($error === null) { 136 } else { 137 $msg = "Build failed. [reason: " . $error->getMessage() ."]"; 138 }posix_api.cpp http://hadesmem.googlecode.com/svn/trunk/ | C++ | 0 lines
40const char* names[] = { 41 "REG_NOERROR", 42 "REG_NOMATCH", 127 expression->re_nsub = static_cast<c_regex_type*>(expression->guts)->mark_count() - 1; 128 result = static_cast<c_regex_type*>(expression->guts)->error_code(); 129#ifndef BOOST_NO_EXCEPTIONS 130 } 131 catch(const boost::regex_error& be) 132 { 192 if((e) && (e->re_magic == magic_value)) 193 p = static_cast<c_regex_type*>(e->guts)->get_traits().error_string(static_cast< ::boost::regex_constants::error_type>(code)); 194 else 195 { 196 p = re_detail::get_default_error_string(static_cast< ::boost::regex_constants::error_type>(code)); 197 }Operation.java https://code.google.com/p/javawfm/ | Java | 334 lines
54 if ( !numMachines.containsKey(wtype)){ 55 throw new Error("The worker type "+wtype+" is not defined for operation "+type); 56 } 94 } else { 95 throw new Error("An Operation cannot be attached to more than one crop"); 96 } 140 } else { 141 throw new Error("Attempt to get cost for unknown period in operation "+this.toString()); 142 } 149 if ( workrate(loc) <=0){ 150 throw new Error("Can't set cost for operation because workrate is "+workrateF.calculateValue()+" in op "+type+" with wkrateF "+workrateF.getFormula()); 151 } 161 if ( sol.length != penaltyCostCached.size()){ 162 throw new Error("Can't calculated solved penalty cost because of array length mismatch"); 163 }rdnrefresh.js http://joelisester-sandbox.googlecode.com/svn/trunk/ | JavaScript | 338 lines
130 url: siteDir + currentUser + '/inbox', 131 error: function(response) {}, 132 success: function(response) { 251 }, 252 error: function (xhr, textStatus, errorThrown) { 253 },iomanager_kqueue.cpp git://github.com/mozy/mordor.git | C++ | 371 lines
31 close(m_kqfd); 32 MORDOR_THROW_EXCEPTION_FROM_LAST_ERROR_API("pipe"); 33 } 38 rc = kevent(m_kqfd, &event, 1, NULL, 0, NULL); 39 MORDOR_LOG_LEVEL(g_log, rc ? Log::ERROR : Log::VERBOSE) << this << " kevent(" 40 << m_kqfd << ", (" << m_tickleFds[0] << ", EVFILT_READ, EV_ADD)): " << rc 179 << m_kqfd << ", (" << fd << ", " << eventsKey << ", EV_DELETE)): " << rc 180 << " (" << lastError() << ")"; 181 if (rc) 181 if (rc) 182 MORDOR_THROW_EXCEPTION_FROM_LAST_ERROR_API("kevent"); 183 if (dg) 314#ifdef OSX 315 int *err = boost::get_error_info<errinfo_nativeerror>(ex); 316 if (err != NULL && *err == EINPROGRESS) {globals.h http://mt-weibo-project.googlecode.com/svn/trunk/ | C Header | 503 lines
132 xmlGenericErrorFunc xmlGenericError; 133 xmlStructuredErrorFunc xmlStructuredError; 134 void *xmlGenericErrorContext; 274#else 275XMLPUBVAR xmlError xmlLastError; 276#endif 340#else 341XMLPUBVAR xmlGenericErrorFunc xmlGenericError; 342#endif 343 344XMLPUBFUN xmlStructuredErrorFunc * XMLCALL __xmlStructuredError(void); 345#ifdef LIBXML_THREAD_ENABLED 348#else 349XMLPUBVAR xmlStructuredErrorFunc xmlStructuredError; 350#endifSphere_pkg.cpp http://flexible-portable-game-kit.googlecode.com/svn/trunk/ | C++ | 486 lines
61 tolua_lerror: 62 tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err); 63 return 0; 90 tolua_lerror: 91 tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err); 92 return 0; 228 tolua_lerror: 229 tolua_error(tolua_S,"#ferror in function 'Radius'.",&tolua_err); 230 return 0; 288 tolua_lerror: 289 tolua_error(tolua_S,"#ferror in function 'Center'.",&tolua_err); 290 return 0; 350 tolua_lerror: 351 tolua_error(tolua_S,"#ferror in function 'Intersects'.",&tolua_err); 352 return 0;