100+ results results for 'ERROR repo:qbit_/scottbot' (394 ms)
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 {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( "{" );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}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 */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#endifErrorData.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);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 }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");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); 403HtmlHelper.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}SQLDescribeColW.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}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 }vc71.mak http://hadesmem.googlecode.com/svn/trunk/ | Makefile | 0 lines
38!IF "$(MSVCDIR)" == "" 39!ERROR Variable MSVCDIR not set. 40!ENDIFrecord.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 endfckeditor.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}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 }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) {MainForm.vb https://cfx.svn.codeplex.com/svn | Visual Basic | 321 lines
131 Catch ex As Exception 132 MessageBox.Show("Error registering file type association:" & vbNewLine & ex.Message) 133 End Try 177 Catch ex As Exception 178 MessageBox.Show("Error unregistering file type association:" & vbNewLine & ex.Message) 179 End Tryadmin.css http://creative-portal.googlecode.com/svn/trunk/ | CSS | 758 lines
632 633div.quote blockquote.error,#middle_column_r div.info span { 634 color: #cb0000erlang_interface.c git://github.com/luisbebop/erlang_interface.git | C | 573 lines
286 287void error(const char *msg) 288{ 304 sockfd = socket(AF_INET, SOCK_STREAM, 0); 305 if (sockfd < 0) error("ERROR opening socket"); 306 server = gethostbyname(argv[1]); 315 if (connect(sockfd,(struct sockaddr *) &serv_addr,sizeof(serv_addr)) < 0) 316 error("ERROR connecting"); 317 326 if (n < 0) 327 error("ERROR writing to socket"); 328 return n; 335 if (n < 0) 336 error("ERROR reading from socket"); 337 return n;MsmqTraceListenerDataManageabilityProvider.cs https://entlib.svn.codeplex.com/svn | C# | 210 lines
25 /// processes policy overrides, performing appropriate logging of 26 /// policy processing errors. 27 /// </summary> 157 String.Format(CultureInfo.CurrentCulture, 158 Resources.ExceptionErrorValueNotTimeSpan, 159 policyKey.Name, 174 /// <remarks>Subclasses implementing this method must retrieve all the override values from the registry 175 /// before making modifications to the <paramref name="configurationObject"/> so any error retrieving 176 /// the override values will cancel policy processing.</remarks>ParserUtils.hs git://github.com/bjpop/language-python.git | Haskell | 295 lines
17import Data.Maybe (isJust) 18import Control.Monad.Error.Class (throwError) 19import Language.Python.Common.AST as AST 35parseError :: Token -> P a 36parseError = throwError . UnexpectedToken 37 79 | length subs == 1 = subscriptToExpr $ head subs 80 | otherwise = error "subscriptsToExpr: empty subscript list" 81 233 check state [] = return () 234 check 5 (arg:_) = spanError arg "an **argument must not be followed by any other arguments" 235 check state (arg:rest) = do 292spanError :: Span a => a -> String -> P () 293spanError x str = throwError $ StrError $ unwords [prettyText $ getSpan x, str] 294-}xmlrpc_client.ml git://github.com/xen-org/xen-api-libs.git | OCaml | 319 lines
133 else begin 134 StunnelDebug.error "get_reusable_stunnel: fresh stunnel failed reusable check; delaying %.2f seconds before reconnecting to %s:%d (attempt %d / %d)" delay host port !attempt_number max_attempts; 135 Thread.delay delay; 138 with e -> 139 StunnelDebug.error "get_reusable_stunnel: fresh stunnel connection failed with exception: %s: delaying %.2f seconds before reconnecting to %s:%d (attempt %d / %d)" (Printexc.to_string e) delay host port !attempt_number max_attempts; 140 Thread.delay delay; 146 | None -> 147 StunnelDebug.error "get_reusable_stunnel: failed to acquire a working stunnel to connect to %s:%d" host port; 148 raise Stunnel_connection_failed 260 Http_client.rpc s request (fun response s -> f (response, s)) 261 with Unix.Unix_error(Unix.ECONNRESET, _, _) -> raise Connection_reset 262 301 with 302 | Unix.Unix_error(Unix.ECONNRESET, _, _) -> raise Connection_reset 303rlist.py https://bitbucket.org/alex_gaynor/pypy-postgresql/ | Python | 408 lines
2from pypy.annotation import model as annmodel 3from pypy.rpython.error import TyperError 4from pypy.rpython.rmodel import Repr, IntegerRepr, inputconst 204 new_allocated = ovfcheck(newsize + some) 205 except OverflowError: 206 raise MemoryErrortest_multibytecodec_support.py https://bitbucket.org/pypy/pypy/ | Python | 373 lines
105 return (ret, exc.end) 106 codecs.register_error("test.cjktest", myreplace) 107 121 codecs.register_error("test.cjktest", myreplace) 122 self.assertRaises((IndexError, OverflowError), self.encode, 123 self.unmappedunicode, 'test.cjktest') 154 return (u'TERM', 100) 155 codecs.register_error("test.cjktest", myreplace) 156 self.assertRaises(IndexError, self.encode, self.unmappedunicode, 195 196 def test_incrementalencoder_error_callback(self): 197 inv = self.unmappedunicode 208 codecs.register_error('test.incremental_error_callback', tempreplace) 209 e.errors = 'test.incremental_error_callback' 210 self.assertEqual(e.encode(inv, True), 'called')loader.php http://buddypress-media.googlecode.com/svn/bp_media/trunk/ | PHP | 547 lines
106 * 107 * @TODO Add error checking, sanitizing eg: $value = sanitize_option($option, $value), etc. At present bad 108 * user input can crash the plugin and damage the database. 158 159 title: "<?php _e("Update Error", "bp-media"); ?>", 160 text: "<?php _e("Error updating the album module's settings", "bp-media"); ?>", 245 246 title: "<?php _e("Album Module Error", "bp-media"); ?>", 247 text: "<?php _e("Error activating the album module.", "bp-media"); ?>", 295 296 title: "<?php _e("Album Module Error", "bp-media"); ?>", 297 text: "<?php _e("Error deactivating the album module.", "bp-media"); ?>",log1p.hpp http://hadesmem.googlecode.com/svn/trunk/ | C++ Header | 0 lines
18#include <boost/math/tools/rational.hpp> 19#include <boost/math/policies/error_handling.hpp> 20#include <boost/math/special_functions/math_fwd.hpp> 80 if(x < -1) 81 return policies::raise_domain_error<T>( 82 function, "log1p(x) requires x > -1, but got x = %1%.", x, pol); 83 if(x == -1) 84 return -policies::raise_overflow_error<T>( 85 function, 0, pol); 113 if(x < -1) 114 return policies::raise_domain_error<T>( 115 function, "log1p(x) requires x > -1, but got x = %1%.", x, pol); 116 if(x == -1) 117 return -policies::raise_overflow_error<T>( 118 function, 0, pol);RWStepDimTol_headers.i http://pythonocc.googlecode.com/svn/trunk/ | Swig | 343 lines
74#include<Handle_Interface_IntVal.hxx> 75#include<Handle_Interface_InterfaceError.hxx> 76#include<Handle_Interface_InterfaceMismatch.hxx>RealmTableImpl.java http://mobicents.googlecode.com/svn/trunk/ | Java | 410 lines
204 catch (Exception e) { 205 logger.error("Unable to read Destination-Realm AVP to match realm to request", e); 206 }doc.py https://bitbucket.org/mirror/django/ | Python | 347 lines
122 view_func = getattr(__import__(mod, '', '', ['']), func) 123 except (ImportError, AttributeError): 124 raise Http404 249def missing_docutils_page(request): 250 """Display an error message for people without docutils""" 251 return render_to_response('admin_doc/missing_docutils.html') 323 else: 324 raise TypeError, "%s does not appear to be a urlpattern object" % p 325 return viewssites.py https://bitbucket.org/mirror/django/ | Python | 350 lines
16 17ERROR_MESSAGE = ugettext_lazy("Please enter a correct username and password. Note that both fields are case-sensitive.") 18LOGIN_FORM_KEY = 'this_is_the_login_form' 158 admin_obj = self._registry[model] 159 except KeyError: 160 raise http.Http404("This model exists but has not been registered with the admin site.") 232 if user is None: 233 message = ERROR_MESSAGE 234 if u'@' in username: 265 else: 266 return self.display_login_form(request, ERROR_MESSAGE) 267 login = never_cache(login) 337 'post_data': post_data, 338 'error_message': error_message, 339 'root_path': self.root_path,CompositeDependencyHandler.cs https://hg01.codeplex.com/clientdependency | C# | 0 lines
98 //retry up to 5 times... this is only here due to a bug found in another website that was returning a blank 99 //result. To date, it can't be replicated in VS, but we'll leave it here for error handling support... can't hurt 100 for (int i = 0; i < 5; i++) 105 106 ClientDependencySettings.Instance.Logger.Error(string.Format("No bytes were returned, this is attempt {0}. Fileset: {1}, Type: {2}, Version: {3}", i, fileset, type, version), null); 107 } 225 { 226 ClientDependencySettings.Instance.Logger.Error("ClientDependency handler path is null", new Exception()); 227 return;adi.d https://bitbucket.org/lindquist/ldc/ | D | 611 lines
65{ 66 bool hadErrors = false; 67 if (a.length > 1) 91 stridelo = 1; 92 hadErrors=true; 93 } 102 if (lo > hi) { 103 hadErrors = true; 104 } 107 if (stridehi > 6) { 108 hadErrors = true; 109 stridehi = 6; 134 } 135 if (hadErrors) 136 throw new Exception("invalid UTF-8 sequence",__FILE__,__LINE__);RunwayWidget.as http://simile-widgets.googlecode.com/svn/ | ActionScript | 322 lines
167 ExternalInterface.addCallback("getSlideCount", function():int { return _runway.slideCount; }); 168 } catch (e:Error) { 169 trace("Error adding callbacks");residuals.lrm.s git://github.com/harrelfe/rms.git | Assembly | 377 lines
52 dimnames=list(if(k > 1) lev2, 53 c("Sum of squared errors", "Expected value|H0", 54 "SD", "Z", "P")))canvas.js git://github.com/mbebenita/Broadway.git | JavaScript | 0 lines
55 } else { 56 error("Unknown shader type: " + script.type); 57 return; 67 if (!gl.getShaderParameter(this.shader, gl.COMPILE_STATUS)) { 68 error("An error occurred compiling the shaders: " + gl.getShaderInfoLog(this.shader)); 69 return; 288 }, 289 checkLastError: function (operation) { 290 var err = this.gl.getError(); 290 var err = this.gl.getError(); 291 if (err != this.gl.NO_ERROR) { 292 var name = this.glNames[err]; 295 if (operation) { 296 console.log("WebGL Error: %s, %s", operation, name); 297 } else {BaseServiceRemote.java http://tauruss.googlecode.com/svn/trunk/ | Java | 265 lines
99 } catch (Exception e) { 100 log.error(e); 101 }mwcc.py git://github.com/cloudant/bigcouch.git | Python | 207 lines
110 versions.append(mwv) 111 except SCons.Util.RegError: 112 pass 115 116 except SCons.Util.RegError: 117 passdbmechanic.py http://dbsprockets.googlecode.com/svn/trunk/ | Python | 162 lines
15from dbsprockets.sprockets import Sprockets 16#from dbsprockets.decorators import crudErrorCatcher, validate 17from tw.api import WidgetBunch 138 # @validate(error_handler=editRecord) 139 #@crudErrorCatcher(errorType=sqlalchemy.exceptions.IntegrityError, error_handler='editRecord') 140 #@crudErrorCatcher(errorType=sqlalchemy.exceptions.ProgrammingError, error_handler='editRecord') 148 # @validate(error_handler=addRecord) 149 #@crudErrorCatcher(errorType=sqlalchemy.exceptions.IntegrityError, error_handler='addRecord') 150 #@crudErrorCatcher(errorType=sqlalchemy.exceptions.ProgrammingError, error_handler='addRecord')MembershipRequestServiceHttp.java git://github.com/liferay/liferay-portal.git | Java | 229 lines
89 90 _log.error(systemException, systemException); 91 125 126 _log.error(systemException, systemException); 127 166 167 _log.error(systemException, systemException); 168 205 206 _log.error(systemException, systemException); 207TikaRawMetadataProcessor.java git://github.com/liferay/liferay-portal.git | Java | 255 lines
230 else { 231 _log.error(exception, exception); 232 }details.php http://lansuite.googlecode.com/svn/trunk/ | PHP | 226 lines
11 12if (!$tournament["tournamentid"]) $func->error(t('Das ausgewählte Turnier existiert nicht'), "index.php?mod=tournament2"); 13else { 88 if ($tournament['status'] == "locked") $status = t('Anmeldung geschlossen'); 89 if ($tournament['status'] == "closed") $status = "<div class=\"tbl_error\">".t('Turnier beendet')."</div>"; 90 if ($tournament['status'] == "process") $status = "<div class=\"tbl_error\">".t('Partien werden gespielt')."</div>"; 117 118 $dsp->AddDoubleRow(t('Coin-Kosten'), "<div class=\"tbl_error\">". str_replace("%IS%", ($cfg['t_coins'] - $team_coin['t_coins'] - $member_coin['t_coins']), str_replace("%COST%", $tournament['coins'], $coin_out)) ."</div>"); 119 } 127 128 ($tournament["defwin_on_time_exceed"] == "1")? $defwin_warning = "<div class=\"tbl_error\">".t('ACHTUNG: Bei Zeitüberschreitung wird das Ergebnis automatisch gelost!')."</div> ".t('Wir bitten euch daher die Spiele direkt zu beginnen und das Ergebnis umgehend zu melden!')."" : $defwin_warning = ""; 129 $dsp->AddFieldsetStart(t('Zeiten') . $defwin_warning); 169 } 170/* // Disquallifiy droped, due to errors 171 if ($auth["type"] > 1 and $tournament['status'] == "process") {NotFoundTest.java http://mobicents.googlecode.com/svn/trunk/ | Java | 303 lines
22 23package org.openxdm.xcap.client.test.error; 24 37import org.openxdm.xcap.client.test.AbstractXDMJunitOldClientTest; 38import org.openxdm.xcap.common.error.NotFoundException; 39import org.openxdm.xcap.common.key.UserAttributeUriKey;multi.c git://github.com/antirez/redis.git | C | 374 lines
81/* Flag the transacation as DIRTY_EXEC so that EXEC will fail. 82 * Should be called every time there is an error while queueing a command. */ 83void flagTransaction(client *c) { 89 if (c->flags & CLIENT_MULTI) { 90 addReplyError(c,"MULTI calls can not be nested"); 91 return; 98 if (!(c->flags & CLIENT_MULTI)) { 99 addReplyError(c,"DISCARD without MULTI"); 100 return; 126 if (!(c->flags & CLIENT_MULTI)) { 127 addReplyError(c,"EXEC without MULTI"); 128 return; 132 * 1) Some WATCHed key was touched. 133 * 2) There was a previous error while queueing commands. 134 * A failed EXEC in the first case returns a multi bulk nil objectnsIDOMWindow.h http://firefox-mac-pdf.googlecode.com/svn/trunk/ | C Header | 357 lines
92 * Set/Get the document scale factor as a multiplier on the default 93 * size. When setting this attribute, a NS_ERROR_NOT_IMPLEMENTED 94 * error may be returned by implementations not supporting 203#define NS_FORWARD_SAFE_NSIDOMWINDOW(_to) \ 204 NS_SCRIPTABLE NS_IMETHOD GetDocument(nsIDOMDocument * *aDocument) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDocument(aDocument); } \ 205 NS_SCRIPTABLE NS_IMETHOD GetParent(nsIDOMWindow * *aParent) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetParent(aParent); } \ 205 NS_SCRIPTABLE NS_IMETHOD GetParent(nsIDOMWindow * *aParent) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetParent(aParent); } \ 206 NS_SCRIPTABLE NS_IMETHOD GetTop(nsIDOMWindow * *aTop) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTop(aTop); } \ 207 NS_SCRIPTABLE NS_IMETHOD GetScrollbars(nsIDOMBarProp * *aScrollbars) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetScrollbars(aScrollbars); } \ 207 NS_SCRIPTABLE NS_IMETHOD GetScrollbars(nsIDOMBarProp * *aScrollbars) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetScrollbars(aScrollbars); } \ 208 NS_IMETHOD GetFrames(nsIDOMWindowCollection * *aFrames) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFrames(aFrames); } \ 209 NS_SCRIPTABLE NS_IMETHOD GetName(nsAString & aName) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetName(aName); } \ 209 NS_SCRIPTABLE NS_IMETHOD GetName(nsAString & aName) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetName(aName); } \ 210 NS_SCRIPTABLE NS_IMETHOD SetName(const nsAString & aName) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetName(aName); } \ 211 NS_IMETHOD GetTextZoom(float *aTextZoom) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTextZoom(aTextZoom); } \ToolTipsManager.as http://chinesechessjam.googlecode.com/svn/trunk/ | ActionScript | 377 lines
25 * <br> 26 * When the showErrorTip(target:Object, error:String) function is called, if the error String is null and 27 * the target is a UIComponent then the UIComponent.errorString property is used in the error tip. 174 * Called when the validator fires an invalid event. 175 * Shows the error tooltip with the ValidatorResultEvent.message as the error String. 176 */ 283 } 284 } else if ((error != null) && (error != errorTip.text)) { 285 // update the error tooltip text 314 public static function showErrorTip(target:Object, error:String = null):void { 315 var errorTip:IToolTip = createErrorTip(target, error); 316 if (errorTip) { 357 /** 358 * Shows all the error tips - doesn't check to see if an error string is set! 359 */mshopt.cxx https://kfem.svn.sourceforge.net/svnroot/kfem | C++ | 209 lines
40 aux=new Pila_trar_link; 41 if (pila==NIL || aux==NIL) ERROR(); 42 aux->set(tr,a); 52 cout<<"a11:"<<a11<<endl; 53 cerr<<"Error in mshopt."<<endl; 54 exit(1); 65 if (a21<0 || a21>2){ 66 cerr<<"Error in mshopt."<<endl; 67 cout<<"a21:"<<a21<<endl; 135 if (crit<=0) { 136 cout<<"Error. criterio negativo o cero"<<endl; 137 cout<<"t1:"<<t1->krit<<endl<<"t2:"<<t2->krit<<endl; 149 if (critp<0) { 150 cout<<"Error. Criterio negativo o cero"<<endl; 151 cout<<"crit1:"<<crit1<<endl<<"crit2:"<<crit2<<endl;Process.cs https://code.google.com/p/fan/ | C# | 254 lines
143 m_proc.StartInfo.RedirectStandardOutput = true; 144 m_proc.StartInfo.RedirectStandardError = true; 145 m_proc.OutputDataReceived += new System.Diagnostics.DataReceivedEventHandler(outHandler); 145 m_proc.OutputDataReceived += new System.Diagnostics.DataReceivedEventHandler(outHandler); 146 m_proc.ErrorDataReceived += new System.Diagnostics.DataReceivedEventHandler(errHandler); 147 157 m_proc.BeginOutputReadLine(); 158 m_proc.BeginErrorReadLine(); 159servers_controller.php http://skygames.googlecode.com/svn/trunk/ | PHP | 260 lines
167 } else { 168 $this->Session->setFlash(__('Error occured', true)); 169 }XDocsBugReporter.java http://findbugs.googlecode.com/svn/trunk/ | Java | 226 lines
53 54 private static final String ERRORS_ELEMENT_NAME = "Errors"; 55 55 56 private static final String ANALYSIS_ERROR_ELEMENT_NAME = "AnalysisError"; 57 78 @Override 79 public void logError(String message) { 80 bugCollection.addError(message); 80 bugCollection.addError(message); 81 super.logError(message); 82 } 131 Element errorsElement = root.addElement(ERRORS_ELEMENT_NAME); 132 for (AnalysisError analysisError : bugCollection.getErrors()) { 133 errorsElement.addElement(ANALYSIS_ERROR_ELEMENT_NAME).setText(analysisError.getMessage());StepExecutionTestsWithConversions.cs git://github.com/techtalk/SpecFlow.git | C# | 180 lines
83 [Test] 84 public void ShouldRaiseErrorIfSimpleConvertParamFails() 85 { 92 93 Assert.AreEqual(TestStatus.TestError, GetLastTestStatus()); 94 MockRepository.VerifyAll(); 134 135 Assert.AreEqual(TestStatus.BindingError, GetLastTestStatus()); 136 MockRepository.VerifyAll(); 163 [Test] 164 public void ShouldRaiseParamErrorIfNoneCanConvert() 165 { 175 176 Assert.AreEqual(TestStatus.BindingError, GetLastTestStatus()); 177 MockRepository.VerifyAll();OpenIdServlet.java https://code.google.com/p/puzzlebazar/ | Java | 191 lines
84 85 String errorMsg = OpenIdServletFilter.DEFAULT_ERROR_MSG; 86 try { 94 if (request.getParameter(relyingParty.getIdentifierParameter()) != null) { 95 request.setAttribute(OpenIdServletFilter.ERROR_MSG_ATTR, errorMsg); 96 } 140 System.err.println("could not be resolved"); 141 errorMsg = OpenIdServletFilter.DEFAULT_ERROR_MSG; 142 } catch (Exception e) { 143 e.printStackTrace(); 144 errorMsg = OpenIdServletFilter.DEFAULT_ERROR_MSG; 145 } 145 } 146 request.setAttribute(OpenIdServletFilter.ERROR_MSG_ATTR, errorMsg); 147g_i_l_0231.html http://hadesmem.googlecode.com/svn/trunk/ | HTML | 0 lines
61<a name="l00028"></a>00028 <span class="preprocessor">#include "../dynamic_image/dynamic_image_all.hpp"</span> 62<a name="l00029"></a>00029 <span class="preprocessor">#include "<a class="code" href="io__error_8hpp.html" title="Handle input-output errors.">io_error.hpp</a>"</span> 63<a name="l00030"></a>00030 113<a name="l00080"></a>00080 <span class="keywordflow">if</span> (!construct_matched(im,detail::jpeg_type_format_checker(_cinfo.out_color_space))) { 114<a name="l00081"></a>00081 io_error(<span class="stringliteral">"jpeg_reader_dynamic::read_image(): no matching image type between those of the given any_image and that of the file"</span>); 115<a name="l00082"></a>00082 } <span class="keywordflow">else</span> {NativeMethods.vb https://cfx.svn.codeplex.com/svn | Visual Basic | 378 lines
284 ''' specified service control manager database. If the function fails, 285 ''' the return value is an invalid handle. To get extended error 286 ''' information, call GetLastError. 287 ''' </returns> 288 <DllImport("advapi32.dll", CharSet:=CharSet.Auto, SetLastError:=True)> _ 289 Public Shared Function OpenSCManager( _ 308 ''' specified service. If the function fails, the return value is an 309 ''' invalid handle. To get extended error information, call GetLastError. 310 ''' </returns> 310 ''' </returns> 311 <DllImport("advapi32.dll", CharSet:=CharSet.Auto, SetLastError:=True)> _ 312 Public Shared Function OpenService( _ 325 ''' <param name="lpInfo"></param> 326 <DllImport("advapi32.dll", CharSet:=CharSet.Auto, SetLastError:=True)> _ 327 Public Shared Function ChangeServiceConfig2( _AnXmlResultMessageBuilder.java http://instinct.googlecode.com/svn/trunk/ | Java | 231 lines
123 final Date endTime = nowIgnoringMilliseconds(); 124 expect.that(evaluateXpath(document, "/testsuite/@errors")).isEqualTo("0"); 125 expect.that(evaluateXpath(document, "/testsuite/@failures")).isEqualTo("0"); 142 final Date endTime = nowIgnoringMilliseconds(); 143 expect.that(evaluateXpath(document, "/testsuite/@errors")).isEqualTo("0"); 144 expect.that(evaluateXpath(document, "/testsuite/@failures")).isEqualTo("1"); 177 final Date endTime = nowIgnoringMilliseconds(); 178 expect.that(evaluateXpath(document, "/testsuite/@errors")).isEqualTo("0"); 179 expect.that(evaluateXpath(document, "/testsuite/@failures")).isEqualTo("0");SystemDiagnosticsTraceListenerDataManageabilityProviderFixture.cs https://entlib.svn.codeplex.com/svn | C# | 238 lines
73 configurationObject.TraceOutputOptions = TraceOptions.None; 74 configurationObject.Filter = SourceLevels.Error; 75 80 Assert.AreEqual(TraceOptions.None, configurationObject.TraceOutputOptions); 81 Assert.AreEqual(SourceLevels.Error, configurationObject.Filter); 82 } 90 configurationObject.TraceOutputOptions = TraceOptions.None; 91 configurationObject.Filter = SourceLevels.Error; 92 114 configurationObject.TraceOutputOptions = TraceOptions.None; 115 configurationObject.Filter = SourceLevels.Error; 116 138 configurationObject.TraceOutputOptions = TraceOptions.None; 139 configurationObject.Filter = SourceLevels.Error; 140Events.java http://gwtquery.googlecode.com/svn/trunk/ | Java | 363 lines
244 dispatchEvent(document.createScrollEvent()); 245 if ((eventbits | Event.ONERROR) == Event.ONERROR) 246 dispatchEvent(document.createErrorEvent());Flowplayer.as http://flowplayer-core.googlecode.com/svn/ | ActionScript | 332 lines
21 import org.flowplayer.model.ClipEvent; 22import org.flowplayer.model.PlayerError; 23 import org.flowplayer.controller.ResourceLoader; 65 canvas:StyleableSprite, 66 errorHandler:ErrorHandler, 67 config:Config, 110 addCallback("addClip", function(clip:Object, index:int = -1):void { addClip(_config.createClip(clip), index); }); 111 addCallback("showError", showError); 112 135 } catch (e:Error) { 136 handleError(PlayerError.INIT_FAILED, "Unable to add callback to ExternalInterface"); 137 } 291 throw e; 292// handleError(PlayerError.PLUGIN_INVOKE_FAILED, "Error when invoking method '" + methodName + "', on plugin '" + pluginName + "'"); 293 }FoxProIntellisenseProvider.cs https://VFPX.svn.codeplex.com/svn | C# | 377 lines
12using FoxPro.CodeDom; 13using ErrorHandler = Microsoft.VisualStudio.ErrorHandler; 14using VSConstants = Microsoft.VisualStudio.VSConstants; 100 object propValue; 101 ErrorHandler.ThrowOnFailure(hostProject.GetHostProperty((uint)HOSTPROPID.HOSTPROPID_HIERARCHY, out propValue)); 102 IVsHierarchy hierarchy = propValue as IVsHierarchy; 110 propValue = null; 111 ErrorHandler.ThrowOnFailure(hierarchy.GetProperty(itemId, (int)__VSHPROPID.VSHPROPID_ExtObject, out propValue)); 112 EnvDTE.ProjectItem projectItem = null; 238 239 public int GetExternalErrorReporter(out IVsReportExternalErrors ppErrorReporter) { 240 // TODO: Handle the error reporter 240 // TODO: Handle the error reporter 241 ppErrorReporter = null; 242 return VSConstants.E_NOTIMPL;scripts.py https://bitbucket.org/plurk/solace/ | Python | 386 lines
19from distutils.cmd import Command 20from distutils.errors import DistutilsOptionError, DistutilsSetupError 21from random import randrange, choice, random, shuffle 50 if not str(self.port).isdigit(): 51 raise DistutilsOptionError('port has to be numeric') 52 161 if self.data_set_size not in ('small', 'medium', 'large'): 162 raise DistutilsOptionError('invalid value for data-set-size') 163options.py https://bitbucket.org/mirror/django/ | Python | 285 lines
57 if meta_attrs != {}: 58 raise TypeError, "'class Meta' got invalid attribute(s): %s" % ','.join(meta_attrs.keys()) 59 else: 99 def get_field(self, name, many_to_many=True): 100 "Returns the requested field by name. Raises FieldDoesNotExist on error." 101 to_search = many_to_many and (self.fields + self.many_to_many) or self.fields 109 if model is None: 110 raise ReferenceError("Model no longer available in %s" % self) 111 return model._default_manager 130 return self._all_related_objects 131 except AttributeError: 132 rel_objs = [] 164 return self._all_related_many_to_many_objects 165 except AttributeError: 166 rel_objs = []GTMLoggerRingBufferWriterTest.m git://github.com/yfactorial/objectiveresource.git | Objective C | 363 lines
184 185 // An error log level should print the buffer and empty it. 186 [logger_ logDebug:@"oop"]; 190 191 [logger_ logError:@"blargh"]; 192 STAssertEquals([countingWriter_ count], (NSUInteger)3, nil); 280 [countingWriter_ reset]; 281 [logger_ logError:@"snoogy"]; // should drop "oop" 282 STAssertEquals([countingWriter_ count], (NSUInteger)1, nil); 349 350 [logger_ logError:@"bork"]; 351 STAssertEquals([countingWriter_ count], kCapacity, nil);SubversionResolver.cs https://sourceserversharp.svn.codeplex.com/svn | C# | 0 lines
135 psi.RedirectStandardOutput = true; 136 psi.RedirectStandardError = true; 137 psi.RedirectStandardInput = true; 155 156 // Check if the volume exists; if not 'svn status' returns "svn: Error resolving case of 'q:\q'" 157 string root = Path.GetPathRoot(file.Key); 181 p.StandardInput.Close(); 182 p.ErrorDataReceived += new DataReceivedEventHandler(svnStatus_ErrorDataReceived); 183 p.OutputDataReceived += new DataReceivedEventHandler(svnStatus_OutputDataReceived); 184 _svnStatusOutput = new StringBuilder(); 185 _receivedError = false; 186 p.BeginErrorReadLine(); 191 _svnStatusOutput = null; 192 //string errs = p.StandardError.ReadToEnd(); 193admin_login.php http://creative-portal.googlecode.com/svn/trunk/ | PHP | 220 lines
33 34$error = ""; 35$login = ""; 58 { 59 $error = $lang_global['nickname_empty']; 60 } 62 { 63 $error = $lang_global['password_empty']; 64 } 145 146$info = ( ! empty( $error ) ) ? '<div class="error">' . $error . '</div>' : '<div class="normal">' . $lang_global['logininfo'] . '</div>'; 147$size = @getimagesize( NV_ROOTDIR . '/images/' . $global_config['site_logo'] ); 175 176$xtpl->assign( 'LOGIN_ERROR_SECURITY', addslashes( sprintf( $lang_global['login_error_security'], NV_GFX_NUM ) ) ); 177Solution1.cpp https://cfx.svn.codeplex.com/svn | C++ | 253 lines
86// to hold the directory name, the function returns 0 and sets the last 87// error to ERROR_INSUFFICIENT_BUFFER. If the function fails, the return 88// value is 0 (zero). To get extended error information, call 88// value is 0 (zero). To get extended error information, call 89// GetLastError. 90// 242 } 243 catch (_com_error &err) 244 { 244 { 245 wprintf(L"Excel throws the error: %s\n", err.ErrorMessage()); 246 wprintf(L"Description: %s\n", (LPCWSTR) err.Description());MainForm.Designer.cs https://cfx.svn.codeplex.com/svn | C# | 213 lines
167 this.wbcSample.Name = "wbcSample"; 168 this.wbcSample.ScriptErrorsSuppressed = true; 169 this.wbcSample.Size = new System.Drawing.Size(824, 557);subqueries.py https://bitbucket.org/mirror/django/ | Python | 368 lines
5from django.contrib.contenttypes import generic 6from django.core.exceptions import FieldError 7from django.db.models.sql.constants import * 205 if not direct or m2m: 206 raise FieldError('Cannot update model field %r (only non-relations and foreign keys permitted).' % field) 207 values_seq.append((field, model, val)) 240 self.related_updates[model].append((column, value, placeholder)) 241 except KeyError: 242 self.related_updates[model] = [(column, value, placeholder)]TmxTest.php http://firephp.googlecode.com/svn/trunk/ | PHP | 0 lines
168 169 set_error_handler(array($this, 'errorHandlerIgnore')); 170 $adapter->setLocale('it'); 170 $adapter->setLocale('it'); 171 restore_error_handler(); 172 $this->assertEquals('it', $adapter->getLocale()); 250 /** 251 * Ignores a raised PHP error when in effect, but throws a flag to indicate an error occurred 252 * 259 */ 260 public function errorHandlerIgnore($errno, $errstr, $errfile, $errline, array $errcontext) 261 { 261 { 262 $this->_errorOccurred = true; 263 }Ibm.php http://firephp.googlecode.com/svn/trunk/ | PHP | 0 lines
134 require_once 'Zend/Db/Adapter/Exception.php'; 135 $error = strpos($e->getMessage(), 'driver does not support that attribute'); 136 if ($error) {Displayname.html http://sardine.googlecode.com/svn/trunk/ | HTML | 324 lines
57 <A HREF="../../../../com/googlecode/sardine/model/Creationdate.html" title="class in com.googlecode.sardine.model"><B>PREV CLASS</B></A> 58 <A HREF="../../../../com/googlecode/sardine/model/Error.html" title="class in com.googlecode.sardine.model"><B>NEXT CLASS</B></A></FONT></TD> 59<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 290 <A HREF="../../../../com/googlecode/sardine/model/Creationdate.html" title="class in com.googlecode.sardine.model"><B>PREV CLASS</B></A> 291 <A HREF="../../../../com/googlecode/sardine/model/Error.html" title="class in com.googlecode.sardine.model"><B>NEXT CLASS</B></A></FONT></TD> 292<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">gem.fish git://github.com/cardmagic/lucash.git | Fish | 197 lines
40complete $common_opt -l config-file --description "Use this config file instead of default" -x 41complete $common_opt -l backtrace --description "Show stack backtrace on errors" 42complete $common_opt -l debug --description "Turn on Ruby debugging"interp_locale.py https://bitbucket.org/pypy/pypy/ | Python | 367 lines
3 4from pypy.interpreter.error import OperationError, oefmt 5from pypy.interpreter.gateway import unwrap_spec 10 11W_Error = _new_exception('Error', W_Exception, 'locale error') 12 15def make_error(space, msg): 16 return OperationError(space.gettypeobject(W_Error.typedef), space.wrap(msg)) 17 18def rewrap_error(space, e): 19 return OperationError(space.gettypeobject(W_Error.typedef), 20 space.wrap(e.message)) 328 errno = rposix.get_saved_errno() 329 raise OperationError(space.w_OSError, space.wrap(errno)) 330 return space.wrap(rffi.charp2str(dirname))_collections.py https://bitbucket.org/pypy/pypy/ | Python | 435 lines
12 from threading import _get_ident as _thread_ident 13except ImportError: 14 def _thread_ident(): 39 if maxlen < 0: 40 raise ValueError("maxlen must be non-negative") 41 self._maxlen = maxlen 98 if self.left is self.right and self.leftndx > self.rightndx: 99 raise IndexError("pop from an empty deque") 100 x = self.right[self.rightndx] 119 if self.left is self.right and self.leftndx > self.rightndx: 120 raise IndexError("pop from an empty deque") 121 x = self.left[self.leftndx] 155 i += 1 156 raise ValueError("deque.remove(x): x not in deque") 157 finally:RectangularShape.java http://loon-simple.googlecode.com/svn/trunk/ | Java | 422 lines
407 * @return a clone of this instance. 408 * @exception OutOfMemoryError 409 * if there is not enough memory. 417 // this shouldn't happen, since we are Cloneable 418 throw new InternalError(); 419 }idt.d git://github.com/xomboverlord/xomb.git | D | 325 lines
13import user.util; // For BitField!() 14import kernel.core.error; // For ErrorVal so errors can be indicated 15import kernel.core.kprintf; // For printing the stack dump 24 // Data pushed by the isr 25 ulong intNumber, errorCode; 26 48 49 ErrorVal initialize() { 50 // Initialize the IDT base structure that will be 64 65 return ErrorVal.Success; 66 } 67 68 ErrorVal install() { 69 asm {mcproto.h git://anongit.freedesktop.org/git/xorg/test/xts.git/ | C Header | 0 lines
94int errtext(char *buf); 95int valerror(char *buf); 96int valerrdefs(void); 187int errtext(); 188int valerror(); 189int valerrdefs();Logger.hx git://github.com/tomtera/stax.git | Haxe | 180 lines
31 public function warning(s: String, ?p: PosInfos): Void; 32 public function error(s: String, ?p: PosInfos): Void; 33 public function fatal(s: String, ?p: PosInfos): Void; 96 97 public function error(s: String, ?p: PosInfos) { _handler(Error, s, p); } 98 117 case Warning: if (c.warn != null) c.warn(text); 118 case Error, Fatal, None: if (c.error != null) c.error(text); 119 } 131 case Warning: flash.external.ExternalInterface.call('(function(text){if (console != null && console.warn) console.warn(text);})', text); 132 case Error, Fatal, None: flash.external.ExternalInterface.call('(function(text){if (console != null && console.error) console.error(text);})', text); 133 } 162 case Warning: "Warning"; 163 case Error: "Error"; 164 case Fatal: "Fatal";kfbxclonemanager.h http://monoxna.googlecode.com/svn/trunk/ | C Header | 173 lines
26 WITHOUT LIMITING THE FOREGOING, AUTODESK DOES NOT WARRANT THAT THE OPERATION 27 OF THE DATA WILL BE UNINTERRUPTED OR ERROR FREE. 28notes.php http://buddypress-media.googlecode.com/svn/bp_media/trunk/ | PHP | 242 lines
9-Instead of dumping raw HTML to the PHP output buffer, we render our template code to a separate render buffer. This 10allows objects further down the pipeline to abort the rendering process if they hit an error. 11 218 219 a) The create function should abort the create process and pass a BPM error object back to the AJAX handler 220 220 221 b) The AJAX handler should parse the error object into 222 1) The failed field namesnamespace_dsl_test.rb git://github.com/capistrano/capistrano.git | Ruby | 311 lines
70 71 def test_defining_task_without_block_should_raise_error 72 assert_raises(ArgumentError) do 76 77 def test_defining_task_that_shadows_existing_method_should_raise_error 78 assert_raises(ArgumentError) do 82 83 def test_defining_task_that_shadows_existing_namespace_should_raise_error 84 @config.namespace(:outer) {} 84 @config.namespace(:outer) {} 85 assert_raises(ArgumentError) do 86 @config.task(:outer) { puts "foo" } 89 90 def test_defining_namespace_that_shadows_existing_method_should_raise_error 91 assert_raises(ArgumentError) doValidationModel.cs https://entlib.svn.codeplex.com/svn | C# | 254 lines
144 145 var elementWithError = lookup.GetElementById(validationResult.ElementId); 146 if (elementWithError != null) 147 { 148 if (!(elementWithError is SectionViewModel)) 149 { 149 { 150 elementWithError.ContainingSection.ExpandSection(); 151 } 151 } 152 elementWithError.PropertiesShown = true; 153 elementWithError.Select();menu_wizard.py http://hornerp.googlecode.com/svn/trunk/ | Python | 222 lines
28'STOCK_CONNECT', 'STOCK_CONVERT', 'STOCK_COPY', 'STOCK_CUT', 'STOCK_DELETE', 29'STOCK_DIALOG_AUTHENTICATION', 'STOCK_DIALOG_ERROR', 'STOCK_DIALOG_INFO', 30'STOCK_DIALOG_QUESTION', 'STOCK_DIALOG_WARNING', 'STOCK_DIRECTORY', 'STOCK_DISCONNECT',issue-verification-token.asp http://loginsystem-rd.googlecode.com/svn/trunk/ | ASP | 168 lines
93 '***************************************************************************** 94 message = lg_phrase_issue_new_token_error & " 1" 95 if lg_debug Then dbMsg = "message = "& message &"<br />" & vbLF End If 159 '***************************************************************************** 160 '* There was an error updating the record and no new token was issued. 161 '***************************************************************************** 161 '***************************************************************************** 162 message = lg_phrase_issue_new_token_error & " 2" 163 if lg_debug Then dbMsg = "message = "& message &"<br />" & vbLF End Ifcmdline.h https://bitbucket.org/libsleipnir/sleipnir/ | C Header | 217 lines
99 int check_ambiguity; /**< @brief whether to check for options already specified in the option structure gengetopt_args_info (default 0) */ 100 int print_errors; /**< @brief whether getopt_long should print an error message for a bad option (default 1) */ 101} ; 114 * @param args_info the structure where option information will be stored 115 * @return 0 if everything went fine, NON 0 if an error took place 116 */ 127 * @param check_required whether to check that all required options were provided 128 * @return 0 if everything went fine, NON 0 if an error took place 129 * @deprecated use cmdline_parser_ext() instead 140 * @param params additional parameters for the parser 141 * @return 0 if everything went fine, NON 0 if an error took place 142 */ 150 * @param args_info the option struct to dump 151 * @return 0 if everything went fine, NON 0 if an error took place 152 */null_padded_codecvt.hpp http://hadesmem.googlecode.com/svn/trunk/ | C++ Header | 0 lines
77 if (state < 0 || state > 3) 78 return codecvt_base::error; 79 next1 = first1; 84 if (*next1 < 1 || *next1 > 3) 85 return codecvt_base::error; 86 state = *next1++; 92 if (*next1++ != 0) 93 return codecvt_base::error; 94 --state.val(); 109 if (state < 0 || state > 3) 110 return codecvt_base::error; 111 next1 = first1; 167 if (*next1 < 1 || *next1 > 3) 168 return static_cast<int>(result); // error. 169 st = *next1++;vbackup.c https://bitbucket.org/rsc/plan9port/ | C | 621 lines
62RWLock endlk; /* silly synchonization */ 63int errors; /* are we exiting with an error status? */ 64int fastwrites; /* do not write blocks already on server */jsflash.c git://github.com/mirrors/linux-2.6.git | C | 636 lines
389 mutex_lock(&jsf_mutex); 390 int error = -ENOTTY; 391 void __user *argp = (void __user *)arg; 404 case JSFLASH_ERASE: 405 error = jsf_ioctl_erase(arg); 406 break; 407 case JSFLASH_PROGRAM: 408 error = jsf_ioctl_program(argp); 409 break; 412 mutex_unlock(&jsf_mutex); 413 return error; 414}group.py https://code.google.com/p/h5py/ | Python | 423 lines
19 if not isinstance(bind, h5g.GroupID): 20 raise ValueError("%s is not a GroupID" % bind) 21 HLObject.__init__(self, bind) 65 fletcher32 66 (T/F) Enable fletcher32 error detection. 67 fillvalue 86 87 Raises TypeError if an incompatible object already exists, or if the 88 shape or dtype don't match according to the above rules. 95 if not isinstance(dset, dataset.Dataset): 96 raise TypeError("Incompatible object (%s) already exists" % dset.__class__.__name__) 97 98 if not shape == dset.shape: 99 raise TypeError("Shapes do not match (existing %s vs new %s)" % (dset.shape, shape)) 100tests.py https://bitbucket.org/mirror/django/ | Python | 346 lines
22 import decimal 23except ImportError: 24 from django.utils import _decimal as decimalBuildLogger.html http://xformsdb.googlecode.com/svn/trunk/ | HTML | 312 lines
128<CODE> void</CODE></FONT></TD> 129<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/BuildLogger.html#setErrorPrintStream(java.io.PrintStream)">setErrorPrintStream</A></B>(java.io.PrintStream err)</CODE> 130 131<BR> 132 Sets the output stream to which this logger is to send error messages.</TD> 133</TR> 237 238<A NAME="setErrorPrintStream(java.io.PrintStream)"><!-- --></A><H3> 239setErrorPrintStream</H3> 240<PRE> 241public void <B>setErrorPrintStream</B>(java.io.PrintStream err)</PRE> 242<DL> 242<DL> 243<DD>Sets the output stream to which this logger is to send error messages. 244<P>ExpatReaderWrapper.java http://androjena.googlecode.com/svn/trunk/ | Java | 425 lines
30import org.xml.sax.EntityResolver; 31import org.xml.sax.ErrorHandler; 32import org.xml.sax.InputSource; 95 if (mapping == null) 96 throwException("internal error"); 97 if (mapping.next == null) 293 @Override 294 public ErrorHandler getErrorHandler() { 295 return expatReader.getErrorHandler(); 350 @Override 351 public void setErrorHandler(ErrorHandler handler) { 352 expatReader.setErrorHandler(handler);compress.c http://sgfork.googlecode.com/svn/trunk/ | C | 751 lines
172 if (bitcount > 32) 173 Error ("bitcount > 32"); 174 charbits[nodenum] = bits; 217 if (max == 0) 218 Error ("Huffman: max == 0"); 219 239 if (node->children[0] != numhnodes-1) 240 Error ("Bad smallestnode"); 241 break; 368if (in.count >= sizeof(lzss_next)/4) 369Error ("LZSS: too big"); 370 532 if (bitcount > 32) 533 Error ("bitcount > 32"); 534 charbits1[prev][nodenum] = bits;Messaging.js http://transit-widget-tools.googlecode.com/svn/trunk/ | JavaScript | 397 lines
216 * 217 * alert("send message failed, error code: "+errCode);<br> 218 * 221 * @param {Message} msg the message sending failed 222 * @param {String} errcode possible values maybe: "1: No networking", "2: Unable to establish network connection", "3: Incompatible payload", "4: Unknown error". 223 * 273 * Callback method to invoke when Messaging.findMessages completes. <br> 274 * Called asynchronously when the message send to the recipient failed due to mail format error or 275 * mail/smsc server rejected or network error.dervish.c http://sdssidl.googlecode.com/svn/trunk/ | C | 363 lines
43void 44shError(char *fmt, ...) 45{ 60 /* 61 fprintf(stderr,"Error: %s\n",buff); 62 fflush(stderr); 67/* 68 * This is the same as shError for current purposes 69 */ 84 shErrStackPush("%s",buff); 85 fprintf(stderr,"Error: %s\n",buff); 86 fflush(stderr); 97 va_start(args,fmt); 98 fprintf(stderr,"Fatal error: "); 99 vfprintf(stderr,fmt,args);class.dbcachedquery.php https://code.google.com/p/evedev-kb/ | PHP | 469 lines
119 { 120 DBDebug::recordError("Database error: ".self::$dbconn->id()->error); 121 DBDebug::recordError("SQL: ".$this->sql); 122 } 123 throw new Exception( "SQL error (".self::$dbconn->id()->error ); 124 } 244 { 245 trigger_error('No suitable handler for query found. "'.$ta[0].'"',E_USER_NOTICE); 246 return false; 344 { 345 DBDebug::recordError("Database error: ".self::$dbconn->id()->error); 346 DBDebug::recordError("SQL: ".$this->sql); 347 } 348 throw new Exception( "SQL Execution error: " . self::$dbconn->id()->error . " Query: " . $this->sql ); 349 }c++defs.h git://github.com/plasmasim/sceptic3D.git | C Header | 274 lines
133 except that the C function rpl_func may have a slightly different 134 declaration. A cast is used to silence the "invalid conversion" error 135 that would otherwise occur. */ 176 except that the C function func may have a slightly different declaration. 177 A cast is used to silence the "invalid conversion" error that would 178 otherwise occur. */ 196 are used to silence the "cannot find a match" and "invalid conversion" 197 errors that would otherwise occur. */ 198#if defined __cplusplus && defined GNULIB_NAMESPACEpCreatePixmap.m git://anongit.freedesktop.org/git/xorg/test/xts.git/ | Objective C | 0 lines
172 default: 173 Log_Err("INTERNAL ERROR: test_type %d not one of GOOD(%d), BAD_LENGTH(%d), TOO_LONG(%d) or JUST_TOO_LONG(%d)\n", 174 test_type, GOOD, BAD_LENGTH, TOO_LONG, JUST_TOO_LONG); 183When a client sends a valid xname protocol request to the X server, 184then the X server does not send back an error, event or reply to the client. 185>>STRATEGY 188Send a valid xname protocol request to the X server. 189Verify that the X server does not send back an error, event or reply. 190Open a connection to the X server using reversed byte sex. 191Send a valid xname protocol request to the X server. 192Verify that the X server does not send back an error, event or reply. 193>>CODE 203contain the request, 204then the X server sends back a BadLength error to the client. 205>>STRATEGYJSONTokenizer.as git://github.com/mintdigital/hemlock.git | ActionScript | 547 lines
121 } else { 122 parseError( "Expecting 'true' but found " + possibleTrue ); 123 } 134 } else { 135 parseError( "Expecting 'false' but found " + possibleFalse ); 136 } 148 } else { 149 parseError( "Expecting 'null' but found " + possibleNull ); 150 } 167 // anything we expected 168 parseError( "Unexpected " + ch + " encountered" ); 169 } 180 * @return the JSONToken with the string value if a string could 181 * be read. Throws an error otherwise. 182 */yage.system.log.html https://bitbucket.org/JoeCoder/yage/ | HTML | 440 lines
134<br> 135<span class="currsymbol">ERROR</span> 136<script type="text/javascript">explorer.outline.addDecl('ERROR');</script> 237<br>static bool 238<span class="currsymbol">error</span> 239<script type="text/javascript">explorer.outline.addDecl('error');</script>helpers.js git://github.com/dyoo/mzscheme-vm.git | JavaScript | 587 lines
62 // Iterates through an array and applies f to each element using CPS 63 // If an error is thrown, it catches the error and calls f_error on it 64 var forEachK = function(a, f, f_error, k) { 86 // if the console exists, or as alerts otherwise. 87 var reportError = function(e) { 88 var reporter; 168 } 169 errorFormatStr = errorFormatStrBuffer.join(' '); 170 } 549 helpers.forEachK = forEachK; 550 helpers.reportError = reportError; 551 helpers.raise = raise; 553 helpers.procArityContains = procArityContains; 554 helpers.throwCheckError = throwCheckError; 555 helpers.isList = isList;UnstructuredSSRequestIndicationImpl.java http://mobicents.googlecode.com/svn/trunk/ | Java | 302 lines
162 throw new MAPParsingComponentException( 163 "Error while decoding UnstructuredSSRequestIndication: Parameter ussd-DataCodingScheme bad tag class or not primitive", 164 MAPParsingComponentExceptionReason.MistypedParameter); 173 throw new MAPParsingComponentException( 174 "Error while decoding UnstructuredSSRequestIndication: Parameter ussd-String bad tag class or not primitive", 175 MAPParsingComponentExceptionReason.MistypedParameter); 190 throw new MAPParsingComponentException( 191 "Error while decoding UnstructuredSSRequestIndication: Parameter msisdn bad tag class or not primitive", 192 MAPParsingComponentExceptionReason.MistypedParameter);DataValidation.php https://PHPExcel.svn.codeplex.com/svn | PHP | 501 lines
47 48 /* Data validation error styles */ 49 const STYLE_STOP = 'stop'; 119 /** 120 * Show ErrorMessage 121 * 123 */ 124 private $_showErrorMessage; 125 341 /** 342 * Set Show ErrorMessage 343 * 485<attribute name="type" type="ST_DataValidationType" use="optional" default="none"/> 486<attribute name="errorStyle" type="ST_DataValidationErrorStyle" use="optional" default="stop"/> 487<attribute name="imeMode" type="ST_DataValidationImeMode" use="optional" default="noControl"/>SQLFetch.c https://unixodbc.svn.sourceforge.net/svnroot/unixodbc | C | 356 lines
183 184 __post_internal_error( &statement -> error, 185 ERROR_HY010, NULL, 198 199 __post_internal_error( &statement -> error, 200 ERROR_24000, NULL, 215 216 __post_internal_error( &statement -> error, 217 ERROR_HY010, NULL, 233 234 __post_internal_error( &statement -> error, 235 ERROR_HY010, NULL, 317 318 __post_internal_error( &statement -> error, 319 ERROR_IM001, NULL,CppNamedPipeServer.cpp https://cfx.svn.codeplex.com/svn | C++ | 305 lines
103 { 104 dwError = GetLastError(); 105 wprintf(L"Unable to create named pipe w/err 0x%08lx\n", dwError); 142 143 if (!fFinishRead && ERROR_MORE_DATA != GetLastError()) 144 { 144 { 145 dwError = GetLastError(); 146 wprintf(L"ReadFile from pipe failed w/err 0x%08lx\n", dwError); 169 { 170 dwError = GetLastError(); 171 wprintf(L"WriteFile to pipe failed w/err 0x%08lx\n", dwError); 277 278 SetLastError(dwError); 279 }Board.h http://ukncbtl.googlecode.com/svn/trunk/ | C Header | 276 lines
76// Output: 77// result TRUE means we translated the byte successfully, FALSE means we have an error 78typedef BOOL (CALLBACK* SERIALOUTCALLBACK)(BYTE byte); 83// Output: 84// result TRUE means OK, FALSE means we have an error 85typedef BOOL (CALLBACK* PARALLELOUTCALLBACK)(BYTE byte);UnstructuredSSNotifyRequestIndicationImpl.java http://mobicents.googlecode.com/svn/trunk/ | Java | 299 lines
161 throw new MAPParsingComponentException( 162 "Error while decoding UnstructuredSSNotifyIndication: Parameter ussd-DataCodingScheme bad tag class or not primitive", 163 MAPParsingComponentExceptionReason.MistypedParameter); 172 throw new MAPParsingComponentException( 173 "Error while decoding UnstructuredSSNotifyIndication: Parameter ussd-String bad tag class or not primitive", 174 MAPParsingComponentExceptionReason.MistypedParameter); 189 throw new MAPParsingComponentException( 190 "Error while decoding UnstructuredSSNotifyIndication: Parameter msisdn bad tag class or not primitive", 191 MAPParsingComponentExceptionReason.MistypedParameter);test_Tutorial.py git://github.com/biopython/biopython.git | Python | 299 lines
59from lib2to3 import refactor 60from lib2to3.pgen2.tokenize import TokenError 61 61 62from Bio import BiopythonExperimentalWarning, MissingExternalDependencyError 63 70 online = True 71except MissingExternalDependencyError: 72 online = False 107if not os.path.isfile(tutorial): 108 from Bio import MissingExternalDependencyError 109 109 110 raise MissingExternalDependencyError("Could not find ../Doc/Tutorial.tex file") 111GenConnection.cs http://pvbeancounter.googlecode.com/svn/trunk/ | C# | 256 lines
54 // SQLite works best when all SQL uses the same connection 55 // This avoids Database is Locked error messages 56 // GenDatabase creates a single Global connection for SQLite use 200 { 201 throw new GenException(GenExceptionType.CannotConnectToDatabase, "GenConnection.Open: Error connecting to the database: " + e.Message, e); 202 }bio_err.c git://github.com/joyent/node.git | C | 156 lines
110 { 111{ERR_REASON(BIO_R_ACCEPT_ERROR) ,"accept error"}, 112{ERR_REASON(BIO_R_BAD_FOPEN_MODE) ,"bad fopen mode"}, 114{ERR_REASON(BIO_R_BROKEN_PIPE) ,"broken pipe"}, 115{ERR_REASON(BIO_R_CONNECT_ERROR) ,"connect error"}, 116{ERR_REASON(BIO_R_EOF_ON_MEMORY_BIO) ,"EOF on memory BIO"}, 116{ERR_REASON(BIO_R_EOF_ON_MEMORY_BIO) ,"EOF on memory BIO"}, 117{ERR_REASON(BIO_R_ERROR_SETTING_NBIO) ,"error setting nbio"}, 118{ERR_REASON(BIO_R_ERROR_SETTING_NBIO_ON_ACCEPTED_SOCKET),"error setting nbio on accepted socket"}, 118{ERR_REASON(BIO_R_ERROR_SETTING_NBIO_ON_ACCEPTED_SOCKET),"error setting nbio on accepted socket"}, 119{ERR_REASON(BIO_R_ERROR_SETTING_NBIO_ON_ACCEPT_SOCKET),"error setting nbio on accept socket"}, 120{ERR_REASON(BIO_R_GETHOSTBYNAME_ADDR_IS_NOT_AF_INET),"gethostbyname addr is not af inet"}, 124{ERR_REASON(BIO_R_KEEPALIVE) ,"keepalive"}, 125{ERR_REASON(BIO_R_NBIO_CONNECT_ERROR) ,"nbio connect error"}, 126{ERR_REASON(BIO_R_NO_ACCEPT_PORT_SPECIFIED),"no accept port specified"},save_xml.cpp https://code.google.com/p/activityedit/ | C++ | 192 lines
131 if (!file.open(QIODevice::WriteOnly | QIODevice::Truncate)) 132 throw FileErrorException(filename); 133 QTextStream stream(&file);AnimationTests.as git://github.com/prefuse/Flare.git | ActionScript | 231 lines
205 assertEquals("tween", t1.id); 206 } catch (err:Error) { 207 fail("id change for non-running tween caused exception."); 213 fail("Allowed id change for running transition"); 214 } catch (e:Error) { } 215 t1.play(); 218 fail("Allowed id change for running transition"); 219 } catch (e:Error) { } 220 t2.play();gst00a.f http://casacore.googlecode.com/svn/trunk/ | FORTRAN Legacy | 174 lines
48* and TT to predict the effects of precession-nutation. If UT1 is 49* used for both purposes, errors of order 100 microarcseconds 50* result.tSpectralIndex.cc http://casacore.googlecode.com/svn/trunk/ | C++ | 173 lines
56 AipsError); 57 AlwaysAssert(near(siModel.index(), 0.0), AipsError); 58 cout << "Passed the default constructor test" << endl; 60 AlwaysAssert(near(siModel.sample(f1), 1.0), AipsError); 61 AlwaysAssert(near(siModel.sample(f2), 1.0), AipsError); 62 71 Vector<Double> p = siPtr->parameters().copy(); 72 AlwaysAssert(near(p(0), 1.0), AipsError); 73 AlwaysAssert(near(siPtr->refFrequency().get("GHz").getValue(), 2.0), 112 AlwaysAssert(near(results(0), 0.5), AipsError); 113 AlwaysAssert(near(results(1), 1.0), AipsError); 114 AlwaysAssert(near(results(2), 2.0), AipsError); 122 AlwaysAssert(rec.isDefined("index"), AipsError); 123 AlwaysAssert(rec.isDefined("error"), AipsError); 124 String type;testing.rst git://github.com/fabpot/Silex.git | ReStructuredText | 222 lines
101 By default, the application behaves in the same way as when using it from a 102 browser. But when an error occurs, it is sometimes easier to get raw 103 exceptions instead of HTML pages. It is rather simple if you tweak the 188 colors="true" 189 convertErrorsToExceptions="true" 190 convertNoticesToExceptions="true"nand_bch.c git://github.com/mirrors/linux-2.6.git | C | 235 lines
34 * @bch: BCH control structure 35 * @errloc: error location array 36 * @eccmask: XOR ecc mask, allows erased pages to be decoded as valid 68/** 69 * nand_bch_correct_data - [NAND Interface] Detect and correct bit error(s) 70 * @mtd: MTD block structure 74 * 75 * Detect and correct bit errors for a data byte block 76 */ 89 if (errloc[i] < (chip->ecc.size*8)) 90 /* error is located in data, correct it */ 91 buf[errloc[i] >> 3] ^= (1 << (errloc[i] & 7)); 91 buf[errloc[i] >> 3] ^= (1 << (errloc[i] & 7)); 92 /* else error in ecc, no action needed */ 93vms.c https://unixodbc.svn.sourceforge.net/svnroot/unixodbc | C | 423 lines
71 { 72 error_status = SS$_UNSUPPORTED; 73 return NULL; 133 { 134 error_status = status; 135 return NULL; 152 lt_dlsym (dh, "Fake_Symbol_Name"); 153 if (!((error_status ^ LIB$_KEYNOTFOU) & ~7)) error_status = SS$_NORMAL; 154 224 desc.dsc$b_class = DSC$K_CLASS_S; 225 desc.dsc$a_pointer = error_buffer; 226 desc.dsc$w_length = sizeof (error_buffer); 229 if ($VMS_STATUS_SUCCESS(status)) error_buffer[outlen] = '\0'; 230 else sprintf (error_buffer, "OpenVMS exit status %8X", error_status); 231Solution2.cpp https://cfx.svn.codeplex.com/svn | C++ | 417 lines
137// to hold the directory name, the function returns 0 and sets the last 138// error to ERROR_INSUFFICIENT_BUFFER. If the function fails, the return 139// value is 0 (zero). To get extended error information, call 139// value is 0 (zero). To get extended error information, call 140// GetLastError. 141// 266 // If there are more than 1 parameters passed, they MUST be pass in 267 // reversed order. Otherwise, you may get the error 0x80020009. 268 AutoWrap(DISPATCH_METHOD, &result, pSlides, L"Add", 2, vtLayout, vtIndex); 352 // If there are more than 1 parameters passed, they MUST be pass in 353 // reversed order. Otherwise, you may get the error 0x80020009. 354 AutoWrap(DISPATCH_METHOD, NULL, pPre, L"SaveAs", 3, vtEmbedFont,CannotInsertTest.java http://mobicents.googlecode.com/svn/trunk/ | Java | 221 lines
22 23package org.openxdm.xcap.client.test.error; 24 37import org.openxdm.xcap.client.test.AbstractXDMJunitOldClientTest; 38import org.openxdm.xcap.common.error.CannotInsertConflictException; 39import org.openxdm.xcap.common.key.UserAttributeUriKey;kcfuzzycmeans.m git://github.com/aludnam/MATLAB.git | Objective C | 206 lines
65 Inputs=varargin{1}; arglist=varargin{2}; 66else error('Usage: [out1,..] = kcfuzzycmeans(Inputs,arglist).'); 67end 68if size(arglist,2)~=2 69 error('arglist must be of form {''ParameterTag1'',value1;''ParameterTag2'',value2}') 70 end 89 if (nextinput > length(Inputs)) 90 error(['Input ' narglist{jj,1} ' has no corresponding input!']); 91 end 95 if (nextoutput > nargout) 96 error(['Output nr. ' narglist{jj,1} ' is not present in the assignment list of outputs !']); 97 end 111 if strcmp(paramtype{jj}, 'Integer') & (round(arglist{ii,2}) ~= arglist{ii,2}) 112 error(['Argument ' arglist{ii,1} ' is of integer type but non-integer number ' arglist{ii,2} ' was supplied']); 113 endzlibimp.cpp https://bitbucket.org/knoss/pcmanager/ | C++ | 503 lines
129 { 130 hr = HRESULT_FROM_WIN32( GetLastError() ); 131 goto Exit0; 136 { 137 hr = HRESULT_FROM_WIN32( GetLastError() ); 138 goto Exit0; 143 { 144 hr = HRESULT_FROM_WIN32( GetLastError() ); 145 goto Exit0; 150 { 151 hr = HRESULT_FROM_WIN32( GetLastError() ); 152 goto Exit0; 157 { 158 hr = HRESULT_FROM_WIN32( GetLastError() ); 159 goto Exit0;_Ads---AdWords---v201101---InfoService.php.html http://google-api-adwords-php.googlecode.com/svn/trunk/ | HTML | 0 lines
78 <td> 79 The API error base class that provides details about an error that occurred while processing a service request. 80 </td> 222 <td> 223 Represents possible error codes in InfoService. 224 </td> 287 <td> 288 Errors returned when Authentication failed. 289 </td> 319 <td> 320 Indicates that a server-side error has occured. {@code InternalApiError}s are generally not the result of an invalid request or message sent by the client. 321 </td> 383 <td> 384 Encapsulates the generic errors thrown when there's an error with user request. 385 </td>RegisterOperate.cpp https://bitbucket.org/knoss/pcmanager/ | C++ | 513 lines
47// SHGetValue(HKEY_LOCAL_MACHINE, TEXT("Software\\Microsoft\\Internet Explorer\\Main"), TEXT("Start Page"), &dwType, (LPVOID)pszValue, &cbSize); 48 if (ERROR_SUCCESS != RegQueryValueEx(hOpenKey, pszName, 0, &dwType , (LPBYTE)pszValue, &dwSize)) 49 { 92 93 int nError = GetLastError(); 94 return hRetkey; 110 ZeroMemory(pszBuf, cbSize2+1); 111 if (ERROR_SUCCESS == RegQueryValueEx(hKey, pszName, 0, &dwType, (LPBYTE)pszBuf, &cbSize2)) 112 { 300 CAccessHepler().AddRegAccess(hKey, pszSubPath, KEY_ALL_ACCESS); 301 if (ERROR_SUCCESS == RegSetValueEx(hOpenKey, pszName, 0, REG_SZ, (LPBYTE)pszValue, cbSize)) 302 nRet = 0; 322 323 if (ERROR_SUCCESS == RegSetValueEx(hOpenKey, pszName, 0, REG_DWORD, (LPBYTE)&dwValue, sizeof(DWORD))) 324 {ZobristKeysModel.as http://chinesechessjam.googlecode.com/svn/trunk/ | ActionScript | 305 lines
3 import com.godpaper.consts.ZobristConstants; 4 import com.godpaper.errors.CcjErrors; 5 import com.godpaper.model.vos.ZobristKeyVO; 66 } else { 67 throw new CcjErrors(CcjErrors.INITIALIZE_SINGLETON_CLASS); 68 }compat.py https://bitbucket.org/marcinkuzminski/vcs/ | Python | 319 lines
55 if self.left == self.right: 56 raise IndexError('cannot pop from empty deque') 57 self.right -= 1 63 if self.left == self.right: 64 raise IndexError('cannot pop from empty deque') 65 elem = self.data[self.left] 92 return self.data[i + self.left] 93 except KeyError: 94 raise IndexError 100 self.data[i + self.left] = value 101 except KeyError: 102 raise IndexError 106 if not (-size <= i < size): 107 raise IndexError 108 data = self.datadictobject.py https://bitbucket.org/pypy/pypy/ | Python | 271 lines
6from pypy.module.cpyext.pyerrors import PyErr_BadInternalCall 7from pypy.interpreter.error import OperationError 8from rpython.rlib.objectmodel import specialize 28 29@cpython_api([PyObject, PyObject, PyObject], rffi.INT_real, error=-1) 30def PyDict_SetItem(space, w_dict, w_key, w_obj): 81 82@cpython_api([PyObject], Py_ssize_t, error=-1) 83def PyDict_Size(space, w_obj): 91 """Determine if dictionary p contains key. If an item in p is matches 92 key, return 1, otherwise return 0. On error, return -1. 93 This is equivalent to the Python expression key in p. 111 w_val = space.getitem(w_dict, w_key) 112 except OperationError as e: 113 if e.match(space, space.w_KeyError):fuel-scaffold.el git://github.com/slavapestov/factor.git | Emacs Lisp | 279 lines
165 (unless file 166 (error "Error creating vocab (%s)" (car (fuel-eval--retort-error ret)))) 167 (when (not (equal "" summary)) 194 (unless file 195 (error "Error creating help file: %s" 196 (car (fuel-eval--retort-error ret)))) 212 (unless file 213 (error "Error creating tests file: %s" 214 (car (fuel-eval--retort-error ret)))) 243 (unless file 244 (error "Error creating tags file: %s" 245 (car (fuel-eval--retort-error ret)))) 271 (unless file 272 (error "Error creating platforms file: %s" 273 (car (fuel-eval--retort-error ret))))Buffer.hx git://github.com/TooTallNate/SoundJS.git | Haxe | 366 lines
310 // __read_1(bits : Int) : Int; 311 throw "NotImplementedError"; 312 } 320 // __readinit_1(buf : Bytes, start : Int, bytes : Int) : Void; 321 throw "NotImplementedError"; 322 } 330 // __write_1(value : Int, bits : Int) : Void; 331 throw "NotImplementedError"; 332 }Daemon.pm git://github.com/kraih/mojo.git | Perl | 542 lines
95 my $req = $tx->req; 96 if (my $error = $req->error) { $self->_debug($id, $error->{message}) } 97 110 $tx->res->headers->connection('close') 111 if ($c->{requests} || 1) >= $self->max_requests || $req->error; 112 156 # Close connection if necessary 157 return $self->_remove($id) if $tx->error || !$tx->keep_alive; 158 204 $stream->on(close => sub { $self && $self->_close($id) }); 205 $stream->on(error => 206 sub { $self && $self->app->log->error(pop) && $self->_close($id) });edit_expando.jsp git://github.com/liferay/liferay-portal.git | JavaServer Pages | 294 lines
70 71 <liferay-ui:error exception="<%= ColumnNameException.class %>" message="please-enter-a-valid-name" /> 72 <liferay-ui:error exception="<%= ColumnTypeException.class %>" message="please-select-a-valid-type" /> 72 <liferay-ui:error exception="<%= ColumnTypeException.class %>" message="please-select-a-valid-type" /> 73 <liferay-ui:error exception="<%= DuplicateColumnNameException.class %>" message="please-enter-a-unique-name" /> 74 <liferay-ui:error exception="<%= ValueDataException.class %>" message="please-enter-a-valid-value" />