Search Options

Results per page
Sort
Preferred Languages
Advance

Results 561 - 570 of 2,976 for throw (0.02 sec)

  1. src/test/java/jcifs/smb/SmbTreeHandleInternalTest.java

        void ensureDFSResolved_throws() throws Exception {
            // Arrange: configure the mock to throw
            doThrow(new CIFSException("DFS resolution failed")).when(handle).ensureDFSResolved();
    
            // Act + Assert: exception is propagated with message
            CIFSException ex = assertThrows(CIFSException.class, () -> handle.ensureDFSResolved());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/DirFileEntryEnumIteratorBase.java

         * {@inheritDoc}
         *
         * @see java.lang.AutoCloseable#close()
         */
        @Override
        public void close() throws CIFSException {
            if (this.next != null) {
                doClose();
            }
        }
    
        @Override
        public void remove() {
            throw new UnsupportedOperationException("remove");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  3. docs/smb3-features/06-witness-protocol-design.md

                throw new IOException("Witness unregister RPC failed", e);
            }
        }
        
        public WitnessHeartbeatResponse heartbeat(WitnessHeartbeatRequest request) throws IOException {
            try {
                WitnessHeartbeatStub stub = new WitnessHeartbeatStub(request);
                handle.sendrecv(stub);
                return stub.getResponse();
            } catch (Exception e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 42K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/dcerpc/msrpc/samrTest.java

                when(mockDeferredBuffer.dec_ndr_long()).thenReturn(-1); // Invalid _name_buffers
    
                // When/Then: Should throw exception
                NdrException thrown = assertThrows(NdrException.class, () -> entry.decode(mockNdrBuffer));
                assertEquals(NdrException.INVALID_CONFORMANCE, thrown.getMessage());
            }
        }
    
        @Nested
        @DisplayName("SamrSamArray Tests")
        class SamrSamArrayTests {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 33.6K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/mylasta/direction/FessEnvTest.java

                emptyEnv.get("non.existent.property");
                fail("Should throw ConfigPropertyNotFoundException");
            } catch (ConfigPropertyNotFoundException e) {
                assertTrue(e.getMessage().contains("non.existent.property"));
            }
    
            try {
                emptyEnv.is("non.existent.boolean");
                fail("Should throw ConfigPropertyNotFoundException");
            } catch (ConfigPropertyNotFoundException e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java

         * @param listener the response listener
         * @throws UnsupportedOperationException always thrown as this operation is not implemented
         */
        @Override
        public void searchView(org.opensearch.action.admin.indices.view.SearchViewAction.Request request,
                ActionListener<SearchResponse> listener) {
            throw new UnsupportedOperationException("Not implemented yet");
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 121.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/dcerpc/msrpc/SamrDomainHandle.java

            handle.sendrecv(rpc);
            if (rpc.retval != 0) {
                throw new SmbException(rpc.retval, false);
            }
        }
    
        /**
         * Closes this SAM domain handle.
         *
         * @throws IOException if an I/O error occurs during handle closure
         */
        public void close() throws IOException {
            final MsrpcSamrCloseHandle rpc = new MsrpcSamrCloseHandle(this);
            handle.sendrecv(rpc);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/dcerpc/msrpc/SamrPolicyHandle.java

                    throw de;
                }
    
                final MsrpcSamrConnect2 rpc2 = new MsrpcSamrConnect2(server, access, this);
                handle.sendrecv(rpc2);
            }
        }
    
        /**
         * Closes this SAM policy handle.
         *
         * @throws IOException if an I/O error occurs during handle closure
         */
        public void close() throws IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt

        if (!"Upgrade".equals(headerConnection, ignoreCase = true)) {
          throw ProtocolException(
            "Expected 'Connection' header value 'Upgrade' but was '$headerConnection'",
          )
        }
    
        val headerUpgrade = response.header("Upgrade")
        if (!"websocket".equals(headerUpgrade, ignoreCase = true)) {
          throw ProtocolException(
            "Expected 'Upgrade' header value 'websocket' but was '$headerUpgrade'",
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 21.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/xml/DocumentBuilderFactoryUtil.java

                    }
                }
            }
            try {
                factory.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, true);
            } catch (final ParserConfigurationException e) {
                throw new ParserConfigurationRuntimeException(e);
            }
            return factory;
        }
    
        /**
         * Creates a new {@link DocumentBuilder}.
         *
         * @return A new {@link DocumentBuilder}.
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2.9K bytes
    - Viewed (0)
Back to top