Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 2,773 for throwIt (0.05 sec)

  1. guava/src/com/google/common/collect/RegularImmutableMap.java

       * {@code IllegalArgumentException} is thrown, and otherwise the existing {@link Entry} is
       * returned.
       *
       * @throws IllegalArgumentException if another entry in the bucket has the same key and {@code
       *     throwIfDuplicateKeys} is true
       * @throws BucketOverflowException if this bucket has too many entries, which may indicate a hash
       *     flooding attack
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

      private static <X extends Exception> void wrapAndThrowExceptionOrError(
          Throwable cause, Class<X> exceptionClass) throws X {
        if (cause instanceof Error) {
          throw new ExecutionError((Error) cause);
        }
        if (cause instanceof RuntimeException) {
          throw new UncheckedExecutionException(cause);
        }
        throw newWithCause(exceptionClass, cause);
      }
    
      /*
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

                      throws Throwable {
                    throw exception;
                  }
                });
        T wrapper = wrapperFunction.apply(proxy);
        try {
          method.invoke(wrapper, getParameterValues(method));
          fail(method + " failed to throw exception as is.");
        } catch (InvocationTargetException e) {
          if (exception != e.getCause()) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

        void closeDelegatesToUnderlyingStream(@Mock InputStream mockIn) throws IOException {
            SocketInputStream sis = new SocketInputStream(mockIn);
            sis.close();
            verify(mockIn).close();
        }
    
        @Test
        @DisplayName("Read array delegates to read with offset and length")
        void readArrayDelegatesToReadWithOffsetAndLength() throws IOException {
            // Create message with data
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SID.java

         *
         * @param textual the textual representation of the SID
         * @throws SmbException if the textual format is invalid
         */
        public SID(final String textual) throws SmbException {
            final StringTokenizer st = new StringTokenizer(textual, "-");
            if (st.countTokens() < 3 || !st.nextToken().equals("S")) {
                // need S-N-M
                throw new SmbException("Bad textual SID format: " + textual);
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

            }
        }
    
        @Override
        public int recv(final byte[] buf, final int off, final int len) throws IOException {
            return getInput().readDirect(buf, off, len);
    
        }
    
        @Override
        public void send(final byte[] buf, final int off, final int length) throws IOException {
            getOutput().writeDirect(buf, off, length, 1);
        }
    
        /**
         *
         * {@inheritDoc}
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

         *
         * @param url the SMB URL to read from
         * @throws SmbException if an SMB error occurs
         * @throws MalformedURLException if the URL is malformed
         * @throws UnknownHostException if the server cannot be resolved
         */
        public SmbFileInputStream(final String url) throws SmbException, MalformedURLException, UnknownHostException {
            this(new SmbFile(url));
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/lang/ClassUtil.java

         * @return {@link Class}
         * @throws EmptyArgumentException
         *             If the class name is {@literal null} or empty.
         * @throws ClassNotFoundRuntimeException
         *             If a {@link ClassNotFoundException} occurs.
         * @see #forName(String)
         */
        public static Class<?> convertClass(final String className) throws ClassNotFoundRuntimeException {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/dcerpc/DcerpcPipeHandle.java

         * @param auth the NTLM authentication credentials
         * @throws UnknownHostException if the host cannot be resolved
         * @throws MalformedURLException if the URL is malformed
         * @throws DcerpcException if DCERPC initialization fails
         */
        public DcerpcPipeHandle(String url, final NtlmPasswordAuthentication auth)
                throws UnknownHostException, MalformedURLException, DcerpcException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/dict/DictionaryManager.java

                        throw new DictionaryException("Failed to update " + dictFile.getPath());
                    }
                } catch (final IOException e) {
                    throw new DictionaryException("Failed to update " + dictFile.getPath(), e);
                }
    
            }).orElse(() -> {
                throw new DictionaryException(dictFile.getPath() + " does not exist.");
            });
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 7.7K bytes
    - Viewed (0)
Back to top