Search Options

Results per page
Sort
Preferred Languages
Advance

Results 851 - 860 of 1,812 for rethrow (0.05 sec)

  1. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/BootstrapDns.kt

      private val dnsServers: List<InetAddress>,
    ) : Dns {
      @Throws(UnknownHostException::class)
      override fun lookup(hostname: String): List<InetAddress> {
        if (this.dnsHostname != hostname) {
          throw UnknownHostException(
            "BootstrapDns called for $hostname instead of $dnsHostname",
          )
        }
    
        return dnsServers
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ArrayTableRowMapTest.java

      Table<String, Integer, Character> makeTable() {
        return ArrayTable.create(asList("foo", "bar", "dog"), asList(1, 2, 3));
      }
    
      @Override
      protected Map<String, Map<Integer, Character>> makeEmptyMap() {
        throw new UnsupportedOperationException();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/beans/util/BeanMap.java

        /**
         * Creates a new {@link BeanMap}.
         */
        public BeanMap() {
        }
    
        @Override
        public Object get(final Object key) {
            if (!containsKey(key)) {
                throw new IllegalKeyOfBeanMapException(key, this);
            }
            return super.get(key);
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/net/NetServerEnum2Test.java

            // Set subcommand to NET_SERVER_ENUM3 without setting lastName
            setFieldValue(netServerEnum2, "subCommand", SmbComTransaction.NET_SERVER_ENUM3);
    
            byte[] dst = new byte[1024];
    
            // Should throw NullPointerException when lastName is null for NET_SERVER_ENUM3
            assertThrows(NullPointerException.class, () -> {
                netServerEnum2.writeParametersWireFormat(dst, 0);
            });
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

                            if (LogStream.level > 0) {
                                Hexdump.hexdump(System.err, src, srcIndex, maxLen < 128 ? maxLen + 8 : 128);
                            }
                            throw new RuntimeException("zero termination not found");
                        }
                    }
                    str = new String(src, srcIndex, len, UNI_ENCODING);
                } else {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/opensearch/log/allcommon/EsAbstractConditionBean.java

                String msg = "The value should not be null: variableName=null value=" + value;
                throw new IllegalArgumentException(msg);
            }
            if (value == null) {
                String msg = "The value should not be null: variableName=" + variableName;
                throw new IllegalArgumentException(msg);
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java

                int result = echoResponse.readBytesWireFormat(buffer, bufferIndex);
    
                assertEquals(0, result);
            }
    
            @Test
            @DisplayName("Should throw exception for invalid structure size")
            void testReadBytesWireFormatInvalidSize() {
                byte[] buffer = new byte[1024];
                int bufferIndex = 100;
    
                // Write invalid structure size = 8
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/exception/ServletRuntimeExceptionTest.java

        }
    
        public void test_throwAndCatch() {
            // Test that the exception can be thrown and caught properly
            ServletException originalException = new ServletException("Throw test");
    
            try {
                throw new ServletRuntimeException(originalException);
            } catch (ServletRuntimeException caught) {
                // Verify the caught exception
                assertNotNull(caught);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/TransactNamedPipeInputStream.java

            synchronized (lock) {
                try {
                    while (used == 0) {
                        lock.wait();
                    }
                } catch (final InterruptedException ie) {
                    throw new IOException(ie.getMessage());
                }
                result = pipe_buf[beg_idx] & 0xFF;
                beg_idx = (beg_idx + 1) % pipe_buf.length;
            }
            return result;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

            for (int i = 0; i < 8; i++) {
                if (material[i] != NTLMSSP_SIGNATURE[i]) {
                    throw new IOException("Not an NTLMSSP message.");
                }
            }
            if (readULong(material, 8) != 3) {
                throw new IOException("Not a Type 3 message.");
            }
            final byte[] lmResponse = readSecurityBuffer(material, 12);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 24.1K bytes
    - Viewed (0)
Back to top