- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 226 for level1 (0.05 sec)
-
api/maven-api-core/src/test/java/org/apache/maven/api/services/RequestTraceTest.java
RequestTrace level1 = new RequestTrace("level1", root, "level1-data"); RequestTrace level2 = new RequestTrace("level2", level1, "level2-data"); RequestTrace level3 = new RequestTrace(level2, "level3-data"); // Verify the chain assertNull(root.parent()); assertEquals(root, level1.parent()); assertEquals(level1, level2.parent());
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Mar 21 04:56:21 UTC 2025 - 3.3K 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/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/jcifs/dcerpc/msrpc/MsrpcQueryInformationPolicyTest.java
// Assert assertEquals(level1, queryPolicy1.level); assertEquals(level2, queryPolicy2.level); assertSame(mockPolicyHandle, queryPolicy1.handle); assertSame(mockPolicyHandle2, queryPolicy2.handle); assertSame(mockNdrObject, queryPolicy1.info); assertSame(mockNdrObject2, queryPolicy2.info); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.6K 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) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Logger.java
* * @param level the severity level of the message * @param message the message to be logged */ default void log(@Nonnull Level level, @Nonnull String message) { log(level, message, null); } /** * Logs a message at the specified level with an associated exception. * * @param level the severity level of the message
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jan 31 20:56:58 UTC 2025 - 4.9K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelProblem.java
* These versions correspond to different levels of validation that can be applied * during model building, based on the POM schema version. * <p> * The validation levels are cumulative, with higher versions including all validations * from lower versions plus additional checks specific to that version. */ enum Version { /** * Base validation level that applies to all POM versions.
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Aug 07 14:31:13 UTC 2025 - 2.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/FileInformation.java
* Defines common functionality for various SMB2/SMB3 file information classes used in * query and set file information operations, with constants for information levels. * * @author mbechler */ public interface FileInformation extends Decodable, Encodable { // information levels /** * File end-of-file information class constant. */ byte FILE_ENDOFFILE_INFO = 20; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.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)