Search Options

Results per page
Sort
Preferred Languages
Advance

Results 921 - 930 of 4,648 for new1 (0.04 sec)

  1. src/test/java/org/codelibs/fess/exception/SsoLoginExceptionTest.java

        public void test_nestedExceptions() {
            // 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);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaConnection.java

                state = RdmaConnectionState.ERROR;
                throw new IOException("TCP RDMA connection failed", e);
            }
        }
    
        @Override
        public void send(ByteBuffer data, RdmaMemoryRegion region) throws IOException {
            if (state != RdmaConnectionState.ESTABLISHED && state != RdmaConnectionState.CONNECTED) {
                throw new IOException("Connection not established");
            }
    
            try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/UniAddressTest.java

            // Act
            UniAddress ua = new UniAddress(dummy);
            // Assert
            assertSame(dummy, ua.getAddress(), "constructor should store the supplied address");
        }
    
        @Test
        void constructorRejectsNull() {
            // Expect constructor to throw IllegalArgumentException when passed null
            assertThrows(IllegalArgumentException.class, () -> new UniAddress(null));
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/msrpc/SamrPolicyHandleTest.java

            int access = 123;
    
            // No exception thrown by sendrecv for MsrpcSamrConnect4
            doNothing().when(mockHandle).sendrecv(any(MsrpcSamrConnect4.class));
    
            try (SamrPolicyHandle handle = new SamrPolicyHandle(mockHandle, server, access)) {
                assertNotNull(handle);
                // Verify that sendrecv was called with MsrpcSamrConnect4
                verify(mockHandle, times(1)).sendrecv(any(MsrpcSamrConnect4.class));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/ProtoSession.java

            try {
                return new Builder(
                        getUserProperties(), getSystemProperties(), getStartTime(), getTopDirectory(), getRootDirectory());
            } catch (IllegalStateException e) {
                return new Builder(getUserProperties(), getSystemProperties(), getStartTime(), getTopDirectory(), null);
            }
        }
    
        /**
         * Returns new builder from scratch.
         */
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jul 03 14:18:26 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/impl/MimeTypeHelperImpl.java

            } catch (final Exception e) {
                throw new CrawlerSystemException("Could not initialize MimeTypeHelper.", e);
            }
        }
    
        @Override
        public String getContentType(final InputStream is, final String filename) {
            final Map<String, String> params = new HashMap<>();
            params.put(ExtractData.RESOURCE_NAME_KEY, filename);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  7. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlNode.java

        }
    
        /**
         * Creates a new XmlNode instance with the specified name.
         *
         * @param name the name for the new node
         * @return a new XmlNode instance
         * @throws NullPointerException if name is null
         */
        static XmlNode newInstance(String name) {
            return newBuilder().name(name).build();
        }
    
        /**
         * Creates a new XmlNode instance with the specified name and value.
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Jul 19 11:09:56 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/curl/CurlResponseTest.java

            assertArrayEquals(new String[] { "application/json", "text/html" }, acceptValues);
            assertArrayEquals(new String[] { "application/json", "text/html" }, acceptValuesLowercase);
            assertArrayEquals(new String[0], missingValues);
        }
    
        @Test
        public void testGetHeaderValueMultipleValues() {
            CurlResponse response = new CurlResponse();
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/cache/NullCacheTest.java

        listener = queuingRemovalListener();
      }
    
      public void testGet() {
        Object computed = new Object();
        LoadingCache<Object, Object> cache =
            CacheBuilder.newBuilder()
                .maximumSize(0)
                .removalListener(listener)
                .build(constantLoader(computed));
    
        Object key = new Object();
        assertSame(computed, cache.getUnchecked(key));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/cache/NullCacheTest.java

        listener = queuingRemovalListener();
      }
    
      public void testGet() {
        Object computed = new Object();
        LoadingCache<Object, Object> cache =
            CacheBuilder.newBuilder()
                .maximumSize(0)
                .removalListener(listener)
                .build(constantLoader(computed));
    
        Object key = new Object();
        assertSame(computed, cache.getUnchecked(key));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.4K bytes
    - Viewed (0)
Back to top