If the logger is currently enabled for the SEVERE message level then the given message is forwarded to all the registered output Handler objects.
@param msg The string message (or a key in the message catalog)
192193194195196197198199200201202
} catch(OutOfMemoryError e) { CauseMemoryException ce = new CauseMemoryException( "Out of memory error while RssItunesItem unencodedDeserialize ", e); //#ifdef DLOGGING Logger logger = Logger.getLogger("RssItunesItem"); logger.severe(ce.getMessage(), e); //#endif System.err.println(ce.getMessage() + " " + e.toString()); e.printStackTrace(); throw ce; }
220221222223224225226227228229230
} catch(Exception e) { CauseException ce = new CauseException( "Internal error while RssItunesItem deserialize ", e); //#ifdef DLOGGING Logger logger = Logger.getLogger("RssItunesItem"); logger.severe(ce.getMessage(), e); //#endif System.err.println(ce.getMessage() + " " + e.toString()); e.printStackTrace(); throw ce; } catch(OutOfMemoryError e) {
230231232233234235236237238239240
} catch(OutOfMemoryError e) { CauseMemoryException ce = new CauseMemoryException( "Out of memory error while RssItunesItem deserialize ", e); //#ifdef DLOGGING Logger logger = Logger.getLogger("RssItunesItem"); logger.severe(ce.getMessage(), e); //#endif System.err.println(ce.getMessage() + " " + e.toString()); e.printStackTrace(); throw ce; }
288289290291292293294295296297298
"key=" + aKey); System.err.println(e.getMessage()); e.printStackTrace(); //#ifdef DLOGGING Logger logger = Logger.getLogger("ResourceProviderME"); logger.severe(e.getMessage(), e); //#endif return aKey; } return tmpResult; }
190191192193194195196197198199200
// #1: Parse the request final JSONRequest request; try { request = new JSONRequest(jsonReq); } catch (JSONException e) { logger.severe("no method or parameters in request"); return new JSONRPCResult(JSONRPCResult.CODE_ERR_NOMETHOD, null, JSONRPCResult.MSG_ERR_NOMETHOD); } if (logger.isLoggable(Level.FINE)) { logger.log(Level.FINE, "call {0}", request.toString());
283284285286287288289290291292293
cookies = HttpCookie.parse(headerValue); } catch (IllegalArgumentException e) { // Bogus header, make an empty list and log the error cookies = java.util.Collections.emptyList(); if (logger.isLoggable(PlatformLogger.Level.SEVERE)) { logger.severe("Invalid cookie for " + uri + ": " + headerValue); } } for (HttpCookie cookie : cookies) { if (cookie.getPath() == null) { // If no path is specified, then by default