Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 2,976 for throwIt (0.05 sec)

  1. src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java

        }
    
        /**
         * Test constructor with null configuration
         */
        @Test
        @DisplayName("Test constructor throws NullPointerException with null configuration")
        public void testConstructorWithNullConfig() {
            // When & Then - should throw NullPointerException since ServerMessageBlock calls config.getPid()
            NullPointerException exception = assertThrows(NullPointerException.class, () -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/TestThread.java

       *
       * @throws TimeoutException if this thread does not offer a response within a reasonable amount of
       *     time
       * @throws AssertionFailedError if the given method name does not match the name of the method
       *     this thread has called most recently
       */
      private Response getResponse(String methodName) throws Exception {
        Response response = responseQueue.poll(TIMEOUT_MILLIS, MILLISECONDS);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/filter/WebApiFilterTest.java

                public boolean authenticate(HttpServletResponse response) throws IOException, ServletException {
                    return false;
                }
    
                @Override
                public void login(String username, String password) throws ServletException {
                }
    
                @Override
                public void logout() throws ServletException {
                }
    
                @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.2K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/plugin/internal/DefaultPluginManager.java

        public void executeMojo(MavenProject project, MojoExecution execution, MavenSession session)
                throws MojoExecutionException, ArtifactResolutionException, MojoFailureException, ArtifactNotFoundException,
                        InvalidDependencyVersionException, PluginManagerException, PluginConfigurationException {
            throw new UnsupportedOperationException();
        }
    
        @Override
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java

         *
         * @param uri the URI to get response data for
         * @param includeContent whether to include content in the response
         * @return the response data
         * @throws CrawlingAccessException if unable to access the URI
         * @throws ChildUrlsException if the URI represents a directory with child URLs
         */
        protected ResponseData getResponseData(final String uri, final boolean includeContent) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

            }
    
            @Override
            public void close() throws IOException {
                stream.close();
                collector.close();
            }
    
            @Override
            public void flush() throws IOException {
                stream.flush();
                collector.flush();
            }
    
            @Override
            public void write(final byte[] b) throws IOException {
                stream.write(b);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java

            assertEquals(fileInfo, result);
        }
    
        @Test
        @DisplayName("Test getInfo with class type - incompatible class throws exception")
        void testGetInfoWithClassIncompatible() throws Exception {
            response = new Smb2QueryInfoResponse(mockConfig, (byte) 1, (byte) 2);
    
            FileInternalInfo fileInfo = new FileInternalInfo();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java

         * @return initialized Mac instance
         * @throws GeneralSecurityException if Mac cannot be created
         */
        private Mac createMacInstance() throws GeneralSecurityException {
            if (this.closed) {
                throw new IllegalStateException("SigningDigest is closed");
            }
            if (this.signingKey == null) {
                throw new IllegalStateException("Signing key has been wiped");
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/DcerpcSecurityProviderTest.java

        }
    
        @Test
        void testWrapMethodThrowsDcerpcException() throws DcerpcException {
            // Configure the mock to throw DcerpcException when wrap is called
            doThrow(new DcerpcException("Test wrap exception")).when(dcerpcSecurityProvider).wrap(mockNdrBuffer);
    
            // Assert that calling wrap throws DcerpcException
            assertThrows(DcerpcException.class, () -> dcerpcSecurityProvider.wrap(mockNdrBuffer));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt

       * otherwise.
       */
      @Throws(IOException::class)
      internal fun planWithCurrentOrInitialConnectionSpec(
        connectionSpecs: List<ConnectionSpec>,
        sslSocket: SSLSocket,
      ): ConnectPlan {
        if (connectionSpecIndex != -1) return this
        return nextConnectionSpec(connectionSpecs, sslSocket)
          ?: throw UnknownServiceException(
            "Unable to find acceptable protocols." +
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 18.6K bytes
    - Viewed (0)
Back to top