예제 #1
0
 /**
  * Prints the specified <tt>exception</tt> as a warning.
  *
  * @param exception the <tt>Exception</tt> we are passed from jain-sip.
  */
 public void logException(Exception exception) {
   logger.warn("the following exception occured in JAIN-SIP: " + exception, exception);
 }
예제 #2
0
 /**
  * Log an exception.
  *
  * @param ex the exception that we are to log.
  */
 public void logException(Throwable ex) {
   logger.warn("Exception in the JAIN-SIP stack: " + ex.getMessage());
   if (logger.isInfoEnabled()) logger.info("JAIN-SIP exception stack trace is", ex);
 }
예제 #3
0
 /**
  * Log a warning message.
  *
  * @param string the warning that we'd like to log
  */
 public void logWarning(String string) {
   logger.warn("Warning from the JAIN-SIP stack" + string);
 }