- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 271 for level1 (0.03 sec)
-
src/test/java/org/codelibs/fess/script/ScriptEngineTest.java
String template = "${level1.level2.value}"; Map<String, Object> paramMap = new HashMap<>(); Map<String, Object> level2 = new HashMap<>(); level2.put("value", "nested"); Map<String, Object> level1 = new HashMap<>(); level1.put("level2", level2); paramMap.put("level1", level1); Object result = scriptEngine.evaluate(template, paramMap);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/StorageExceptionTest.java
// Test multi-level exception chaining Exception level1 = new Exception("Level 1"); RuntimeException level2 = new RuntimeException("Level 2", level1); StorageException level3 = new StorageException("Level 3", level2); assertEquals("Level 3", level3.getMessage()); assertEquals(level2, level3.getCause()); assertEquals("Level 2", level3.getCause().getMessage());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/SsoProcessExceptionTest.java
// Test deeply nested exception causes Exception level3 = new Exception("Level 3: Database connection failed"); Exception level2 = new Exception("Level 2: User lookup failed", level3); Exception level1 = new Exception("Level 1: Authentication service error", level2); SsoProcessException topLevel = new SsoProcessException("SSO process failed", level1); // Verify the chain
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/PluginExceptionTest.java
public void test_multiLevelExceptionChain() { // Test multi-level exception chain Throwable level3 = new NullPointerException("Null value"); Throwable level2 = new IllegalStateException("Invalid state", level3); Throwable level1 = new RuntimeException("Runtime error", level2); PluginException exception = new PluginException("Plugin failure", level1); // Verify the complete chain
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/SsoLoginExceptionTest.java
// Test nested exception handling Exception level3 = new RuntimeException("Level 3 error"); Exception level2 = new IllegalStateException("Level 2 error", level3); Exception level1 = new IOException("Level 1 error", level2); SsoLoginException exception = new SsoLoginException("Top level SSO error", level1); assertEquals("Top level SSO error", exception.getMessage());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.7K bytes - Viewed (0) -
android/guava/src/com/google/common/net/InternetDomainName.java
* Returns the ancestor of the current domain at the given number of levels "higher" (rightward) * in the subdomain list. The number of levels must be non-negative, and less than {@code N-1}, * where {@code N} is the number of parts in the domain. * * <p>TODO: Reasonable candidate for addition to public API. */ private InternetDomainName ancestor(int levels) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 27.9K bytes - Viewed (0) -
okhttp-logging-interceptor/README.md
```java HttpLoggingInterceptor logging = new HttpLoggingInterceptor(); logging.setLevel(Level.BASIC); OkHttpClient client = new OkHttpClient.Builder() .addInterceptor(logging) .build(); ``` You can change the log level at any time by calling `setLevel()`. To log to a custom location, pass a `Logger` instance to the constructor. ```java
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 07 19:32:33 UTC 2025 - 1.3K bytes - Viewed (0) -
okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidLog.kt
if (configuredLoggers.add(logger)) { logger.useParentHandlers = false // log based on levels at startup to avoid logging each frame logger.level = when { Log.isLoggable(tag, Log.DEBUG) -> Level.FINE Log.isLoggable(tag, Log.INFO) -> Level.INFO else -> Level.WARNING } logger.addHandler(AndroidLogHandler) } }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Jul 22 20:03:31 UTC 2025 - 4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/log/Logger.java
public LogMessage(final LogLevel level, final String message) { assertArgumentNotNull("level", level); this.level = level; this.message = message; } /** * Returns the log level. * * @return the log level */ public LogLevel getLevel() { return level; } /**
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 12.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/FessSystemExceptionTest.java
public void test_exceptionChaining() { // Test exception chaining with multiple levels Exception rootCause = new Exception("Root cause"); RuntimeException middleCause = new RuntimeException("Middle cause", rootCause); FessSystemException topException = new FessSystemException("Top level", middleCause); assertEquals("Top level", topException.getMessage()); assertEquals(middleCause, topException.getCause());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.4K bytes - Viewed (0)