Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 2,770 for throwIt (0.24 sec)

  1. guava/src/com/google/common/util/concurrent/SimpleTimeLimiter.java

          throw e;
        } catch (ExecutionException e) {
          wrapAndThrowRuntimeExecutionExceptionOrError(e.getCause());
          throw new AssertionError();
        }
      }
    
      private static Exception throwCause(Exception e, boolean combineStackTraces) throws Exception {
        Throwable cause = e.getCause();
        if (cause == null) {
          throw e;
        }
        if (combineStackTraces) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/msrpc/MsrpcLookupSidsTest.java

            when(mockSid.unwrap(sid_t.class)).thenReturn(mockSidT);
            testSids = new jcifs.SID[] { mockSid };
    
            // Act & Assert - Constructor accepts null, no exception thrown
            assertDoesNotThrow(() -> {
                new MsrpcLookupSids(null, testSids);
            });
        }
    
        @Test
        void constructor_shouldThrowExceptionWithNullSids() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbEnumerationUtil.java

                        throw new SmbUnsupportedOperationException();
                    }
                    throw e;
                }
                try (SmbFile browser = (SmbFile) parent.resolve(addr.getHostAddress())) {
                    try (SmbTreeHandleImpl th = browser.ensureTreeConnected()) {
                        if (th.isSMB2()) {
                            throw new SmbUnsupportedOperationException();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Reader.kt

        handler: Handler,
        length: Int,
        flags: Int,
        streamId: Int,
      ) {
        if (length != 5) throw IOException("TYPE_PRIORITY length: $length != 5")
        if (streamId == 0) throw IOException("TYPE_PRIORITY streamId == 0")
        readPriority(handler, streamId)
      }
    
      @Throws(IOException::class)
      private fun readPriority(
        handler: Handler,
        streamId: Int,
      ) {
        val w1 = source.readInt()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableCollection.java

       * @deprecated Unsupported operation.
       */
      @CanIgnoreReturnValue
      @Deprecated
      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
      public final boolean retainAll(Collection<?> elementsToKeep) {
        throw new UnsupportedOperationException();
      }
    
      /**
       * Guaranteed to throw an exception and leave the collection unmodified.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/base/ThrowablesTest.java

        SomeCheckedException cause = new SomeCheckedException();
        SomeChainingException thrown = new SomeChainingException(cause);
    
        assertThat(thrown).hasCauseThat().isSameInstanceAs(cause);
        assertThat(getCauseAs(thrown, SomeCheckedException.class)).isSameInstanceAs(cause);
        assertThat(getCauseAs(thrown, Exception.class)).isSameInstanceAs(cause);
    
        ClassCastException expected =
            assertThrows(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SpnegoContext.java

            } catch (final CIFSException e) {
                throw new CIFSException("Failed to verify mechanismListMIC", e);
            }
        }
    
        /**
         * @param mechs
         * @return
         * @throws CIFSException
         */
        private static byte[] encodeMechs(final ASN1ObjectIdentifier[] mechs) throws CIFSException {
            try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableSortedMultiset.java

       *
       * <p>This implementation is guaranteed to throw an {@link UnsupportedOperationException}.
       *
       * @throws UnsupportedOperationException always
       * @deprecated Unsupported operation.
       */
      @CanIgnoreReturnValue
      @Deprecated
      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
      public final @Nullable Entry<E> pollFirstEntry() {
        throw new UnsupportedOperationException();
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 29.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/NtlmContext.java

         * @return the Type 3 message to send to the server
         * @throws GeneralSecurityException if a cryptographic error occurs
         * @throws CIFSException if a CIFS protocol error occurs
         */
        protected Type3Message createType3Message(final Type2Message msg2) throws GeneralSecurityException, CIFSException {
            if (this.auth instanceof NtlmNtHashAuthenticator) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/util/SearchEngineUtilTest.java

                @Override
                public XContentBuilder toXContent(XContentBuilder builder, Params params) throws IOException {
                    throw new IOException("Test exception");
                }
            };
    
            try {
                SearchEngineUtil.getXContentString(xContent, XContentType.JSON);
                fail("Should throw IORuntimeException");
            } catch (IORuntimeException e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 13.6K bytes
    - Viewed (0)
Back to top