100+ results results for 'ERROR repo:cm3066/rk3066-kernel' (317 ms)
99 } catch (Exception e) { 100 log.error(e); 101 }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 }WebsiteServiceHttp.java git://github.com/liferay/liferay-portal.git | Java | 273 lines
90 91 _log.error(systemException, systemException); 92 126 127 _log.error(systemException, systemException); 128 166 167 _log.error(systemException, systemException); 168 208 209 _log.error(systemException, systemException); 210 249 250 _log.error(systemException, systemException); 251gib_buffer.c https://quake.svn.sourceforge.net/svnroot/quake | C | 339 lines
170 "-----------------\n" 171 "|GIB Parse Error|\n" 172 "-----------------\n" 172 "-----------------\n" 173 "Parse error while adding text to GIB buffer.\n" 174 "Line %u: %s\n", 174 "Line %u: %s\n", 175 GIB_Buffer_Get_Line_Num (str, GIB_Parse_ErrorPos ()), 176 GIB_Parse_ErrorMsg () 202 "-----------------\n" 203 "|GIB Parse Error|\n" 204 "-----------------\n" 204 "-----------------\n" 205 "Parse error while inserting text into GIB buffer.\n" 206 "Line %u: %s\n",ForgotPasswordAction.java git://github.com/liferay/liferay-portal.git | Java | 280 lines
26import com.liferay.portal.kernel.language.LanguageUtil; 27import com.liferay.portal.kernel.servlet.SessionErrors; 28import com.liferay.portal.kernel.util.ParamUtil; 92 93 SessionErrors.add(actionRequest, e.getClass()); 94 } 95 else { 96 PortalUtil.sendError(e, actionRequest, actionResponse); 97 }snd_mem.c https://quake.svn.sourceforge.net/svnroot/quake | C | 382 lines
293 fill_buffer (sfx, stream, buffer, info, headpos); 294 return !stream->error; 295}Numbers.scala git://github.com/sjrd/ozma.git | Scala | 260 lines
82 83 def reverseBytes(i: scala.Short): scala.Short = sys.error("unimplemented") 84} 98 99 @native override def toString: String = sys.error("stub") 100} 108 109 @native def parseInt(s: String): scala.Int = sys.error("stub") 110 110 111 def parseInt(s: String, radix: scala.Int): scala.Int = sys.error("unimplemented") 112 114 115 def bitCount(i: scala.Int): scala.Int = sys.error("unimplemented") 116 def reverseBytes(i: scala.Int): scala.Int = sys.error("unimplemented")ConfigurationActionImpl.java git://github.com/liferay/liferay-portal.git | Java | 229 lines
18import com.liferay.portal.kernel.portlet.LiferayPortletConfig; 19import com.liferay.portal.kernel.servlet.SessionErrors; 20import com.liferay.portal.kernel.servlet.SessionMessages; 80 81 if (SessionErrors.isEmpty(actionRequest)) { 82 preferences.store(); 109 if (Validator.isNull(emailFromName)) { 110 SessionErrors.add(actionRequest, "emailFromName"); 111 } 112 else if (!Validator.isEmailAddress(emailFromAddress)) { 113 SessionErrors.add(actionRequest, "emailFromAddress"); 114 } 132 if (Validator.isNull(emailOrderConfirmationSubject)) { 133 SessionErrors.add(actionRequest, "emailOrderConfirmationSubject"); 134 }ErrorData.html http://xformsdb.googlecode.com/svn/trunk/ | HTML | 342 lines
96<P> 97Contains information about an error, for error pages. 98 The information contained in this instance is meaningless if not used 98 The information contained in this instance is meaningless if not used 99 in the context of an error page. To indicate a JSP is an error page, 100 the page author must set the isErrorPage attribute of the page directive 107 <DD>2.0</DD> 108<DT><B>See Also:</B><DD><A HREF="../../../javax/servlet/jsp/PageContext.html#getErrorData()"><CODE>PageContext.getErrorData()</CODE></A></DL> 109<HR> 126<TR BGCOLOR="white" CLASS="TableRowColor"> 127<TD><CODE><B><A HREF="../../../javax/servlet/jsp/ErrorData.html#ErrorData(java.lang.Throwable, int, java.lang.String, java.lang.String)">ErrorData</A></B>(java.lang.Throwable throwable, 128 int statusCode, 212<P> 213<DT><B>Parameters:</B><DD><CODE>throwable</CODE> - The Throwable that is the cause of the error<DD><CODE>statusCode</CODE> - The status code of the error<DD><CODE>uri</CODE> - The request URI<DD><CODE>servletName</CODE> - The name of the servlet invoked</DL> 214map.c https://quake.svn.sourceforge.net/svnroot/quake | C | 682 lines
198 if (!*script_p) 199 map_error ("EOF inside quoted token"); 200 if (*script_p == '\n') 278 if (token.str[0] != ':') 279 map_error ("parsing brush"); 280 *n_verts = atoi (token.str + 1); 353 if (strcmp (token.str, ")")) 354 map_error ("parsing brush"); 355 } 415 else 416 map_error ("parse error"); 417 } 567 if (!file) 568 Sys_Error ("couldn't open %s. %s", filename, strerror(errno)); 569 bytes = Qfilesize (file);BuildLogger.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>edit_public_render_parameters.jsp git://github.com/liferay/liferay-portal.git | JavaServer Pages | 120 lines
37 38<liferay-ui:error key="duplicateMapping" message="several-shared-parameters-are-mapped-to-the-same-parameter" /> 39ProjectSelector.js http://linb.googlecode.com/svn/trunk/ | JavaScript | 140 lines
23 var obj = typeof txt=='string'?_.unserialize(txt):txt; 24 if(!obj || obj.error) 25 linb.message(_.get(obj,['error','message'])||'on response!'); 120 var obj = typeof txt=='string'?_.unserialize(txt):txt; 121 if(!obj || obj.error) 122 linb.message(_.get(obj,['error','message'])||'on response!');conditions.html http://xformsdb.googlecode.com/svn/trunk/ | HTML | 389 lines
167<p>The <code>http</code> condition checks for a valid response from a 168web server of the specified url. By default, HTTP responses errors 169of 400 or greater are viewed as invalid.</p> 178 <td valign="top">The full URL of the page to request. The web server must 179 return a status code below the value of <tt>errorsBeginAt</tt></td> 180 <td align="center">Yes.</td> 182 <tr> 183 <td valign="top">errorsBeginAt</td> 184 <td valign="top">The lowest HTTP response code that signals an error; 184 <td valign="top">The lowest HTTP response code that signals an error; 185 by default '400'; server errors, not-authorized, not-found and the like 186 are detected</td>PollsQuestionServiceHttp.java git://github.com/liferay/liferay-portal.git | Java | 235 lines
95 catch (com.liferay.portal.kernel.exception.SystemException se) { 96 _log.error(se, se); 97 128 catch (com.liferay.portal.kernel.exception.SystemException se) { 129 _log.error(se, se); 130 165 catch (com.liferay.portal.kernel.exception.SystemException se) { 166 _log.error(se, se); 167 210 catch (com.liferay.portal.kernel.exception.SystemException se) { 211 _log.error(se, se); 212PluginPackageHotDeployListener.java git://github.com/liferay/liferay-portal.git | Java | 254 lines
59 throwHotDeployException( 60 hotDeployEvent, "Error registering plugins for ", t); 61 } 72 throwHotDeployException( 73 hotDeployEvent, "Error unregistering plugins for ", t); 74 }map.c https://quake.svn.sourceforge.net/svnroot/quake | C | 591 lines
253 if (strcmp (map_script->token->str, "(")) 254 map_error ("parsing brush"); 255 262 if (strcmp (map_script->token->str, ")")) 263 map_error ("parsing brush"); 264 } 293 if (strcmp (map_script->token->str, "[")) 294 map_error ("missing ["); 295 // T vector 324 else 325 map_error ("parse error"); 326 } 476 if (!file) 477 Sys_Error ("couldn't open %s. %s", filename, strerror(errno)); 478 bytes = Qfilesize (file);LinkbackProducerUtil.java git://github.com/liferay/liferay-portal.git | Java | 260 lines
134 135 String error = xml; 136 150 151 if (name.equals("error")) { 152 int status = GetterUtil.getInteger( 167 if (name.equals("message")) { 168 error = xmlStreamReader.getElementText(); 169 } 182 _log.error( 183 "Error while pinging trackback at " + trackback + ": " + error); 184 214 catch (Exception e) { 215 _log.error("Unable to call HEAD of " + targetUri, e); 216 }edit_entry.jsp git://github.com/liferay/liferay-portal.git | JavaServer Pages | 183 lines
53 54 <liferay-ui:error exception="<%= EntryURLException.class %>" message="please-enter-a-valid-url" /> 55 <liferay-ui:error exception="<%= NoSuchFolderException.class %>" message="please-enter-a-valid-folder" /> 56 57 <liferay-ui:asset-categories-error /> 58 58 59 <liferay-ui:asset-tags-error /> 60EditFileShortcutAction.java git://github.com/liferay/liferay-portal.git | Java | 221 lines
17import com.liferay.portal.kernel.portlet.LiferayPortletConfig; 18import com.liferay.portal.kernel.servlet.SessionErrors; 19import com.liferay.portal.kernel.servlet.SessionMessages; 84 85 SessionErrors.add(actionRequest, e.getClass()); 86 86 87 setForward(actionRequest, "portlet.document_library.error"); 88 } 91 92 SessionErrors.add(actionRequest, e.getClass()); 93 } 112 113 SessionErrors.add(renderRequest, e.getClass()); 114AddFile.js http://linb.googlecode.com/svn/trunk/ | JavaScript | 268 lines
32 var obj = txt; 33 if(!obj || obj.error) 34 linb.message(_.get(obj,['error','message'])||'on response!'); 260 var obj = txt; 261 if(obj && !obj.error){ 262 var root = ns.properties.parent.buildFileItems(item.id, obj.data); 263 callback(root.sub); 264 }else linb.message(obj.error.message); 265 });RendererImpl.java git://github.com/liferay/liferay-portal.git | Java | 425 lines
172 catch (Exception e) { 173 _log.error(e, e); 174move_thread.jsp git://github.com/liferay/liferay-portal.git | JavaServer Pages | 142 lines
50 51 <liferay-ui:error exception="<%= MessageBodyException.class %>" message="please-enter-a-valid-message" /> 52 <liferay-ui:error exception="<%= MessageSubjectException.class %>" message="please-enter-a-valid-subject" /> 52 <liferay-ui:error exception="<%= MessageSubjectException.class %>" message="please-enter-a-valid-subject" /> 53 <liferay-ui:error exception="<%= NoSuchCategoryException.class %>" message="please-enter-a-valid-category" /> 54ContentTransformerListener.java git://github.com/liferay/liferay-portal.git | Java | 222 lines
91 catch (Exception e) { 92 _log.error(e, e); 93 }MDRActionServiceHttp.java git://github.com/liferay/liferay-portal.git | Java | 362 lines
92 catch (com.liferay.portal.kernel.exception.SystemException se) { 93 _log.error(se, se); 94 135 catch (com.liferay.portal.kernel.exception.SystemException se) { 136 _log.error(se, se); 137 166 catch (com.liferay.portal.kernel.exception.SystemException se) { 167 _log.error(se, se); 168 202 catch (com.liferay.portal.kernel.exception.SystemException se) { 203 _log.error(se, se); 204 238 catch (com.liferay.portal.kernel.exception.SystemException se) { 239 _log.error(se, se); 240gib_parse.c https://quake.svn.sourceforge.net/svnroot/quake | C | 520 lines
245 if ((c = GIB_Parse_Match_Dquote (dstr->str, &i))) 246 goto PARSE_ERROR; 247 } else if (dstr->str[i] == '`') { 269 270PARSE_ERROR: // Extract out the line where the parse error occurred 271 307 Cbuf_Error ("parse", "Could not find matching %c", c); 308 return 0; // Parse error 309 } else { 314 if ((c = GIB_Parse_Match_Paren (str, i))) { 315 Cbuf_Error ("parse", "Could not find matching %c", c); 316 return 0; // Parse error 449 if (GIB_Process_Token (arg, delim)) 450 goto FILTER_ERROR; // Error or GIB subroutine needs to be called 451checkout_first.jsp git://github.com/liferay/liferay-portal.git | JavaServer Pages | 371 lines
75 <liferay-ui:panel collapsible="<%= true %>" extended="<%= true %>" id="shoppingCheckoutBillingAddressPanel" persistState="<%= true %>" title="billing-address"> 76 <liferay-ui:error exception="<%= BillingCityException.class %>" message="please-enter-a-valid-city" /> 77 <liferay-ui:error exception="<%= BillingCountryException.class %>" message="please-enter-a-valid-country" /> 77 <liferay-ui:error exception="<%= BillingCountryException.class %>" message="please-enter-a-valid-country" /> 78 <liferay-ui:error exception="<%= BillingEmailAddressException.class %>" message="please-enter-a-valid-email-address" /> 79 <liferay-ui:error exception="<%= BillingFirstNameException.class %>" message="please-enter-a-valid-first-name" /> 79 <liferay-ui:error exception="<%= BillingFirstNameException.class %>" message="please-enter-a-valid-first-name" /> 80 <liferay-ui:error exception="<%= BillingLastNameException.class %>" message="please-enter-a-valid-last-name" /> 81 <liferay-ui:error exception="<%= BillingPhoneException.class %>" message="please-enter-a-valid-phone" /> 81 <liferay-ui:error exception="<%= BillingPhoneException.class %>" message="please-enter-a-valid-phone" /> 82 <liferay-ui:error exception="<%= BillingStateException.class %>" message="please-enter-a-valid-state" /> 83 <liferay-ui:error exception="<%= BillingStreetException.class %>" message="please-enter-a-valid-street" /> 83 <liferay-ui:error exception="<%= BillingStreetException.class %>" message="please-enter-a-valid-street" /> 84 <liferay-ui:error exception="<%= BillingZipException.class %>" message="please-enter-a-valid-postal-code" /> 85snd_sgi.c https://quake.svn.sourceforge.net/svnroot/quake | C | 373 lines
78 Sys_Printf ("Could not make an new sound config: %s\n", 79 alGetErrorString (oserror ())); 80 return 0; 103 Sys_Printf ("Could not get supported wordsize of default " 104 "output: %s\n", alGetErrorString (oserror ())); 105 return 0; 183 Sys_Printf ("Could not set samplerate of default output to %d: %s\n", 184 sn.speed, alGetErrorString (oserror ())); 185 alFreeConfig (alc); 230 Sys_Printf ("Could not set wordsize of default output to %d: %s\n", 231 sn.samplebits, alGetErrorString (oserror ())); 232 free (write_buffer); 241 Sys_Printf ("Could not open sound port: %s\n", 242 alGetErrorString (oserror ())); 243 free (write_buffer);EditDiscussionAction.java git://github.com/liferay/liferay-portal.git | Java | 278 lines
19import com.liferay.portal.kernel.json.JSONObject; 20import com.liferay.portal.kernel.servlet.SessionErrors; 21import com.liferay.portal.kernel.util.Constants; 126 127 SessionErrors.add(renderRequest, e.getClass()); 128 128 129 return mapping.findForward("portlet.message_boards.error"); 130 }EditCompanyAction.java git://github.com/liferay/liferay-portal.git | Java | 288 lines
30import com.liferay.portal.WebsiteURLException; 31import com.liferay.portal.kernel.servlet.SessionErrors; 32import com.liferay.portal.kernel.util.Constants; 80 81 if (!SessionErrors.isEmpty(actionRequest)) { 82 setForward( 94 if (e instanceof PrincipalException) { 95 SessionErrors.add(actionRequest, e.getClass()); 96 96 97 setForward(actionRequest, "portlet.portal_settings.error"); 98 } 116 117 SessionErrors.add( 118 actionRequest,d_sprite.c https://quake.svn.sourceforge.net/svnroot/quake | C | 419 lines
125 else if (snext < 8) 126 snext = 8; // prevent round-off error on <0 127 // steps from 134 else if (tnext < 8) 135 tnext = 8; // guard against round-off error on 136 // <0 steps 153 else if (snext < 8) 154 snext = 8; // prevent round-off error on <0 steps 155 // from from causing overstepping & 161 else if (tnext < 8) 162 tnext = 8; // guard against round-off error on 163 // <0 stepsexport_import.jsp git://github.com/liferay/liferay-portal.git | JavaServer Pages | 248 lines
88 <liferay-ui:error exception="<%= LARTypeException.class %>" message="please-import-a-lar-file-of-the-correct-type" /> 89 <liferay-ui:error exception="<%= LayoutImportException.class %>" message="an-unexpected-error-occurred-while-importing-your-file" /> 90 93 <% 94 LocaleException le = (LocaleException)errorException; 95 %> 99 100 <liferay-ui:error exception="<%= NoSuchLayoutException.class %>" message="an-error-occurred-because-the-live-group-does-not-have-the-current-page" /> 101 <liferay-ui:error exception="<%= PortletIdException.class %>" message="please-import-a-lar-file-for-the-current-portlet" /> 102 103 <liferay-ui:error exception="<%= PortletDataException.class %>"> 104 134 <% 135 String errorMessageKey = StringPool.BLANK; 136gen_aircraft.ml git://github.com/pchickey/paparazzi-linux-release.git | OCaml | 280 lines
49 let other_name = Hashtbl.find ids id in 50 failwith (sprintf "Error: A/C Id '%s' duplicated in %s (%s and %s)" id conf_xml name other_name) 51 end; 53 let other_id = Hashtbl.find names name in 54 failwith (sprintf "Error: A/C name '%s' duplicated in %s (ids %s and %s)" name conf_xml id other_id) 55 end;RawMetadataProcessor.java git://github.com/liferay/liferay-portal.git | Java | 0 lines
71 * generated 72 * @throws PortalException if an error occurred in the metadata extraction 73 * @throws SystemException if a system exception occurred 105 * extracted and persisted 106 * @throws PortalException if an error occurred in the metadata extraction 107 * @throws SystemException if a system exception occurredStrutsURLEncoder.java git://github.com/liferay/liferay-portal.git | Java | 224 lines
62 catch (WindowStateException wse) { 63 _log.error(wse.getMessage()); 64 } 71 catch (PortletModeException pme) { 72 _log.error(pme.getMessage()); 73 }properties.c https://quake.svn.sourceforge.net/svnroot/quake | C | 284 lines
271 if (!f) { 272 perror (filename); 273 exit (1);configuration.jsp git://github.com/liferay/liferay-portal.git | JavaServer Pages | 144 lines
30 31 <liferay-ui:error key="rootFolderId" message="please-enter-a-valid-root-folder" /> 32EditEntryAction.java git://github.com/liferay/liferay-portal.git | Java | 201 lines
17import com.liferay.portal.kernel.portlet.LiferayWindowState; 18import com.liferay.portal.kernel.servlet.SessionErrors; 19import com.liferay.portal.kernel.util.Constants; 93 94 SessionErrors.add(actionRequest, e.getClass()); 95 95 96 setForward(actionRequest, "portlet.bookmarks.error"); 97 } 100 101 SessionErrors.add(actionRequest, e.getClass()); 102 } 105 106 SessionErrors.add(actionRequest, e.getClass(), e); 107 }SCProductVersionServiceSoap.java git://github.com/liferay/liferay-portal.git | Java | 170 lines
83 catch (Exception e) { 84 _log.error(e, e); 85 95 catch (Exception e) { 96 _log.error(e, e); 97 110 catch (Exception e) { 111 _log.error(e, e); 112 126 catch (Exception e) { 127 _log.error(e, e); 128 140 catch (Exception e) { 141 _log.error(e, e); 142TunnelServlet.java git://github.com/liferay/liferay-portal.git | Java | 171 lines
109 if (!(returnObj instanceof PortalException)) { 110 _log.error( 111 invocationTargetException, invocationTargetException); 123 catch (Exception exception) { 124 _log.error(exception, exception); 125 } 136 catch (IOException ioException) { 137 _log.error(ioException, ioException); 138 149 150 PortalUtil.sendError( 151 HttpServletResponse.SC_NOT_FOUND,qfprogs.c https://quake.svn.sourceforge.net/svnroot/quake | C | 247 lines
92 if (!file) { 93 perror (path); 94 return 0; 187 if (!file) { 188 perror (name); 189 return 0;EditMessageAction.java git://github.com/liferay/liferay-portal.git | Java | 435 lines
19import com.liferay.portal.kernel.captcha.CaptchaUtil; 20import com.liferay.portal.kernel.servlet.SessionErrors; 21import com.liferay.portal.kernel.upload.UploadPortletRequest; 123 124 SessionErrors.add(actionRequest, e.getClass()); 125 125 126 setForward(actionRequest, "portlet.message_boards.error"); 127 } 136 137 SessionErrors.add(actionRequest, e.getClass()); 138 } 141 142 SessionErrors.add(actionRequest, e.getClass(), e); 143 }qtv.c https://quake.svn.sourceforge.net/svnroot/quake | C | 394 lines
213 if (!mem_base) 214 Sys_Error ("Can't allocate %d", mem_size); 215 Memory_Init (mem_base, mem_size);TraversableViewLike.scala git://github.com/sjrd/ozma.git | Scala | 175 lines
38 * that takes a `View` as its `From` type parameter must yield the same view (or a generic 39 * superclass of it) as its result parameter. If that assumption is broken, cast errors might result. 40 *pc_control_panel.ml git://github.com/pchickey/paparazzi-linux-release.git | OCaml | 268 lines
45 with Not_found -> 46 failwith (sprintf "Fatal Error: Program '%s' not found in control_panel.xml" x) 47 130 (label#text, entry#text) 131 | _ -> failwith "Internal error: save session") 132 gui#vbox_programs#children intest_cmdline_tool.py git://github.com/openscad/openscad.git | Python | 360 lines
10# Any generated output is written to the file `basename <argument`-actual.<suffix> 11# Any warning or errors are written to stderr. 12# 18# Returns 0 on passed test 19# 1 on error 20# 2 on invalid cmd-line options 77 if not os.path.isfile(expectedfilename): 78 print("Error: test '%s' is missing expected output in %s" % (testname, expectedfilename), file=sys.stderr) 79 # next 2 imgs parsed by test_pretty_print.py 186 if not resultfilename: 187 print("Error: Error during test image generation", file=sys.stderr) 188 return False 269 except (OSError) as err: 270 print("Error: %s \"%s\"" % (err.strerror, cmd), file=sys.stderr) 271 return Noneedit_category.jsp git://github.com/liferay/liferay-portal.git | JavaServer Pages | 274 lines
64 65 <liferay-ui:error exception="<%= CaptchaMaxChallengesException.class %>" message="maximum-number-of-captcha-attempts-exceeded" /> 66 <liferay-ui:error exception="<%= CaptchaTextException.class %>" message="text-verification-failed" /> 66 <liferay-ui:error exception="<%= CaptchaTextException.class %>" message="text-verification-failed" /> 67 <liferay-ui:error exception="<%= CategoryNameException.class %>" message="please-enter-a-valid-name" /> 68 <liferay-ui:error exception="<%= MailingListEmailAddressException.class %>" message="please-enter-a-valid-email-address" /> 68 <liferay-ui:error exception="<%= MailingListEmailAddressException.class %>" message="please-enter-a-valid-email-address" /> 69 <liferay-ui:error exception="<%= MailingListInServerNameException.class %>" message="please-enter-a-valid-incoming-server-name" /> 70 <liferay-ui:error exception="<%= MailingListInUserNameException.class %>" message="please-enter-a-valid-incoming-user-name" /> 70 <liferay-ui:error exception="<%= MailingListInUserNameException.class %>" message="please-enter-a-valid-incoming-user-name" /> 71 <liferay-ui:error exception="<%= MailingListOutEmailAddressException.class %>" message="please-enter-a-valid-outgoing-email-address" /> 72 <liferay-ui:error exception="<%= MailingListOutServerNameException.class %>" message="please-enter-a-valid-outgoing-server-name" /> 72 <liferay-ui:error exception="<%= MailingListOutServerNameException.class %>" message="please-enter-a-valid-outgoing-server-name" /> 73 <liferay-ui:error exception="<%= MailingListOutUserNameException.class %>" message="please-enter-a-valid-outgoing-user-name" /> 74gen_messages.ml git://github.com/pchickey/paparazzi-linux-release.git | OCaml | 291 lines
61 Not_found -> 62 failwith (sprintf "Error: '%s' unknown type\n" t) 63 163 if m.id < 0 || m.id > 255 then begin 164 fprintf stderr "Error: message %s has id %d but should be between 0 and 255\n" m.name m.id; exit 1; 165 end 290 with 291 Xml.Error (msg, pos) -> failwith (sprintf "%s:%d : %s\n" filename (Xml.line pos) (Xml.error_msg msg)) 292RepositoryServiceSoap.java git://github.com/liferay/liferay-portal.git | Java | 161 lines
70 catch (Exception exception) { 71 _log.error(exception, exception); 72 83 catch (Exception exception) { 84 _log.error(exception, exception); 85 101 catch (Exception exception) { 102 _log.error(exception, exception); 103 119 catch (Exception exception) { 120 _log.error(exception, exception); 121 136 catch (Exception exception) { 137 _log.error(exception, exception); 138XFormsDBFileSelectHandler.java http://xformsdb.googlecode.com/svn/trunk/ | Java | 131 lines
13import fi.tkk.tml.xformsdb.error.DAOException; 14import fi.tkk.tml.xformsdb.error.ErrorConstants; 15import fi.tkk.tml.xformsdb.error.HandlerException; 55 if ( daoFactory == null) { 56 throw new DAOException( ErrorConstants.ERROR_CODE_DAO_62, ErrorConstants.ERROR_MESSAGE_DAO_62 ); 57 } 63 } catch ( Exception ex ) { 64 throw new HandlerException( ErrorConstants.ERROR_CODE_XFORMSDBFILESELECTHANDLER_1, ErrorConstants.ERROR_MESSAGE_XFORMSDBFILESELECTHANDLER_1, ex ); 65 } 94 } catch ( Exception ex ) { 95 throw new HandlerException( ErrorConstants.ERROR_CODE_XFORMSDBFILESELECTHANDLER_2, ErrorConstants.ERROR_MESSAGE_XFORMSDBFILESELECTHANDLER_2, ex ); 96 } 124 } catch ( Exception ex ) { 125 throw new HandlerException( ErrorConstants.ERROR_CODE_XFORMSDBFILESELECTHANDLER_3, ErrorConstants.ERROR_MESSAGE_XFORMSDBFILESELECTHANDLER_3, ex ); 126 }cl_demo.c https://quake.svn.sourceforge.net/svnroot/quake | C | 418 lines
155 if (net_message->message->cursize > MAX_MSGLEN) 156 Sys_Error ("Demo message > MAX_MSGLEN"); 157 r = 276 if (!cls.demofile) { 277 Con_Printf ("ERROR: couldn't open.\n"); 278 return; 308 if (!cls.demofile) { 309 Con_Printf ("ERROR: couldn't open.\n"); 310 cls.demonum = -1; // stop demo loopselectors-program.html http://xformsdb.googlecode.com/svn/trunk/ | HTML | 251 lines
73 of. Any time you encounter a problem when setting attributes or 74 adding tags, you can call setError(String errmsg) and the class 75 will know that there is a problem. Then, at the top of your 76 <code>isSelected()</code> method call <code>validate()</code> and 77 a BuildException will be thrown with the contents of your error 78 message. The <code>validate()</code> method also gives you a 80 calls <code>verifySettings()</code>. Override this method and 81 call <code>setError()</code> within it if you detect any 82 problems in how your selector is set up.</p> 131 and configure the selector, check the selection work and more. Because we usually 132 extend <tt>BaseExtendSelector</tt> its features have to be tested also (e.g. setError()). 133 </p> 162 iterates over all files (and directories) in the String array <tt>filenames</tt> 163 and checks whether the given selector returns the expected result. If an error 164 occured (especially the selector does not return the expected result) the testEditItemAction.java git://github.com/liferay/liferay-portal.git | Java | 292 lines
16 17import com.liferay.portal.kernel.servlet.SessionErrors; 18import com.liferay.portal.kernel.upload.UploadPortletRequest; 92 93 SessionErrors.add(actionRequest, e.getClass()); 94 94 95 setForward(actionRequest, "portlet.shopping.error"); 96 } 106 107 SessionErrors.add(actionRequest, e.getClass()); 108 } 127 128 SessionErrors.add(renderRequest, e.getClass()); 129WordPressImporter.java git://github.com/liferay/liferay-portal.git | Java | 342 lines
78 catch (DocumentException de) { 79 _log.error("Reading " + path, de); 80 126 catch (DocumentException de) { 127 _log.error(de.getMessage(), de); 128 300 catch (Exception e) { 301 _log.error("Add entry " + title, e); 302index.js http://linb.googlecode.com/svn/trunk/ | JavaScript | 264 lines
161 if(obj){ 162 if(!obj.error) 163 _.tryF(callback,[obj]); 164 else 165 SPA.popMsg(_.serialize(obj.error)); 166 }elseusb_stick.c git://github.com/pchickey/paparazzi-linux-release.git | C | 338 lines
95 if (stick_device_handle<0) { 96 dbgprintf(stderr,"ERROR: can not open %s (%s) [%s:%d]\n", 97 device_name,strerror(errno),__FILE__,__LINE__); 103 if (ioctl(stick_device_handle,EVIOCGBIT(EV_KEY,32*sizeof(unsigned long)),key_bits)<0) { 104 dbgprintf(stderr,"ERROR: can not get key bits (%s) [%s:%d]\n", 105 strerror(errno),__FILE__,__LINE__); 112 if (!TEST_BIT(stick_init_param.button_code[cnt], key_bits)) { 113 dbgprintf(stderr,"ERROR: no suitable custom button %d found [%s:%d]\n",cnt,__FILE__,__LINE__); 114 return 1; 128 if (stick_button_count == 0) { 129 dbgprintf(stderr,"ERROR: no suitable buttons found [%s:%d]\n",__FILE__,__LINE__); 130 } 135 if (ioctl(stick_device_handle,EVIOCGBIT(EV_ABS,32*sizeof(unsigned long)),abs_bits)<0) { 136 dbgprintf(stderr,"ERROR: can not get abs bits (%s) [%s:%d]\n", 137 strerror(errno),__FILE__,__LINE__);switch.c https://quake.svn.sourceforge.net/svnroot/quake | C | 407 lines
101 if (value && value->type < ex_string) { 102 error (value, "non-constant case value"); 103 free (cl); 106 if (!switch_block) { 107 error (value, "%s outside of switch", value ? "case" : "default"); 108 free (cl); 153 default: 154 error (0, "internal compiler error in switch"); 155 abort (); 174 if (low->type != ex_integer) { 175 error (low, "switch: internal error"); 176 abort (); 395 default: 396 error (0, "internal compiler error in switch"); 397 abort ();SendmailHook.java git://github.com/liferay/liferay-portal.git | Java | 299 lines
71 catch (Exception exception) { 72 _log.error(exception, exception); 73 } 95 if (stdErr) { 96 _log.error(line); 97 } 106 catch (Exception exception) { 107 _log.error(exception, exception); 108 } 143 if (stdErr) { 144 _log.error(line); 145 } 154 catch (Exception exception) { 155 _log.error(exception, exception); 156 }PHPPortlet.java git://github.com/liferay/liferay-portal.git | Java | 261 lines
232 catch (Exception e) { 233 _log.error("Error processing PHP", e); 234 }ExportPageAction.java git://github.com/liferay/liferay-portal.git | Java | 225 lines
125 126 _log.error(sb.toString()); 127 } 128 129 PortalUtil.sendError(e, actionRequest, actionResponse); 130 } 153 catch (Exception e) { 154 _log.error( 155 "Error formatting the wiki page " + page.getPageId() +aerocomm_new.h git://github.com/pchickey/paparazzi-linux-release.git | C Header | 250 lines
43extern uint8_t aerocomm_rssi; 44extern uint8_t aerocomm_ovrn, aerocomm_error; 45 187 aerocomm_ovrn++; 188 goto error; 189 } 206 return; 207 error: 208 aerocomm_error++;OutputProof.hs https://code.google.com/p/ps-pc/ | Haskell | 155 lines
24 createGenericPDF [proof] $ filename++".tex" 25 let command = "pdflatex -halt-on-error -interaction=nonstopmode "++ 26 filename++".tex > /dev/null" 29 then return () 30 else error "Unable to generate a pdf file" 31qfprogs.c https://quake.svn.sourceforge.net/svnroot/quake | C | 549 lines
133static void 134file_error (progs_t *pr, const char *name) 135{ 135{ 136 perror (name); 137} 208 pr.reserved_edicts = &reserved_edicts; 209 pr.file_error = file_error; 210 pr.load_file = load_file; 439 if (!file) { 440 perror (name); 441 return 0;gl_model_alias.c https://quake.svn.sourceforge.net/svnroot/quake | C | 312 lines
146 if (skinsize > sizeof (player_8bit_texels)) 147 Sys_Error ("Player skin too large"); 148 memcpy (player_8bit_texels, pskin, skinsize);csg4.c https://quake.svn.sourceforge.net/svnroot/quake | C | 374 lines
82 if (in->points->numpoints < 0) 83 Sys_Error ("SplitFace: freed face"); 84 counts[0] = counts[1] = counts[2] = 0; 362 if (!csgfaces) 363 Sys_Error ("No faces"); 364#endifWeatherServlet.java http://xformsdb.googlecode.com/svn/trunk/ | Java | 190 lines
16import fi.tkk.tml.xformsdb.core.Constants; 17import fi.tkk.tml.xformsdb.error.ErrorWriter; 18import fi.tkk.tml.xformsdb.error.HandlerException; 18import fi.tkk.tml.xformsdb.error.HandlerException; 19import fi.tkk.tml.xformsdb.error.InitializationException; 20import fi.tkk.tml.xformsdb.util.ExceptionUtils; 40 private WeatherHandler wh = null; 41 private ErrorWriter ew = null; 42 private InitializationException iex = null; 93 this.iex = iex; 94 logger.log( Level.ERROR, "Error (" + this.iex.getCode() + "): " + this.iex.getMessage() ); 95 } catch ( Exception ex ) { 96 this.iex = new InitializationException( 2, "Failed to initialize the Weather servlet.", ex ); 97 logger.log( Level.FATAL, "Error (" + this.iex.getCode() + "): " + this.iex.getMessage() ); 98 }builtins.c https://quake.svn.sourceforge.net/svnroot/quake | C | 174 lines
65static void 66bi_strerror (progs_t *pr) 67{ 68 int err = P_INT (pr, 0); 69 RETURN_STRING (pr, strerror (err)); 70} 98 if (!buffer) 99 PR_Error (pr, "%s: couldn't allocate %d bytes", "bi_read", count); 100 res = read (handle, buffer, count); 156 {"errno", bi_errno, -1}, 157 {"strerror", bi_strerror, -1}, 158 {"open", bi_open, -1},AddCategoryItemNameNullTest.java git://github.com/liferay/liferay-portal.git | Java | 76 lines
71 "Your request failed to complete."), 72 selenium.getText("xPath=(//div[@class='portlet-msg-error'])[1]")); 73 assertEquals(RuntimeVariables.replace("Please enter a valid name."), 73 assertEquals(RuntimeVariables.replace("Please enter a valid name."), 74 selenium.getText("xPath=(//div[@class='portlet-msg-error'])[2]")); 75 }SoftwareCatalogServlet.java git://github.com/liferay/liferay-portal.git | Java | 238 lines
88 catch (NoSuchGroupException nsge) { 89 PortalUtil.sendError( 90 HttpServletResponse.SC_NOT_FOUND, nsge, request, response); 96 97 PortalUtil.sendError( 98 HttpServletResponse.SC_INTERNAL_SERVER_ERROR, e, request,RollingChecksum.java git://github.com/liferay/liferay-portal.git | Java | 150 lines
145 catch (NoSuchAlgorithmException nsae) { 146 throw new ExceptionInInitializerError(nsae); 147 }bothdefs.h https://quake.svn.sourceforge.net/svnroot/quake | C++ Header | 140 lines
39 40 // Error out if we get less than 4MB 41#define MINIMUM_MEMORY 0x400000snd_mme.c https://quake.svn.sourceforge.net/svnroot/quake | C | 328 lines
152 CALLBACK_FUNCTION | WAVE_OPEN_SHAREABLE)) 153 != MMSYSERR_NOERROR) 154 { 308 309 if (wResult != MMSYSERR_NOERROR) 310 {EditFriendlyURLSlashesTest.java git://github.com/liferay/liferay-portal.git | Java | 75 lines
69 "Your request failed to complete."), 70 selenium.getText("xPath=(//div[@class='portlet-msg-error'])[1]")); 71 assertEquals(RuntimeVariables.replace( 72 "The friendly URL has too many slashes."), 73 selenium.getText("xPath=(//div[@class='portlet-msg-error'])[2]")); 74 }ScriptingPortlet.java git://github.com/liferay/liferay-portal.git | Java | 309 lines
180 181 Object error = SessionErrors.get(renderRequest, _ERROR); 182 192 193 error = SessionErrors.get(renderRequest, _ERROR); 194 197 198 writeErrorMessage(renderRequest, renderResponse, e.getMessage()); 199 } 258 catch (ScriptingException se) { 259 SessionErrors.add(portletRequest, _ERROR, se); 260 } 304 305 private static final String _ERROR = ScriptingPortlet.class + ".ERROR"; 306gib_thread.c https://quake.svn.sourceforge.net/svnroot/quake | C | 179 lines
77 if (temp == cbuf_active) 78 temp->state = CBUF_STATE_ERROR; 79 elseDLSyncServiceHttp.java git://github.com/liferay/liferay-portal.git | Java | 190 lines
88 catch (com.liferay.portal.kernel.exception.SystemException se) { 89 _log.error(se, se); 90 126 catch (com.liferay.portal.kernel.exception.SystemException se) { 127 _log.error(se, se); 128 170 catch (com.liferay.portal.kernel.exception.SystemException se) { 171 _log.error(se, se); 172Log4jLogImpl.java git://github.com/liferay/liferay-portal.git | Java | 160 lines
47 @Override 48 public void error(Object msg) { 49 _logger.log(_logWrapperClassName, Level.ERROR, msg, null); 52 @Override 53 public void error(Object msg, Throwable t) { 54 _logger.log(_logWrapperClassName, Level.ERROR, msg, t); 57 @Override 58 public void error(Throwable t) { 59 _logger.log(_logWrapperClassName, Level.ERROR, null, t); 97 @Override 98 public boolean isErrorEnabled() { 99 return _logger.isEnabledFor(Level.ERROR);XMLMerger.java http://xformsdb.googlecode.com/svn/trunk/ | Java | 166 lines
67 } catch ( Exception ex ) { 68 throw new MergerException( ErrorConstants.ERROR_CODE_MERGER_1, ErrorConstants.ERROR_MESSAGE_MERGER_1, ex ); 69 } 76 } catch ( Exception ex ) { 77 throw new MergerException( ErrorConstants.ERROR_CODE_MERGER_8, ErrorConstants.ERROR_MESSAGE_MERGER_8, ex ); 78 } 85 } catch ( Exception ex ) { 86 throw new MergerException( ErrorConstants.ERROR_CODE_MERGER_2, ErrorConstants.ERROR_MESSAGE_MERGER_2, ex ); 87 } 139 merge.getConflictLog().writeConflicts( new Writer( out, encoding ) ); 140 throw new MergerException( ErrorConstants.ERROR_CODE_MERGER_6, ErrorConstants.ERROR_MESSAGE_MERGER_6_1 + conflictLog.getConflictsSize() + ErrorConstants.ERROR_MESSAGE_MERGER_6_2 + Constants.LINE_SEPARATOR + out.toString( encoding ) ); 141 } 151 merge.getConflictLog().writeConflictsAndConflictWarnings( new Writer( out, encoding ) ); 152 throw new MergerException( ErrorConstants.ERROR_CODE_MERGER_9, ErrorConstants.ERROR_MESSAGE_MERGER_9_1 + conflictLog.getConflictsSize() + ErrorConstants.ERROR_MESSAGE_MERGER_9_2 + conflictLog.getWarningsSize() + ErrorConstants.ERROR_MESSAGE_MERGER_9_3 + Constants.LINE_SEPARATOR + out.toString( encoding ) ); 153 }edit_user_portrait.jsp git://github.com/liferay/liferay-portal.git | JavaServer Pages | 82 lines
41 42 <liferay-ui:error exception="<%= NoSuchFileException.class %>" message="an-unexpected-error-occurred-while-uploading-your-file" /> 43 <liferay-ui:error exception="<%= UploadException.class %>" message="an-unexpected-error-occurred-while-uploading-your-file" /> 44 45 <liferay-ui:error exception="<%= UserPortraitSizeException.class %>"> 46 47 <liferay-ui:message arguments="<%= PrefsPropsUtil.getLong(PropsKeys.USERS_IMAGE_MAX_SIZE) / 1024 %>" key="please-enter-a-file-with-a-valid-file-size-no-larger-than-x" /> 48 </liferay-ui:error> 49text.py https://bitbucket.org/loewis/django-3k-old/ | Python | 289 lines
7 from htmlentitydefs import name2codepoint 8except ImportError: 9 # XXX fixer replaces this with relative import, 107 i = open_tags.index(tagname) 108 except ValueError: 109 pass 202 elif type(s) != unicode: 203 raise TypeError(s) 204 s = s.replace('\\', '\\\\') 255 return unichr(c) 256 except ValueError: 257 return match.group(0) 260 return unichr(name2codepoint[text]) 261 except (ValueError, KeyError): 262 return match.group(0)OpenSSOAutoLogin.java git://github.com/liferay/liferay-portal.git | Java | 243 lines
166 // ThemeDisplay should never be null, but some users 167 // complain of this error. Cause is unknown. 168 199 catch (Exception e) { 200 _log.error(e, e); 201 }CheckoutOrderShippingEmailAddressInvalidTest.java git://github.com/liferay/liferay-portal.git | Java | 126 lines
114 selenium.getText( 115 "xPath=(//div[@class='portlet-msg-error'])[1]")); 116 assertEquals(RuntimeVariables.replace( 118 selenium.getText( 119 "xPath=(//div[@class='portlet-msg-error'])[2]")); 120EditCategoryAction.java git://github.com/liferay/liferay-portal.git | Java | 146 lines
16 17import com.liferay.portal.kernel.servlet.SessionErrors; 18import com.liferay.portal.kernel.util.Constants; 65 66 SessionErrors.add(actionRequest, e.getClass()); 67 67 68 setForward(actionRequest, "portlet.shopping.error"); 69 } 70 else if (e instanceof CategoryNameException) { 71 SessionErrors.add(actionRequest, e.getClass()); 72 } 91 92 SessionErrors.add(renderRequest, e.getClass()); 93MashupFeedServlet.java http://mashups4jsf.googlecode.com/svn/trunk/ | Java | 106 lines
75 exception.printStackTrace(); 76 throw new ServletException(Mashups4JSFConstants.FEED_ERROR_MESSAGE_CANNOT_INSTANCE_CLASS); 77 } 87 e.printStackTrace(); 88 System.err.println(ExceptionMessages.FEED_PRODUCING_ERROR + e.getMessage()); 89 }SimpleHTTPSender.java git://github.com/liferay/liferay-portal.git | Java | 163 lines
111 112 InputStream inputStream = httpURLConnection.getErrorStream(); 113sw32_skin.c https://quake.svn.sourceforge.net/svnroot/quake | C | 202 lines
147 default: 148 Sys_Error("Skin_Set_Translate: unsupported r_pixbytes %i", 149 r_pixbytes);forms.py https://bitbucket.org/loewis/django-3k-old/ | Python | 196 lines
5from django import forms 6from django.forms.util import ErrorDict 7from django.conf import settings 32 33 def security_errors(self): 34 """Return just those errors associated with security""" 34 """Return just those errors associated with security""" 35 errors = ErrorDict() 36 for f in ["honeypot", "timestamp", "security_hash"]: 37 if f in self.errors: 38 errors[f] = self.errors[f] 39 return errors 50 if expected_hash != actual_hash: 51 raise forms.ValidationError("Security hash check failed.") 52 return actual_hashcd_sgi.c https://quake.svn.sourceforge.net/svnroot/quake | C | 411 lines
136 if (maxtrack < 0) { 137 Sys_DPrintf ("CDAudio_Play: Error getting maximum track number\n"); 138 return;SQLExec.OnError.html http://xformsdb.googlecode.com/svn/trunk/ | HTML | 285 lines
8</TITLE> 9<META NAME="keywords" CONTENT="org.apache.tools.ant.taskdefs.SQLExec.OnError,SQLExec.OnError class"> 10<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style"> 48 <A HREF="../../../../../index.html" TARGET="_top"><B>FRAMES</B></A> 49 <A HREF="SQLExec.OnError.html" TARGET="_top"><B>NO FRAMES</B></A> 50 77<BR> 78Class SQLExec.OnError</H2> 79<PRE> 90<DL> 91<DT>public static class <B>SQLExec.OnError</B><DT>extends <A HREF="../../../../../org/apache/tools/ant/types/EnumeratedAttribute.html">EnumeratedAttribute</A></DL> 92 132<TR BGCOLOR="white" CLASS="TableRowColor"> 133<TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/SQLExec.OnError.html#SQLExec.OnError()">SQLExec.OnError</A></B>()</CODE> 134package.scala git://github.com/sjrd/ozma.git | Scala | 199 lines
16 type Exception = java.lang.Exception 17 type Error = java.lang.Error 18 28 type NumberFormatException = java.lang.NumberFormatException 29 type AbstractMethodError = java.lang.AbstractMethodError 30exp.c https://quake.svn.sourceforge.net/svnroot/quake | C | 549 lines
36 37exp_error_t EXP_ERROR; 38char *exp_error_msg = 0; 80static exp_error_t 81EXP_Error (exp_error_t err, const char *msg) 82{ 83 EXP_ERROR = err; 84 if (exp_error_msg) 85 free (exp_error_msg); 327 328exp_error_t 329EXP_SimplifyTokens (token * chain) 348 if (EXP_DoFunction (cur)) 349 return EXP_Error (EXP_E_SYNTAX, 350 vaCheckoutAction.java git://github.com/liferay/liferay-portal.git | Java | 289 lines
16 17import com.liferay.portal.kernel.servlet.SessionErrors; 18import com.liferay.portal.kernel.util.Constants; 116 117 SessionErrors.add(actionRequest, e.getClass()); 118 122 else if (e instanceof PrincipalException) { 123 setForward(actionRequest, "portlet.shopping.error"); 124 }screen.c https://quake.svn.sourceforge.net/svnroot/quake | C | 303 lines
152 default: 153 Sys_Error("V_UpdatePalette: unsupported r_pixbytes %i", r_pixbytes); 154 } 192 default: 193 Sys_Error("SCR_ScreenShot_f: unsupported r_pixbytes %i", r_pixbytes); 194 }LockMethodImpl.java git://github.com/liferay/liferay-portal.git | Java | 233 lines
122 else { 123 _log.error("Empty request XML"); 124EditRecordSetAction.java git://github.com/liferay/liferay-portal.git | Java | 199 lines
16 17import com.liferay.portal.kernel.servlet.SessionErrors; 18import com.liferay.portal.kernel.util.Constants; 77 78 SessionErrors.add(actionRequest, e.getClass()); 79 79 80 setForward(actionRequest, "portlet.dynamic_data_lists.error"); 81 } 84 85 SessionErrors.add(actionRequest, e.getClass()); 86 } 113 if (e instanceof PrincipalException) { 114 SessionErrors.add(renderRequest, e.getClass()); 115ModelChecker.hs https://code.google.com/p/ps-pc/ | Haskell | 140 lines
34checkInputModel model [] givens = if consistent /= mzero 35 then error (consistent ++ printModel model) 36 else ("---- Model:\n"++show model++ 42checkInputModel model gamma givens = if consistent /= mzero 43 then error (consistent ++ printModel model) 44 else checkGivens concepts model `combine` 138 " for "++show distinguished++"\n" 139checkAtomic other _ _ = error $ "Non exhaustive pattern: "++show other 140CHANGELOG.md git://github.com/cameronbracken/rtikzdevice.git | Markdown | 231 lines
90 messages have been gagged for now and a better way to run LaTeX such that a 91 non-zero condition can meaningfully indicate an error is being investigated. 92 97- Detection of failed string metric calculations has been strengthened and the 98 resulting error message has been improved. 99 138- The path to a LaTeX compiler returned by `Sys.which()` is now checked by 139 `file.access()` to check that it is actually an executable and not an error 140 message. This fixes issues arising from `Sys.which()` on Solaris. 145 146- `tikz()` produces a better error message when it cannot open a file for output. 147 166 167- Vivianne Vilar for spotting spelling and grammar errors in the 168 vignette.validators.py https://bitbucket.org/loewis/django-3k-old/ | Python | 193 lines
4 5from django.core.exceptions import ValidationError 6from django.utils.translation import ugettext_lazy as _ 51 if not self.regex.search(smart_unicode(value)): 52 raise ValidationError(self.message, code=self.code) 53 71 super(URLValidator, self).__call__(value) 72 except ValidationError, e: 73 # Trivial case failed. Try for possible IDN domain 81 netloc = py3_string_conversion(netloc) 82 except UnicodeError: # invalid domain part 83 raise e 111 int(value) 112 except (ValueError, TypeError), e: 113 raise ValidationError('')TagMojo.java http://mashups4jsf.googlecode.com/svn/trunk/ | Java | 194 lines
52 catch (Exception e) { 53 getLog().error("Error occured in generating tags" + e.getMessage()); 54 }SessionErrors.java git://github.com/liferay/liferay-portal.git | Java | 428 lines
33 */ 34public class SessionErrors { 35 425 426 private static final String _CLASS_NAME = SessionErrors.class.getName(); 427DynamicAttributes.html http://xformsdb.googlecode.com/svn/trunk/ | HTML | 243 lines
97 For any attribute that is not declared in the Tag Library Descriptor for 98 this tag, instead of getting an error at translation time, the 99 <code>setDynamicAttribute()</code> method is called, with the name andxdisplay.c git://github.com/pchickey/paparazzi-linux-release.git | C | 441 lines
86 87static int x_error_handler(Display *disp, XErrorEvent *evt) 88{ 91 92 XGetErrorText(disp, evt->error_code, err_buf, sizeof(err_buf)); 93 (void)fprintf(stderr, "X Error: %s\n", err_buf); 97 (void)sprintf(number, "%d", evt->request_code); 98 XGetErrorDatabaseText(disp, "XRequest", number, "", err_buf, 99 sizeof(err_buf)); 183 if (i < 0) { 184 perror("select"); 185 exit(1); 213 } 214 XSetErrorHandler(x_error_handler); 215 XAllocNamedColor(display, DefaultColormap(display, 0), "red",GGroupManagerImpl.java git://github.com/liferay/liferay-portal.git | Java | 491 lines
128 129 if (hasError(document)) { 130 if (_log.isInfoEnabled()) { 130 if (_log.isInfoEnabled()) { 131 _log.info(getErrorMessage(document)); 132 } 155 156 if (hasError(document)) { 157 if (_log.isInfoEnabled()) { 157 if (_log.isInfoEnabled()) { 158 _log.info(getErrorMessage(document)); 159 } 199 200 if (hasError(document)) { 201 if (_log.isInfoEnabled()) {snd_alsa.c https://quake.svn.sourceforge.net/svnroot/quake | C | 476 lines
144 if (bps != 16 && bps != 8) { 145 Sys_Printf ("Error: invalid sample bits: %d\n", bps); 146 return 0; 162 if (0 > err) { 163 Sys_Printf ("Error: audio open error: %s\n", qfsnd_strerror (err)); 164 return 0; 169 if (0 > err) { 170 Sys_Printf ("ALSA: error setting hw_params_any. %s\n", 171 qfsnd_strerror (err)); 262 qfsnd_strerror (err)); 263 goto error; 264 } 317 qfsnd_strerror (err)); 318 goto error; 319 }Executor.html http://xformsdb.googlecode.com/svn/trunk/ | HTML | 240 lines
163<DT><B>Throws:</B> 164<DD><CODE><A HREF="../../../../org/apache/tools/ant/BuildException.html">BuildException</A></CODE> - on error</DL> 165</DD>create_account.jsp git://github.com/liferay/liferay-portal.git | JavaServer Pages | 186 lines
44 45 <liferay-ui:error exception="<%= AddressCityException.class %>" message="please-enter-a-valid-city" /> 46 <liferay-ui:error exception="<%= AddressStreetException.class %>" message="please-enter-a-valid-street" /> 46 <liferay-ui:error exception="<%= AddressStreetException.class %>" message="please-enter-a-valid-street" /> 47 <liferay-ui:error exception="<%= AddressZipException.class %>" message="please-enter-a-valid-postal-code" /> 48 <liferay-ui:error exception="<%= CaptchaMaxChallengesException.class %>" message="maximum-number-of-captcha-attempts-exceeded" /> 48 <liferay-ui:error exception="<%= CaptchaMaxChallengesException.class %>" message="maximum-number-of-captcha-attempts-exceeded" /> 49 <liferay-ui:error exception="<%= CaptchaTextException.class %>" message="text-verification-failed" /> 50 <liferay-ui:error exception="<%= CompanyMaxUsersException.class %>" message="unable-to-create-user-account-because-the-maximum-number-of-users-has-been-reached" /> 50 <liferay-ui:error exception="<%= CompanyMaxUsersException.class %>" message="unable-to-create-user-account-because-the-maximum-number-of-users-has-been-reached" /> 51 <liferay-ui:error exception="<%= ContactFirstNameException.class %>" message="please-enter-a-valid-first-name" /> 52 <liferay-ui:error exception="<%= ContactFullNameException.class %>" message="please-enter-a-valid-first-middle-and-last-name" /> 52 <liferay-ui:error exception="<%= ContactFullNameException.class %>" message="please-enter-a-valid-first-middle-and-last-name" /> 53 <liferay-ui:error exception="<%= ContactLastNameException.class %>" message="please-enter-a-valid-last-name" /> 54 <liferay-ui:error exception="<%= DuplicateOpenIdException.class %>" message="a-user-with-that-open-id-already-exists" />EditScopeAction.java git://github.com/liferay/liferay-portal.git | Java | 313 lines
18import com.liferay.portal.kernel.portlet.LiferayPortletConfig; 19import com.liferay.portal.kernel.servlet.SessionErrors; 20import com.liferay.portal.kernel.servlet.SessionMessages; 75 catch (PrincipalException pe) { 76 SessionErrors.add( 77 actionRequest, PrincipalException.class.getName()); 78 79 setForward(actionRequest, "portlet.portlet_configuration.error"); 80 } 87 88 if (SessionErrors.isEmpty(actionRequest)) { 89 LiferayPortletConfig liferayPortletConfig = 126 catch (PrincipalException pe) { 127 SessionErrors.add( 128 renderRequest, PrincipalException.class.getName());XFormsDBWidgetQueryTransformer.java http://xformsdb.googlecode.com/svn/trunk/ | Java | 175 lines
14import fi.tkk.tml.xformsdb.core.Constants; 15import fi.tkk.tml.xformsdb.error.ErrorConstants; 16import fi.tkk.tml.xformsdb.error.ManagerException; 57 xformsdbUser += "<" + Constants.XFORMSDB_USER + " " + Constants.NAMESPACE_XMLNS_EMPTY + " " + Constants.NAMESPACE_XMLNS_XFORMSDB + " />"; 58// throw new TransformerException( ErrorConstants.ERROR_CODE_TRANSFORMATION_68, ErrorConstants.ERROR_MESSAGE_TRANSFORMATION_68 ); 59 } 65 } catch ( Exception ex ) { 66 throw new TransformerException( ErrorConstants.ERROR_CODE_TRANSFORMATION_85, ErrorConstants.ERROR_MESSAGE_TRANSFORMATION_85, ex ); 67 } 81 if ( expressionType == null || ( Constants.EXPRESSION_TYPE_ALL.equals( expressionType ) == false && Constants.EXPRESSION_TYPE_SELECT.equals( expressionType ) == false && Constants.EXPRESSION_TYPE_SELECT4UPDATE.equals( expressionType ) == false && Constants.EXPRESSION_TYPE_UPDATE.equals( expressionType ) == false ) ) { 82 throw new TransformerException( ErrorConstants.ERROR_CODE_TRANSFORMATION_86, ErrorConstants.ERROR_MESSAGE_TRANSFORMATION_86 ); 83 } 171 } catch ( Exception ex ) { 172 throw new TransformerException( ErrorConstants.ERROR_CODE_TRANSFORMATION_87, ErrorConstants.ERROR_MESSAGE_TRANSFORMATION_87, ex ); 173 }i18n.py https://bitbucket.org/loewis/django-3k-old/ | Python | 270 lines
53 result[attr] = getattr(module, attr) 54 except AttributeError: 55 pass 192 t.update(catalog._catalog) 193 except IOError: 194 # 'en' catalog was missing. 205 catalog = gettext_module.translation(domain, path, [default_locale]) 206 except IOError: 207 catalog = None 223 catalog = gettext_module.translation(domain, path, [locale]) 224 except IOError: 225 catalog = None 256 else: 257 raise TypeError(k) 258 csrc.sort()menu.c https://quake.svn.sourceforge.net/svnroot/quake | C | 676 lines
98 if (!(f = PR_FindFunction (pr, sym = "menu_init"))) 99 goto error; 100 menu_init = (func_t) (f - menu_pr_state.pr_functions); 101 if (!(f = PR_FindFunction (pr, sym = "menu_draw_hud"))) 102 goto error; 103 menu_draw_hud = (func_t) (f - pr->pr_functions); 104 if (!(def = PR_FindGlobal (pr, sym = "time"))) 105 goto error; 106 menu_pr_state.globals.time = &G_FLOAT (pr, def->ofs); 107 return 1; 108error: 109 Sys_Printf ("%s: undefined symbol %s\n", pr->progs_name, sym); 495 if (!menu_pr_state.progs) { 496 // Not a fatal error, just means no menus 497 Con_SetOrMask (0x80);draw.c https://quake.svn.sourceforge.net/svnroot/quake | C | 687 lines
102 if (numcachepics == MAX_CACHED_PICS) 103 Sys_Error ("numcachepics == MAX_CACHED_PICS"); 104 numcachepics++; 117 if (!dat) { 118 Sys_Error ("Draw_CachePic: failed to load %s", path); 119 } 327 (unsigned int) (y + pic->height) > vid.height) { 328 Sys_Error ("Draw_Pic: bad coordinates"); 329 } 379 (x + width > vid.width) || (y < 0) || (y + height > vid.height)) { 380 Sys_Error ("Draw_SubPic: bad coordinates"); 381 } 430 (unsigned int) (y + pic->height) > vid.height) { 431 Sys_Error ("Draw_TransPic: bad coordinates"); 432 }AddWikiPageNameSymbolTest.html git://github.com/liferay/liferay-portal.git | HTML | 968 lines
112 <td>assertText</td> 113 <td>xPath=(//div[@class='portlet-msg-error'])[1]</td> 114 <td>Your request failed to complete.</td> 117 <td>assertText</td> 118 <td>xPath=(//div[@class='portlet-msg-error'])[2]</td> 119 <td>Please enter a valid title.</td> 217 <td>assertText</td> 218 <td>xPath=(//div[@class='portlet-msg-error'])[1]</td> 219 <td>Your request failed to complete.</td> 222 <td>assertText</td> 223 <td>xPath=(//div[@class='portlet-msg-error'])[2]</td> 224 <td>Please enter a valid title.</td> 322 <td>assertText</td> 323 <td>xPath=(//div[@class='portlet-msg-error'])[1]</td> 324 <td>Your request failed to complete.</td>AddWikiPageNameSymbolTest.java git://github.com/liferay/liferay-portal.git | Java | 410 lines
66 "Your request failed to complete."), 67 selenium.getText("xPath=(//div[@class='portlet-msg-error'])[1]")); 68 assertEquals(RuntimeVariables.replace("Please enter a valid title."), 68 assertEquals(RuntimeVariables.replace("Please enter a valid title."), 69 selenium.getText("xPath=(//div[@class='portlet-msg-error'])[2]")); 70 assertEquals(RuntimeVariables.replace( 108 "Your request failed to complete."), 109 selenium.getText("xPath=(//div[@class='portlet-msg-error'])[1]")); 110 assertEquals(RuntimeVariables.replace("Please enter a valid title."), 110 assertEquals(RuntimeVariables.replace("Please enter a valid title."), 111 selenium.getText("xPath=(//div[@class='portlet-msg-error'])[2]")); 112 assertEquals(RuntimeVariables.replace( 150 "Your request failed to complete."), 151 selenium.getText("xPath=(//div[@class='portlet-msg-error'])[1]")); 152 assertEquals(RuntimeVariables.replace("Please enter a valid title."),AddPageFriendlyURLReservedWordsTest.java git://github.com/liferay/liferay-portal.git | Java | 504 lines
88 selenium.getText( 89 "xPath=(//div[@class='portlet-msg-error'])[1]")); 90 assertEquals(RuntimeVariables.replace( 92 selenium.getText( 93 "xPath=(//div[@class='portlet-msg-error'])[2]")); 94 selenium.type("//span[2]/input[@id='_88_friendlyURL']", 101 selenium.getText( 102 "xPath=(//div[@class='portlet-msg-error'])[1]")); 103 assertEquals(RuntimeVariables.replace( 105 selenium.getText( 106 "xPath=(//div[@class='portlet-msg-error'])[2]")); 107 selenium.type("//span[2]/input[@id='_88_friendlyURL']", 114 selenium.getText( 115 "xPath=(//div[@class='portlet-msg-error'])[1]")); 116 assertEquals(RuntimeVariables.replace(AddPageFriendlyURLReservedWordsTest.html git://github.com/liferay/liferay-portal.git | HTML | 783 lines
147 <td>assertText</td> 148 <td>xPath=(//div[@class='portlet-msg-error'])[1]</td> 149 <td>Your request failed to complete.</td> 152 <td>assertText</td> 153 <td>xPath=(//div[@class='portlet-msg-error'])[2]</td> 154 <td>Please enter a friendly URL that does not conflict with the keyword /api.</td> 167 <td>assertText</td> 168 <td>xPath=(//div[@class='portlet-msg-error'])[1]</td> 169 <td>Your request failed to complete.</td> 172 <td>assertText</td> 173 <td>xPath=(//div[@class='portlet-msg-error'])[2]</td> 174 <td>Please enter a friendly URL that does not conflict with the keyword /c.</td> 187 <td>assertText</td> 188 <td>xPath=(//div[@class='portlet-msg-error'])[1]</td> 189 <td>Your request failed to complete.</td>AddWDFrontPageChildPageNameInvalidTest.java git://github.com/liferay/liferay-portal.git | Java | 375 lines
70 "Your request failed to complete."), 71 selenium.getText("xPath=(//div[@class='portlet-msg-error'])[1]")); 72 assertEquals(RuntimeVariables.replace("Please enter a valid title."), 72 assertEquals(RuntimeVariables.replace("Please enter a valid title."), 73 selenium.getText("xPath=(//div[@class='portlet-msg-error'])[2]")); 74 selenium.clickAt("link=FrontPage", RuntimeVariables.replace("FrontPage")); 112 "Your request failed to complete."), 113 selenium.getText("xPath=(//div[@class='portlet-msg-error'])[1]")); 114 assertEquals(RuntimeVariables.replace("Please enter a valid title."), 114 assertEquals(RuntimeVariables.replace("Please enter a valid title."), 115 selenium.getText("xPath=(//div[@class='portlet-msg-error'])[2]")); 116 selenium.clickAt("link=FrontPage", RuntimeVariables.replace("FrontPage")); 154 "Your request failed to complete."), 155 selenium.getText("xPath=(//div[@class='portlet-msg-error'])[1]")); 156 assertEquals(RuntimeVariables.replace("Please enter a valid title."),TearDownOrganizationTest.java git://github.com/liferay/liferay-portal.git | Java | 578 lines
14 15package com.liferay.portalweb.properties.usersscreennameallownumeric.users.user.erroradduserscreennamenumberorganizationid; 16edit_event.jsp git://github.com/liferay/liferay-portal.git | JavaServer Pages | 382 lines
117 118 <liferay-ui:error exception="<%= EventDurationException.class %>" message="please-enter-a-longer-duration" /> 119 <liferay-ui:error exception="<%= EventStartDateException.class %>" message="please-enter-a-valid-start-date" /> 119 <liferay-ui:error exception="<%= EventStartDateException.class %>" message="please-enter-a-valid-start-date" /> 120 <liferay-ui:error exception="<%= EventTitleException.class %>" message="please-enter-a-valid-title" /> 121 121 122 <liferay-ui:asset-categories-error /> 123 123 124 <liferay-ui:asset-tags-error /> 125 224 <liferay-ui:panel collapsible="<%= true %>" extended="<%= true %>" id="calendarRepeatPanel" persistState="<%= true %>" title="repeat"> 225 <liferay-ui:error exception="<%= EventEndDateException.class %>" message="please-enter-a-valid-end-date" /> 226details.jsp git://github.com/liferay/liferay-portal.git | JavaServer Pages | 500 lines
69 70<liferay-ui:error-marker key="errorSection" value="details" /> 71 73 74<liferay-ui:error exception="<%= DuplicateGroupException.class %>" message="please-enter-a-unique-name" /> 75<liferay-ui:error exception="<%= GroupNameException.class %>" message="please-enter-a-valid-name" /> 76 77<liferay-ui:error exception="<%= RequiredGroupException.class %>"> 78 79 <% 80 RequiredGroupException rge = (RequiredGroupException)errorException; 81 %> 93 </c:if> 94</liferay-ui:error> 95configuration.jsp git://github.com/liferay/liferay-portal.git | JavaServer Pages | 775 lines
79 80 <liferay-ui:error key="emailFromAddress" message="please-enter-a-valid-email-address" /> 81 <liferay-ui:error key="emailFromName" message="please-enter-a-valid-name" /> 81 <liferay-ui:error key="emailFromName" message="please-enter-a-valid-name" /> 82 <liferay-ui:error key="emailMessageAddedBody" message="please-enter-a-valid-body" /> 83 <liferay-ui:error key="emailMessageAddedSignature" message="please-enter-a-valid-signature" /> 83 <liferay-ui:error key="emailMessageAddedSignature" message="please-enter-a-valid-signature" /> 84 <liferay-ui:error key="emailMessageAddedSubjectPrefix" message="please-enter-a-valid-subject" /> 85 <liferay-ui:error key="emailMessageUpdatedBody" message="please-enter-a-valid-body" /> 85 <liferay-ui:error key="emailMessageUpdatedBody" message="please-enter-a-valid-body" /> 86 <liferay-ui:error key="emailMessageUpdatedSignature" message="please-enter-a-valid-signature" /> 87 <liferay-ui:error key="emailMessageUpdatedSubjectPrefix" message="please-enter-a-valid-subject" /> 87 <liferay-ui:error key="emailMessageUpdatedSubjectPrefix" message="please-enter-a-valid-subject" /> 88 <liferay-ui:error key="userRank" message="please-enter-valid-user-ranks" /> 89main.js git://github.com/liferay/liferay-portal.git | JavaScript | 1678 lines
34 35 var MESSAGE_TYPE_ERROR = 'error'; 36 371 else { 372 throw 'Internal error. Unimplemented lifecycle.'; 373 }edit_page.jsp git://github.com/liferay/liferay-portal.git | JavaServer Pages | 539 lines
194 195 <liferay-ui:error exception="<%= DuplicatePageException.class %>" message="there-is-already-a-page-with-the-specified-title" /> 196 <liferay-ui:error exception="<%= PageContentException.class %>" message="the-content-is-not-valid" /> 196 <liferay-ui:error exception="<%= PageContentException.class %>" message="the-content-is-not-valid" /> 197 <liferay-ui:error exception="<%= PageTitleException.class %>" message="please-enter-a-valid-title" /> 198 <liferay-ui:error exception="<%= PageVersionException.class %>" message="another-user-has-made-changes-since-you-started-editing-please-copy-your-changes-and-try-again" /> 199 200 <liferay-ui:asset-categories-error /> 201 201 202 <liferay-ui:asset-tags-error /> 203 218 <c:otherwise> 219 <div class="portlet-msg-error"> 220 <liferay-ui:message key="this-page-does-not-exist-yet-and-the-title-is-not-valid" />main.css git://github.com/liferay/liferay-portal.git | CSS | 1042 lines
222 223 .move-error { 224 background-color: #FDD; 224 background-color: #FDD; 225 background-image: url(@theme_image_path@/messages/error.png); 226 font-weight: normal; 229 230 .error-message { 231 position: absolute;main.js git://github.com/liferay/liferay-portal.git | JavaScript | 3556 lines
43 '</span>' + 44 '<div class="journal-article-required-message portlet-msg-error">{requiredFieldLanguage}</div>' + 45 '<div class="journal-article-buttons {articleButtonsRowCSSClass}">' +display_page.jsp git://github.com/liferay/liferay-portal.git | JavaServer Pages | 596 lines
43 44<liferay-ui:error-marker key="errorSection" value="display-page" /> 45content.jsp git://github.com/liferay/liferay-portal.git | JavaServer Pages | 1036 lines
150 151<liferay-ui:error-marker key="errorSection" value="content" /> 152 174 <td class="lfr-top"> 175 <liferay-ui:error exception="<%= ArticleContentException.class %>" message="please-enter-valid-content" /> 176 <liferay-ui:error exception="<%= ArticleIdException.class %>" message="please-enter-a-valid-id" /> 176 <liferay-ui:error exception="<%= ArticleIdException.class %>" message="please-enter-a-valid-id" /> 177 <liferay-ui:error exception="<%= ArticleTitleException.class %>" message="please-enter-a-valid-name" /> 178 <liferay-ui:error exception="<%= ArticleVersionException.class %>" message="another-user-has-made-changes-since-you-started-editing-please-copy-your-changes-and-try-again" /> 178 <liferay-ui:error exception="<%= ArticleVersionException.class %>" message="another-user-has-made-changes-since-you-started-editing-please-copy-your-changes-and-try-again" /> 179 <liferay-ui:error exception="<%= DuplicateArticleIdException.class %>" message="please-enter-a-unique-id" /> 180 180 181 <liferay-ui:error exception="<%= LocaleException.class %>"> 182edit_feed.jsp git://github.com/liferay/liferay-portal.git | JavaServer Pages | 480 lines
123 124 <liferay-ui:error exception="<%= DuplicateFeedIdException.class %>" message="please-enter-a-unique-id" /> 125 <liferay-ui:error exception="<%= FeedContentFieldException.class %>" message="please-select-a-valid-feed-item-content" /> 125 <liferay-ui:error exception="<%= FeedContentFieldException.class %>" message="please-select-a-valid-feed-item-content" /> 126 <liferay-ui:error exception="<%= FeedIdException.class %>" message="please-enter-a-valid-id" /> 127 <liferay-ui:error exception="<%= FeedNameException.class %>" message="please-enter-a-valid-name" /> 127 <liferay-ui:error exception="<%= FeedNameException.class %>" message="please-enter-a-valid-name" /> 128 <liferay-ui:error exception="<%= FeedTargetLayoutFriendlyUrlException.class %>" message="please-enter-a-valid-target-layout-friendly-url" /> 129 <liferay-ui:error exception="<%= FeedTargetPortletIdException.class %>" message="please-enter-a-valid-portlet-id" />edit_structure.jsp git://github.com/liferay/liferay-portal.git | JavaServer Pages | 586 lines
105 106 <liferay-ui:error exception="<%= DuplicateStructureElementException.class %>" message="please-enter-unique-structure-field-names-(including-field-names-inherited-from-the-parent-structure)" /> 107 <liferay-ui:error exception="<%= DuplicateStructureIdException.class %>" message="please-enter-a-unique-id" /> 107 <liferay-ui:error exception="<%= DuplicateStructureIdException.class %>" message="please-enter-a-unique-id" /> 108 <liferay-ui:error exception="<%= StructureIdException.class %>" message="please-enter-a-valid-id" /> 109 <liferay-ui:error exception="<%= StructureInheritanceException.class %>" message="this-structure-is-already-within-the-inheritance-path-of-the-selected-parent-please-select-another-parent-structure" /> 109 <liferay-ui:error exception="<%= StructureInheritanceException.class %>" message="this-structure-is-already-within-the-inheritance-path-of-the-selected-parent-please-select-another-parent-structure" /> 110 <liferay-ui:error exception="<%= StructureNameException.class %>" message="please-enter-a-valid-name" /> 111 185 <aui:fieldset> 186 <liferay-ui:error exception="<%= StructureXsdException.class %>" message="please-enter-a-valid-xsd" /> 187publish_layouts.jsp git://github.com/liferay/liferay-portal.git | JavaServer Pages | 578 lines
278 279 <liferay-ui:error exception="<%= DuplicateLockException.class %>" message="another-publishing-process-is-in-progress,-please-try-again-later" /> 280 280 281 <liferay-ui:error exception="<%= LayoutPrototypeException.class %>"> 282 283 <% 284 LayoutPrototypeException lpe = (LayoutPrototypeException)errorException; 285 %> 308 </ul> 309 </liferay-ui:error> 310 310 311 <liferay-ui:error exception="<%= RemoteExportException.class %>"> 312main.js git://github.com/liferay/liferay-portal.git | JavaScript | 607 lines
15 16 var MESSAGE_TYPE_ERROR = 'error'; 17 423 catch (exception) { 424 var errorMessage = Lang.sub( 425 Liferay.Language.get('cannot-open-the-requested-document-due-to-the-following-reason'), 428 429 instance._appViewFolders.displayMessage(MESSAGE_TYPE_ERROR, errorMessage); 430 }edit_folder.jsp git://github.com/liferay/liferay-portal.git | JavaServer Pages | 445 lines
69 70 <liferay-ui:error exception="<%= DuplicateFileException.class %>" message="please-enter-a-unique-folder-name" /> 71 <liferay-ui:error exception="<%= DuplicateFolderNameException.class %>" message="please-enter-a-unique-folder-name" /> 71 <liferay-ui:error exception="<%= DuplicateFolderNameException.class %>" message="please-enter-a-unique-folder-name" /> 72 <liferay-ui:error exception="<%= FolderNameException.class %>" message="please-enter-a-valid-name" /> 73cart.jsp git://github.com/liferay/liferay-portal.git | JavaServer Pages | 515 lines
102 103 <liferay-ui:error exception="<%= CartMinQuantityException.class %>"> 104 105 <% 106 CartMinQuantityException cmqe = (CartMinQuantityException)errorException; 107 133 134 </liferay-ui:error> 135 135 136 <liferay-ui:error exception="<%= CouponActiveException.class %>" message="the-specified-coupon-is-not-active" /> 137 <liferay-ui:error exception="<%= CouponEndDateException.class %>" message="the-specified-coupon-is-no-longer-available" /> 137 <liferay-ui:error exception="<%= CouponEndDateException.class %>" message="the-specified-coupon-is-no-longer-available" /> 138 <liferay-ui:error exception="<%= CouponStartDateException.class %>" message="the-specified-coupon-is-no-yet-available" /> 139 <liferay-ui:error exception="<%= NoSuchCouponException.class %>" message="please-enter-a-valid-coupon-code" />edit_item.jsp git://github.com/liferay/liferay-portal.git | JavaServer Pages | 588 lines
100 101 <liferay-ui:error exception="<%= DuplicateItemSKUException.class %>" message="the-item-sku-you-requested-is-already-taken" /> 102 <liferay-ui:error exception="<%= ItemNameException.class %>" message="please-enter-a-valid-name" /> 102 <liferay-ui:error exception="<%= ItemNameException.class %>" message="please-enter-a-valid-name" /> 103 <liferay-ui:error exception="<%= ItemSKUException.class %>" message="please-enter-a-valid-item-sku" /> 104main.js git://github.com/liferay/liferay-portal.git | JavaScript | 2764 lines
36 37 var CSS_MESSAGE_ERROR = 'portlet-msg-error'; 38 68 69 var MESSAGE_TYPE_ERROR = 'error'; 70 449 450 var errorKey = STR_EMPTY; 451 452 if (toCategoryId == fromCategoryId) { 453 errorKey = Liferay.Language.get('changing-the-order-of-the-categories-is-not-supported'); 454 } 458 459 instance._sendMessage(MESSAGE_TYPE_ERROR, errorKey); 460 },edit_entry.jsp git://github.com/liferay/liferay-portal.git | JavaServer Pages | 469 lines
56 57 <liferay-ui:error exception="<%= EntryContentException.class %>" message="please-enter-valid-content" /> 58 <liferay-ui:error exception="<%= EntryTitleException.class %>" message="please-enter-a-valid-title" /> 59 60 <liferay-ui:asset-categories-error /> 61 61 62 <liferay-ui:asset-tags-error /> 63 149 <liferay-ui:panel defaultState="closed" extended="<%= false %>" id="blogsEntryAbstractPanel" persistState="<%= true %>" title="abstract"> 150 <liferay-ui:error exception="<%= EntrySmallImageNameException.class %>"> 151 156 <liferay-ui:message key="image-names-must-end-with-one-of-the-following-extensions" /> <%= StringUtil.merge(imageExtensions, ", ") %>. 157 </liferay-ui:error> 158edit_ldap_server.jsp git://github.com/liferay/liferay-portal.git | JavaServer Pages | 630 lines
162<aui:form action="<%= editLDAPServerURL %>" method="post" name="fm" onSubmit='<%= "event.preventDefault(); " + renderResponse.getNamespace() + "saveEntry(false);" %>'> 163 <liferay-ui:error exception="<%= DuplicateLDAPServerNameException.class %>" message="please-enter-a-unique-ldap-server-name" /> 164 <liferay-ui:error exception="<%= LDAPFilterException.class %>" message="please-enter-a-valid-ldap-search-filter" /> 164 <liferay-ui:error exception="<%= LDAPFilterException.class %>" message="please-enter-a-valid-ldap-search-filter" /> 165 <liferay-ui:error exception="<%= LDAPServerNameException.class %>" message="please-enter-a-valid-ldap-server-name" /> 166 170 171 <liferay-ui:error key="ldapAuthentication" message="failed-to-bind-to-the-ldap-server-with-given-values" /> 172license.jsp git://github.com/liferay/liferay-portal.git | JavaServer Pages | 723 lines
50 51String errorMessage = (String)request.getAttribute("ERROR_MESSAGE"); 52 55if (Validator.isNotNull(errorMessage)) { 56 error = true; 57} 86 <form class="license-form" method="post" name="license_fm" <%= (clusterNodes.size() > 1) ? "onsubmit=\"return validateForm();\"" : "" %>> 87 <c:if test="<%= Validator.isNotNull(errorMessage) %>"> 88 <div class="alert alert-danger"> 323 324 String curErrorMessage = (String)request.getAttribute(clusterNode.getClusterNodeId() + "_ERROR_MESSAGE"); 325 473 function() { 474 var errorMessage = A.Lang.sub('<liferay-ui:message key="error-contacting-x" />', [ip]); 475render_portlet.jsp git://github.com/liferay/liferay-portal.git | JavaServer Pages | 1141 lines
140catch (PortletException pe) { 141 _log.error(pe, pe); 142} 143catch (RuntimeException re) { 144 _log.error(re, re); 145}portlet.css git://github.com/liferay/liferay-portal.git | CSS | 853 lines
287 288/* ---------- Error messages ---------- */ 289 289 290.lfr-message-error, .portlet-msg-error { 291 @extend .portlet-msg; 292 background-color: #FDD; 293 background-image: url(../images/messages/error.png); 294 border-color: #F00; 318 319.portlet-msg-alert-label, .portlet-msg-error-label, .portlet-msg-info-label, .portlet-msg-progress-label, .portlet-msg-success-label { 320 background: none no-repeat 0 50%; 329 330.portlet-msg-error-label { 331 background-image: url(../images/messages/error.png);upload.js git://github.com/liferay/liferay-portal.git | JavaScript | 962 lines
13 14 var TPL_ERROR_MESSAGE = '<div class="portlet-msg-error">{0}</div>'; 15 31 '<span class="file-title" title="{name}">{name}</span>', 32 '<span class="error-message" title="{error}">{error}</span>', 33 '</li>', 364 365 var error; 366 var file; 378 if (error) { 379 item.error = error; 380 } 402 { 403 error: json.errorMessage, 404 id: li.attr('data-fileId'),portlet.js git://github.com/liferay/liferay-portal.git | JavaScript | 710 lines
298 299 placeHolder.placeAfter('<div class="portlet-msg-error">' + Liferay.Language.get('there-was-an-unexpected-error.-please-refresh-the-current-page') + '</div>'); 300 },swfupload.js git://github.com/liferay/liferay-portal.git | JavaScript | 946 lines
53SWFUpload.version = "2.2.0 Beta 3"; 54SWFUpload.QUEUE_ERROR = { 55 QUEUE_LIMIT_EXCEEDED : -100, 59}; 60SWFUpload.UPLOAD_ERROR = { 61 HTTP_ERROR : -200, 62 MISSING_UPLOAD_URL : -210, 63 IO_ERROR : -220, 64 SECURITY_ERROR : -230, 264 "&useQueryString=", encodeURIComponent(this.settings.use_query_string), 265 "&requeueOnError=", encodeURIComponent(this.settings.requeue_on_error), 266 "&httpSuccess=", encodeURIComponent(httpSuccessString), 382 "\t", "use_query_string: ", this.settings.use_query_string.toString(), "\n", 383 "\t", "requeue_on_error: ", this.settings.requeue_on_error.toString(), "\n", 384 "\t", "http_success: ", this.settings.http_success.join(", "), "\n",BaseAlloyControllerImpl.java git://github.com/liferay/liferay-portal.git | Java | 809 lines
178 protected String buildIncludePath(String viewPath) { 179 if (viewPath.equals(_VIEW_PATH_ERROR)) { 180 return "/WEB-INF/jsp/".concat( 180 return "/WEB-INF/jsp/".concat( 181 portlet.getFriendlyURLMapping()).concat("/views/error.jsp"); 182 } 242 if (portletRequestDispatcher == null) { 243 log.error(includePath + " is not a valid include"); 244 }MailEngine.java git://github.com/liferay/liferay-portal.git | Java | 589 lines
333 catch (SendFailedException sfe) { 334 _log.error(sfe); 335 }EditGroupAction.java git://github.com/liferay/liferay-portal.git | Java | 704 lines
30import com.liferay.portal.kernel.portlet.LiferayPortletConfig; 31import com.liferay.portal.kernel.servlet.SessionErrors; 32import com.liferay.portal.kernel.servlet.SessionMessages; 157 158 SessionErrors.add(actionRequest, e.getClass()); 159 159 160 setForward(actionRequest, "portlet.sites_admin.error"); 161 } 173 174 SessionErrors.add(actionRequest, e.getClass(), e); 175 203 204 SessionErrors.add(renderRequest, e.getClass()); 205CreateAccountAction.java git://github.com/liferay/liferay-portal.git | Java | 479 lines
50import com.liferay.portal.kernel.captcha.CaptchaUtil; 51import com.liferay.portal.kernel.servlet.SessionErrors; 52import com.liferay.portal.kernel.servlet.SessionMessages; 142 143 SessionErrors.add(actionRequest, e.getClass(), e); 144 } 150 catch (NoSuchUserException nsue) { 151 SessionErrors.add(actionRequest, e.getClass(), e); 152 } 183 184 SessionErrors.add(actionRequest, e.getClass(), e); 185 }DDMTemplateLocalServiceImpl.java git://github.com/liferay/liferay-portal.git | Java | 528 lines
195 catch (IOException ioe) { 196 _log.error(ioe); 197 }MediaWikiImporter.java git://github.com/liferay/liferay-portal.git | Java | 714 lines
117 catch (IOException ioe) { 118 throw new ImportFilesException("Error reading the files provided"); 119 } 200 catch (Exception e) { 201 throw new PortalException("Error importing page " + title, e); 202 }InstallPluginAction.java git://github.com/liferay/liferay-portal.git | Java | 559 lines
283 if ((bytes == null) || (bytes.length == 0)) { 284 SessionErrors.add(actionRequest, UploadException.class.getName()); 285 335 catch (MalformedURLException murle) { 336 SessionErrors.add(actionRequest, "invalidUrl", murle); 337 } 386 SessionErrors.add( 387 actionRequest, "errorConnectingToUrl", 388 new Object[] {String.valueOf(responseCode)}); 448 else { 449 if (failOnError) { 450 SessionErrors.add( 460 catch (IOException ioe) { 461 SessionErrors.add(actionRequest, "errorConnectingToUrl", ioe); 462 }EditLayoutsAction.java git://github.com/liferay/liferay-portal.git | Java | 1182 lines
36import com.liferay.portal.kernel.portlet.LiferayPortletConfig; 37import com.liferay.portal.kernel.servlet.SessionErrors; 38import com.liferay.portal.kernel.servlet.SessionMessages; 269 270 SessionErrors.add(actionRequest, e.getClass()); 271 271 272 setForward(actionRequest, "portlet.layouts_admin.error"); 273 } 284 if (e instanceof LayoutFriendlyURLException) { 285 SessionErrors.add( 286 actionRequest, 289 else { 290 SessionErrors.add(actionRequest, e.getClass(), e); 291 }PDFProcessor.java git://github.com/liferay/liferay-portal.git | Java | 0 lines
124 catch (Exception e) { 125 _log.error(e, e); 126 } 159 catch (Exception e) { 160 _log.error(e, e); 161 }VideoProcessor.java git://github.com/liferay/liferay-portal.git | Java | 0 lines
121 catch (Exception e) { 122 _log.error(e, e); 123 } 237 catch (Exception e) { 238 _log.error(e, e); 239 } 314 catch (Exception e) { 315 _log.error(e, e); 316 } 326 catch (Exception e) { 327 _log.error(e, e); 328 } 395 catch (Exception e) { 396 _log.error(e, e); 397 }EditFileEntryAction.java git://github.com/liferay/liferay-portal.git | Java | 855 lines
29import com.liferay.portal.kernel.servlet.ServletResponseUtil; 30import com.liferay.portal.kernel.servlet.SessionErrors; 31import com.liferay.portal.kernel.servlet.SessionMessages; 219 220 SessionErrors.add(renderRequest, e.getClass()); 221 221 222 return mapping.findForward("portlet.document_library.error"); 223 } 283 jsonObject.put("added", Boolean.FALSE); 284 jsonObject.put("errorMessage", errorMessage); 285 jsonObject.put("fileName", fileName); 335 catch (Exception e) { 336 String errorMessage = getAddMultipleFileEntriesErrorMessage( 337 themeDisplay, e);S3Store.java git://github.com/liferay/liferay-portal.git | Java | 706 lines
72 catch (S3ServiceException s3se) { 73 _log.error(s3se.getMessage()); 74 }EditUserAction.java git://github.com/liferay/liferay-portal.git | Java | 727 lines
46import com.liferay.portal.kernel.language.LanguageUtil; 47import com.liferay.portal.kernel.servlet.SessionErrors; 48import com.liferay.portal.kernel.servlet.SessionMessages; 233 234 SessionErrors.add(actionRequest, e.getClass()); 235 235 236 setForward(actionRequest, "portlet.users_admin.error"); 237 } 268 269 SessionErrors.add( 270 actionRequest, 273 else { 274 SessionErrors.add(actionRequest, e.getClass(), e); 275 }EditArticleAction.java git://github.com/liferay/liferay-portal.git | Java | 800 lines
19import com.liferay.portal.kernel.portlet.LiferayWindowState; 20import com.liferay.portal.kernel.servlet.SessionErrors; 21import com.liferay.portal.kernel.upload.FileItem; 251 252 SessionErrors.add(actionRequest, e.getClass()); 253 253 254 setForward(actionRequest, "portlet.journal.error"); 255 } 267 268 SessionErrors.add(actionRequest, e.getClass()); 269 } 273 274 SessionErrors.add(actionRequest, e.getClass(), e); 275 }