Search Options

Results per page
Sort
Preferred Languages
Advance

Results 611 - 620 of 1,947 for threw (0.15 sec)

  1. src/main/java/jcifs/smb/SID.java

            this.identifier_authority = new byte[6];
            System.arraycopy(src, si, this.identifier_authority, 0, 6);
            si += 6;
            if (this.sub_authority_count > 100) {
                throw new RuntimeCIFSException("Invalid SID sub_authority_count");
            }
            this.sub_authority = new int[this.sub_authority_count];
            for (int i = 0; i < this.sub_authority_count; i++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/exception/ResultOffsetExceededExceptionTest.java

        }
    
        public void test_throwAndCatch() {
            // Test throwing and catching the exception
            String expectedMessage = "Offset limit exceeded: 10000";
    
            try {
                throw new ResultOffsetExceededException(expectedMessage);
            } catch (ResultOffsetExceededException e) {
                assertEquals(expectedMessage, e.getMessage());
                assertNull(e.getCause());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoResponseTest.java

            SMBProtocolDecodingException exception =
                    assertThrows(SMBProtocolDecodingException.class, () -> response.readBytesWireFormat(buffer, bufferIndex),
                            "Should throw SMBProtocolDecodingException for invalid structure size");
    
            assertEquals("Expected structureSize = 2", exception.getMessage());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt

        clientListener.setNextEventDelegate(
          object : WebSocketListener() {
            override fun onOpen(
              webSocket: WebSocket,
              response: Response,
            ): Unit = throw e
          },
        )
        newWebSocket()
        serverListener.assertOpen()
        serverListener.assertFailure(EOFException::class.java)
        serverListener.assertExhausted()
        clientListener.assertFailure(e)
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Tables.java

            @ParametricNullness V value) {
          throw new UnsupportedOperationException();
        }
    
        @Override
        public void putAll(Table<? extends R, ? extends C, ? extends V> table) {
          throw new UnsupportedOperationException();
        }
    
        @Override
        public @Nullable V remove(@Nullable Object rowKey, @Nullable Object columnKey) {
          throw new UnsupportedOperationException();
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/exception/FessSystemExceptionTest.java

        }
    
        public void test_throwAndCatch() {
            // Test throwing and catching the exception
            String expectedMessage = "Expected error";
            try {
                throw new FessSystemException(expectedMessage);
            } catch (FessSystemException e) {
                assertEquals(expectedMessage, e.getMessage());
                assertNull(e.getCause());
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/helper/JobHelperTest.java

        }
    
        public void test_register_with_null_scheduledJob() {
            try {
                jobHelper.register((ScheduledJob) null);
                fail("Should throw ScheduledJobException");
            } catch (ScheduledJobException e) {
                assertEquals("No job.", e.getMessage());
            } catch (Exception e) {
                // Expected due to missing dependencies in test environment
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Handshake.kt

              "TLS_NULL_WITH_NULL_NULL", "SSL_NULL_WITH_NULL_NULL" -> {
                throw IOException("cipherSuite == $cipherSuiteString")
              }
    
              else -> CipherSuite.forJavaName(cipherSuiteString)
            }
    
          val tlsVersionString = checkNotNull(protocol) { "tlsVersion == null" }
          if ("NONE" == tlsVersionString) throw IOException("tlsVersion == NONE")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Apr 05 09:48:10 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ResolutionNode.java

                for (Artifact a : artifacts) {
                    if (parents.contains(a.getDependencyConflictId())) {
                        a.setDependencyTrail(getDependencyTrail());
    
                        throw new CyclicDependencyException("A dependency has introduced a cycle", a);
                    }
    
                    children.add(new ResolutionNode(a, remoteRepositories, this));
                }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/EncodableTest.java

            Encodable enc = new ByteEncodable(src, 0, 5);
            byte[] dst = new byte[4]; // too small
    
            assertThrows(ArrayIndexOutOfBoundsException.class, () -> enc.encode(dst, 0),
                    "System.arraycopy should throw for insufficient destination space");
        }
    
        @Test
        @DisplayName("encode() throws when dstIndex causes overflow")
        void encodeThrowsWhenDstIndexCausesOverflow() {
            byte[] src = makeSeq(5);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
Back to top