NSLog._conditionallyLogPrivateException(exception); NSLog._conditionallyLogPrivateException(exception); method = null; NSLog._conditionallyLogPrivateException(exception); NSLog._conditionallyLogPrivateException(exception); method = null;
public boolean nearNextScheduledShutdown(NSTimestamp rightNow) { long temp; temp = Math.abs(_nextScheduledShutdown.timeIntervalSinceTimestamp(rightNow)); if (temp < halfHourAsSeconds) { if (NSLog.debugLoggingAllowedForLevelAndGroups(NSLog.DebugLevelInformational, NSLog.DebugGroupDeployment)) NSLog.debug.appendln("nearNextScheduledShutdown TRUE"); return true; } if (NSLog.debugLoggingAllowedForLevelAndGroups(NSLog.DebugLevelInformational, NSLog.DebugGroupDeployment)) NSLog.debug.appendln("nearNextScheduledShutdown FALSE"); return false; }
return Byte.class; if (NSLog.debugLoggingAllowedForLevel(NSLog.DebugLevelInformational)) NSLog.debug.appendln(new StringBuilder().append("value type '").append(_valueTypeChar()).append("' on attribute \"").append(name()).append("\" of entity \"").append(entity().name()).append("\" is invalid.\nYou should fix your EOModel.").toString()); return Integer.class;
if (NSLog.debugLoggingAllowedForLevelAndGroups(NSLog.DebugLevelInformational, NSLog.DebugGroupDatabaseAccess)) if (NSLog.debugLoggingAllowedForLevel(NSLog.DebugLevelDetailed)) NSLog.debug.appendln(new RuntimeException("Deprecated implicit bytes->String conversion. Assuming UTF-8 encoding.")); else if (NSLog.debugLoggingAllowedForLevelAndGroups(NSLog.DebugLevelInformational, NSLog.DebugGroupDatabaseAccess)) if (NSLog.debugLoggingAllowedForLevel(NSLog.DebugLevelDetailed)) NSLog.debug.appendln(new RuntimeException("Deprecated implicit bytes->String conversion. Assuming UTF-8 encoding.")); else
try { value = _valueFactoryMethod.invoke(valueFactoryClass()==null?_valueClass:valueFactoryClass(), _NSStringUtilities.bytesForString(str, CharEncoding.UTF_8)); if (!NSLog.debugLoggingAllowedForLevelAndGroups(NSLog.DebugLevelInformational, NSLog.DebugGroupDatabaseAccess)) break; if (NSLog.debugLoggingAllowedForLevel(NSLog.DebugLevelDetailed)) NSLog.debug.appendln(new RuntimeException("Deprecated implicit String->bytes conversion. Assuming UTF-8 encoding.")); else try { value = _valueFactoryMethod.invoke(valueFactoryClass()==null?_valueClass:valueFactoryClass(), new NSData(str, CharEncoding.UTF_8)); if (!NSLog.debugLoggingAllowedForLevelAndGroups(NSLog.DebugLevelInformational, NSLog.DebugGroupDatabaseAccess)) break; if (NSLog.debugLoggingAllowedForLevel(NSLog.DebugLevelDetailed)) NSLog.debug.appendln(new RuntimeException("Deprecated implicit String->NSData conversion. Assuming UTF-8 encoding.")); else
fis.close(); } catch (java.io.IOException e) { if (NSLog.debugLoggingAllowedForLevelAndGroups(NSLog.DebugLevelInformational, NSLog.DebugGroupIO)) { NSLog.debug.appendln("Exception while closing file input stream: " + e.getMessage()); NSLog.debug.appendln(e);
try { value = _valueFactoryMethod.invoke(valueFactoryClass()==null?_valueClass:valueFactoryClass(), _NSStringUtilities.stringForBytes(bytes, CharEncoding.UTF_8)); if (!NSLog.debugLoggingAllowedForLevelAndGroups(NSLog.DebugLevelInformational, NSLog.DebugGroupDatabaseAccess)) break; if (NSLog.debugLoggingAllowedForLevel(NSLog.DebugLevelDetailed)) NSLog.debug.appendln(new RuntimeException("Deprecated implicit bytes->String conversion. Assuming UTF-8 encoding.")); else
NSLog._conditionallyLogPrivateException(illegalargumentexception); NSLog._conditionallyLogPrivateException(parseexception);
if (NSLog.debugLoggingAllowedForLevel(2)) NSLog.debug.appendln(new StringBuilder().append("value type '").append(_valueTypeChar()).append("' on attribute \"").append(name()).append("\" of entity \"").append(entity().name()).append("\" is invalid.\nYou should fix your EOModel.").toString()); valueClass = Integer.class;
fis.close(); } catch (IOException e) { if (NSLog.debugLoggingAllowedForLevelAndGroups(NSLog.DebugLevelInformational, NSLog.DebugGroupIO)) { NSLog.debug.appendln("Exception while closing file input stream: " + e.getMessage()); NSLog.debug.appendln(e);
} catch (NumberFormatException e) { NSLog._conditionallyLogPrivateException(e);
if (NSLog.debugLoggingAllowedForLevel(NSLog.DebugLevelDetailed)) { NSLog.debug.appendln("Loading jdbcInfo from H2JDBCInfo.plist as opposed to using the JDBCPlugIn default implementation.");
if (NSLog.debugLoggingAllowedForLevelAndGroups(3, 0x0L)) { NSLog.debug.appendln("Found a quoted string: " + quotedStringKey + "='" + token + "';");
NSLog._conditionallyLogPrivateException(exception); aValidationException = exception;
_configDirectoryPath = _configDirectoryPath + _fS; if (NSLog.debugLoggingAllowedForLevelAndGroups(NSLog.DebugLevelDetailed, NSLog.DebugGroupDeployment)) { NSLog.debug.appendln("configDirectoryPath = " + _configDirectoryPath);
NSLog._conditionallyLogPrivateException(e); max = 0;
public void run() { setResult(null); _done = false; _doneAndRefreshed = false; String name = getClass().getName(); if (NSLog.debugLoggingAllowedForLevelAndGroups(NSLog.DebugLevelDetailed, NSLog.DebugGroupWebObjects)) { NSLog.debug.appendln("<"+name+">: creating computation thread"); } // called to start new thread // We need to catch the possible exceptions too. try { setResult(performAction()); } catch (Exception localException) { _setException(localException); NSLog.err.appendln("<"+getClass().getName()+"> long response thread raised : "+localException.toString()); NSLog.err.appendln("STACK TRACE:"); NSLog.err.appendln(localException); } if (NSLog.debugLoggingAllowedForLevelAndGroups(NSLog.DebugLevelDetailed, NSLog.DebugGroupWebObjects)) { NSLog.debug.appendln("<"+name+">: exiting computation thread"); } _done = true; }
private static WOElement _elementWithClass(Class class1, WODeclaration wodeclaration, WOElement woelement) { WOElement woelement1 = WOApplication.application().dynamicElementWithName(class1.getName(), wodeclaration.associations(), woelement, null); if (NSLog.debugLoggingAllowedForLevelAndGroups(3, 8388608L)) { NSLog.debug.appendln("<WOHTMLWebObjectTag> Created Dynamic Element with name :" + class1.getName()); NSLog.debug.appendln("Declaration : " + wodeclaration); NSLog.debug.appendln("Element : " + woelement1.toString()); } return woelement1; }
Class aClass = _NSUtilities.classWithName(className); if (aClass == null) { if (NSLog.debugLoggingAllowedForLevelAndGroups(2, 128L)) NSLog.debug.appendln(new StringBuilder().append("Unable to find the class ").append(className).append(" in the Java runtime. Unable to validate. Please check your CLASSPATH, or the type for attribute ").append(name()).toString()); return valueP;
String s1 = wodeclaration.type(); if (s1 != null) { if (NSLog.debugLoggingAllowedForLevelAndGroups(3, 8388608L)) { NSLog.debug.appendln("<WOHTMLWebObjectTag> will look for " + s1 + " in the java runtime."); if (NSLog.debugLoggingAllowedForLevelAndGroups(3, 8388608L)) { NSLog.debug.appendln("<WOHTMLWebObjectTag> will look for com.webobjects.appserver._private." + s1 + " ."); if (NSLog.debugLoggingAllowedForLevelAndGroups(3, 8388608L)) { NSLog.debug.appendln("<WOHTMLWebObjectTag> Will initialize object of class " + s1); if (NSLog.debugLoggingAllowedForLevelAndGroups(3, 8388608L)) { NSLog.debug.appendln("<WOHTMLWebObjectTag> will look for " + s1 + " in the Compiled Components."); if (NSLog.debugLoggingAllowedForLevelAndGroups(3, 8388608L)) { NSLog.debug.appendln("<WOHTMLWebObjectTag> will look for " + s1 + " in the Frameworks.");