Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1051 - 1060 of 3,282 for throwIt (0.12 seconds)

  1. src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakResponse.java

        }
    
        @Override
        protected int readBytesWireFormat(byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException {
            int start = bufferIndex;
    
            // StructureSize (2 bytes) - must be 36
            this.structureSize = SMBUtil.readInt2(buffer, bufferIndex);
            if (this.structureSize != 36) {
                throw new SMBProtocolDecodingException("Invalid lease break response structure size: " + this.structureSize);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/HtmlXpathExtractor.java

            }
        }
    
        /**
         * Creates and configures a DOM parser with the specified features and properties.
         *
         * @return a configured DOM parser instance
         * @throws CrawlerSystemException if the parser configuration is invalid
         */
        protected DOMParser getDomParser() {
            try {
                final DOMParser parser = new DOMParser();
                // feature
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sat Oct 04 08:47:19 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/CommonServerMessageBlockTest.java

            // Then
            assertEquals(expectedLength, actualLength);
            verify(messageBlock).decode(buffer, bufferIndex);
        }
    
        @Test
        @DisplayName("Test decode method throws SMBProtocolDecodingException")
        void testDecodeThrowsException() throws SMBProtocolDecodingException {
            // Given
            byte[] buffer = new byte[10];
            int bufferIndex = 0;
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.7K bytes
    - Click Count (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/ExtractorFactory.java

         * @param extractor the extractor to add
         * @throws CrawlerSystemException if the key list is null or empty, or if the extractor is null
         */
        public void addExtractor(final List<String> keyList, final Extractor extractor) {
            if (keyList == null || keyList.isEmpty()) {
                throw new CrawlerSystemException("The key list is empty.");
            }
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sun Nov 23 12:19:14 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/smb2/nego/Smb2RdmaTransformCapabilitiesContext.java

            System.arraycopy(data, 0, dst, dstIndex, data.length);
            return data.length;
        }
    
        @Override
        public int decode(byte[] buffer, int bufferIndex, int len) throws SMBProtocolDecodingException {
            if (len < 20) {
                throw new SMBProtocolDecodingException("Invalid RDMA Transform Capabilities context length: " + len);
            }
    
            int start = bufferIndex;
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/impl/Graph.java

        }
    
        void addEdge(Vertex from, Vertex to) throws CycleDetectedException {
            from.children.add(to);
            to.parents.add(from);
            List<String> cycle = findCycle(to);
            if (cycle != null) {
                // remove edge which introduced cycle
                removeEdge(from, to);
                throw new CycleDetectedException(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.6K bytes
    - Click Count (0)
  7. samples/guide/src/main/java/okhttp3/recipes/CustomTrust.java

              System.out.println(responseHeaders.name(i) + ": " + responseHeaders.value(i));
            }
    
            throw new IOException("Unexpected code " + response);
          }
    
          System.out.println(response.body().string());
        }
      }
    
      public static void main(String... args) throws Exception {
        new CustomTrust().run();
      }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Aug 12 07:26:27 GMT 2021
    - 9.3K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/io/SourceSinkTester.java

        try {
          return new CharSource() {
            @Override
            public Reader openStream() throws IOException {
              return new StringReader(string);
            }
          }.readLines();
        } catch (IOException e) {
          throw new AssertionError();
        }
      }
    
      @Override
      public void tearDown() throws IOException {
        factory.tearDown();
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

      @SuppressLint("NewApi")
      override fun afterEach(context: ExtensionContext) {
        val failure = context.executionException.orElseGet { null }
    
        if (uncaughtException != null) {
          throw failure + AssertionError("uncaught exception thrown during test", uncaughtException)
        }
    
        if (context.isFlaky()) {
          logEvents()
        }
    
        LogManager.getLogManager().reset()
    
        var result: Throwable? = failure
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt

       *
       * If [Call.cancel] is called while this is blocking, this call will immediately throw.
       *
       * @throws IllegalStateException if the response is closed.
       * @throws IOException if the trailers cannot be loaded, such as if the network connection is
       *     dropped.
       */
      @Throws(IOException::class)
      fun trailers(): Headers = trailersSource.get()
    
      /**
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Jul 28 14:39:28 GMT 2025
    - 18.1K bytes
    - Click Count (0)
Back to Top