Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 1,947 for threw (0.04 sec)

  1. src/main/java/jcifs/smb1/dcerpc/DcerpcMessage.java

            if (buf.dec_ndr_small() != 5 || buf.dec_ndr_small() != 0) {
                throw new NdrException("DCERPC version not supported");
            }
            ptype = buf.dec_ndr_small();
            flags = buf.dec_ndr_small();
            if (buf.dec_ndr_long() != 0x00000010) { /* Little-endian / ASCII / IEEE */
                throw new NdrException("Data representation not supported");
            }
            length = buf.dec_ndr_short();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/netbios/NbtSocket.java

                final int errorCode = in.read() & 0xFF;
                close();
                throw new NbtException(NbtException.ERR_SSN_SRVC, errorCode);
            case -1:
                throw new NbtException(NbtException.ERR_SSN_SRVC, NbtException.CONNECTION_REFUSED);
            default:
                close();
                throw new NbtException(NbtException.ERR_SSN_SRVC, 0);
            }
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/internal/duplex/MockSocketHandler.kt

        apply {
          actions += { stream ->
            val actual = stream.source.readUtf8(expected.utf8Size())
            if (actual != expected) throw AssertionError("$actual != $expected")
          }
        }
    
      fun exhaustRequest() =
        apply {
          actions += { stream ->
            if (!stream.source.exhausted()) throw AssertionError("expected exhausted")
          }
        }
    
      fun cancelStream() =
        apply {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/helper/NotificationHelperTest.java

                return OptionalThing.ofNullable(subject, () -> {
                    throw new IllegalStateException("Subject not found");
                });
            }
    
            @Override
            public OptionalThing<String> getSavedPlainText() {
                return OptionalThing.ofNullable(plainText, () -> {
                    throw new IllegalStateException("Plain text not found");
                });
            }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/ContentLengthHelper.java

         */
        public void addMaxLength(final String mimeType, final long maxLength) {
            if (StringUtil.isBlank(mimeType)) {
                throw new CrawlerSystemException("MIME type is a blank.");
            }
            if (maxLength < 0) {
                throw new CrawlerSystemException("The value of maxLength is invalid.");
            }
            maxLengthMap.put(mimeType, maxLength);
        }
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/RecordingExecutor.kt

            return
          }
        }
        throw AssertionError("No such job: $url")
      }
    
      override fun shutdown() {
        shutdown = true
      }
    
      override fun shutdownNow(): List<Runnable> = throw UnsupportedOperationException()
    
      override fun isShutdown(): Boolean = shutdown
    
      override fun isTerminated(): Boolean = throw UnsupportedOperationException()
    
      override fun awaitTermination(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/CloserTest.java

        TestCloseable c2 = closer.register(TestCloseable.normal());
    
        IOException exception = new IOException();
    
        try {
          try {
            throw exception;
          } catch (Throwable e) {
            throw closer.rethrow(e);
          } finally {
            closer.close();
          }
        } catch (Throwable expected) {
          assertSame(exception, expected);
        }
    
        assertTrue(c1.isClosed());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/PreauthIntegrityService.java

            if (sessionId == null || sessionId.isEmpty()) {
                throw new CIFSException("Session ID cannot be null or empty");
            }
            if (salt == null || salt.length < 16) {
                throw new CIFSException("Invalid preauth salt: minimum 16 bytes required");
            }
            if (!isHashAlgorithmSupported(hashAlgorithm)) {
                throw new CIFSException("Unsupported hash algorithm: " + hashAlgorithm);
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/util/transport/Transport.java

                        state = 0;
                        thread = null;
                        throw new TransportException("Connection timeout");
                    case 2:
                        if (te != null) { /* doConnect throw Exception */
                            state = 4; /* error */
                            thread = null;
                            throw te;
                        }
                        state = 3; /* Success! */
                    }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  10. android/guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java

        public T next() {
          try {
            return iterator.next();
          } catch (NoSuchElementException e) {
            nextThrewException = true;
            throw e;
          }
        }
    
        @Override
        public void remove() {
          if (nextThrewException) {
            throw new IllegalStateException();
          }
          iterator.remove();
        }
      }
    
      public void testCanCatchJdkBug6529795InTargetIterator() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 10.3K bytes
    - Viewed (0)
Back to top