Examples of logError()


Examples of gov.nist.core.StackLogger.logError()

                        this.rawInputStream.stopTimer();
                        continue;
                    }
                } catch (ParseException ex) {
                    // Just ignore the parse exception.
                    stackLogger.logError("Detected a parse error", ex);
                    continue;
                }

                if (Debug.debug) {
                    Debug.println("Completed parsing message");
View Full Code Here

Examples of gov.nist.core.StackLogger.logError()

                                nread += readlength;
                            } else {
                                break;
                            }
                        } catch (IOException ex) {
                            stackLogger.logError("Exception Reading Content",ex);
                            break;
                        } finally {
                            // Stop my starvation timer.
                            this.rawInputStream.stopTimer();
                        }
View Full Code Here

Examples of gov.nist.core.StackLogger.logError()

                                      sipStack.sipEventInterceptor.beforeMessage(messagesForCallID.peek());
                                    }
                                    try {                                                                               
                                        semaphore.acquire();                                       
                                    } catch (InterruptedException e) {
                                        stackLogger.logError("Semaphore acquisition for callId " + callId + " interrupted", e);
                                    }
                                    // once acquired we get the first message to process
                                    SIPMessage message = messagesForCallID.poll();
                                    if (stackLogger.isLoggingEnabled(StackLogger.TRACE_DEBUG)) {
                                        stackLogger.logDebug("semaphore acquired for message " + message);
View Full Code Here

Examples of gov.nist.core.StackLogger.logError()

                                    }
                                   
                                    try {
                                        sipMessageListener.processMessage(message);
                                    } catch (Exception e) {
                                        stackLogger.logError("Error occured processing message", e);   
                                        // We do not break the TCP connection because other calls use the same socket here
                                    } finally {                                       
                                        if(callIDOrderingStructure.getMessagesForCallID().size() <= 0) {
                                            messagesOrderingMap.remove(callId);
                                            if (stackLogger.isLoggingEnabled(StackLogger.TRACE_DEBUG)) {
View Full Code Here

Examples of helma.framework.core.Application.logError()

                msg = x.toString();
            }
            retval.put("error", retval, msg);

            Application app = RhinoCore.getCore().getApplication();
            app.logError(msg, x);
        }

        return retval;

    }
View Full Code Here

Examples of net.fortytwo.ripple.RippleException.logError()

                e = new RippleException(t);
            }

            try {
                e.logError();
            } catch (Throwable secondary) {
                System.out.println("failed to log error: " + t);
            }
        }
View Full Code Here

Examples of net.sourceforge.processdash.ui.lib.ErrorReporter.logError()

        ErrorReporter errorReporter = new ErrorReporter(
                resources.getString("Broken_Data_Title"),
                resources.getStrings("Broken_Data_Header"),
                resources.getStrings("Broken_Data_Footer"));
        for (String dataPrefix : warnings.keySet())
            errorReporter.logError(dataPrefix);
        errorReporter.done();
    }

    private Map<String, List<String>> findMissingMcfProjects(
            Map<String, String> warnings) {
View Full Code Here

Examples of net.sourceforge.processdash.ui.lib.ErrorReporter.logError()

            (resources.getString("Error_Dialog.Title"),
             resources.getStrings("Error_Dialog.Head"),
             footer);
        Iterator i = errors.keySet().iterator();
        while (i.hasNext()) {
            err.logError(StringUtils.findAndReplace((String) i.next(), //
                "\n#", "\n#http://ignored/"));
        }
        err.setHyperlinkListener(new HyperlinkListener() {
            public void hyperlinkUpdate(HyperlinkEvent e) {
                if (e.getEventType() == HyperlinkEvent.EventType.ACTIVATED) {
View Full Code Here

Examples of org.apache.derby.impl.store.replication.ReplicationLogger.logError()

                // recovery on a failover, there will be no connection attempt
                // failing with the error. New connection attempts will just
                // hang...

                ReplicationLogger rl = new ReplicationLogger(dbname);
                rl.logError(MessageId.REPLICATION_FATAL_ERROR, e);
               
                if (e instanceof StandardException) {
                    handleShutdown((StandardException)e);
                }
            }
View Full Code Here

Examples of org.apache.derby.impl.store.replication.ReplicationLogger.logError()

                // recovery on a failover, there will be no connection attempt
                // failing with the error. New connection attempts will just
                // hang...

                ReplicationLogger rl = new ReplicationLogger(dbname);
                rl.logError(MessageId.REPLICATION_FATAL_ERROR, e);
               
                if (e instanceof StandardException) {
                    handleShutdown((StandardException)e);
                }
            }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.