Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 451 - 460 of 3,747 for throw (0.03 seconds)

  1. src/main/java/jcifs/smb1/ntlmssp/Type1Message.java

        }
    
        private void parse(final byte[] material) throws IOException {
            for (int i = 0; i < 8; i++) {
                if (material[i] != NTLMSSP_SIGNATURE[i]) {
                    throw new IOException("Not an NTLMSSP message.");
                }
            }
            if (readULong(material, 8) != 1) {
                throw new IOException("Not a Type 1 message.");
            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/ArrayTable.java

          if (index == null) {
            throw new IllegalArgumentException(
                getKeyRole() + " " + key + " not in " + keyIndex.keySet());
          }
          return setValue(index, value);
        }
    
        @Override
        public @Nullable V remove(@Nullable Object key) {
          throw new UnsupportedOperationException();
        }
    
        @Override
        public void clear() {
          throw new UnsupportedOperationException();
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 26.9K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb/SmbTransportPoolImplTest.java

        }
    
        @Test
        @DisplayName("Should throw UnknownHostException for empty address list")
        void testUnknownHostException() throws Exception {
            // Given: No addresses returned
            when(nameSvc.getAllByName(eq("unknown.host"), eq(true))).thenReturn(new Address[0]);
    
            // When/Then: Should throw UnknownHostException
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 19.2K bytes
    - Click Count (0)
  4. src/test/java/jcifs/util/StringsTest.java

            }
    
            @Test
            @DisplayName("findUNITermination should throw exception when termination not found")
            void testFindUNITerminationNotFound() {
                // Given
                byte[] bufferWithoutTermination = "Hello".getBytes(StandardCharsets.UTF_16LE);
    
                // When & Then - the implementation throws ArrayIndexOutOfBoundsException when buffer bounds are exceeded
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.6K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/math/ToDoubleRounder.java

                case HALF_UP:
                  return (sign(x) >= 0) ? roundCeilingAsDouble : roundFloorAsDouble;
                default:
                  throw new AssertionError("impossible");
              }
            }
        }
        throw new AssertionError("impossible");
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 04:51:56 GMT 2026
    - 5.7K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/smb2/Smb2TransformHeader.java

            } else if (nonce.length == 16) {
                // For GCM cipher, use full 16-byte nonce
                System.arraycopy(nonce, 0, this.nonce, 0, 16);
            } else {
                throw new IllegalArgumentException("Nonce must be 12 bytes (CCM) or 16 bytes (GCM)");
            }
            this.originalMessageSize = originalMessageSize;
            this.flags = flags;
            this.sessionId = sessionId;
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/util/concurrent/Monitor.java

      }
    
      /**
       * Enters this monitor when the guard is satisfied. Blocks indefinitely, but may be interrupted.
       *
       * @throws InterruptedException if interrupted while waiting
       */
      public void enterWhen(Guard guard) throws InterruptedException {
        if (guard.monitor != this) {
          throw new IllegalMonitorStateException();
        }
        ReentrantLock lock = this.lock;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jan 28 22:39:02 GMT 2026
    - 43.5K bytes
    - Click Count (0)
  8. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/DependenciesGraphPlugin.java

        }
    
        static class DependenciesGraphHookPlugin implements Plugin<Project> {
    
            @Override
            public void apply(Project project) {
                if (project != project.getRootProject()) {
                    throw new IllegalStateException(this.getClass().getName() + " can only be applied to the root project.");
                }
                final String url = System.getenv("SCA_URL");
                final String token = System.getenv("SCA_TOKEN");
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 2.8K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RouteSelector.kt

       */
      operator fun hasNext(): Boolean = hasNextProxy() || postponedRoutes.isNotEmpty()
    
      @Throws(IOException::class)
      operator fun next(): Selection {
        if (!hasNext()) throw NoSuchElementException()
    
        // Compute the next set of routes to attempt.
        val routes = mutableListOf<Route>()
        while (hasNextProxy()) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Oct 08 03:50:05 GMT 2025
    - 7.3K bytes
    - Click Count (2)
  10. src/test/java/org/codelibs/fess/job/CrawlJobTest.java

            }
        }
    
        @Override
        protected void setUp(TestInfo testInfo) throws Exception {
            super.setUp(testInfo);
            crawlJob = new CrawlJob();
        }
    
        @Override
        protected void tearDown(TestInfo testInfo) throws Exception {
            super.tearDown(testInfo);
        }
    
        // Test constructor and field initialization
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 25K bytes
    - Click Count (0)
Back to Top