Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 2,976 for throw (0.02 sec)

  1. guava-testlib/src/com/google/common/collect/testing/ReflectionFreeAssertThrows.java

            return caught;
          }
          throw new AssertionError(
              "expected to throw " + expectedThrowable.getSimpleName() + " but threw " + t, t);
        }
        if (userPassedSupplier) {
          throw new AssertionError(
              "expected to throw "
                  + expectedThrowable.getSimpleName()
                  + " but returned result: "
                  + result);
        } else {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/ReflectionFreeAssertThrows.java

            return caught;
          }
          throw new AssertionError(
              "expected to throw " + expectedThrowable.getSimpleName() + " but threw " + t, t);
        }
        if (userPassedSupplier) {
          throw new AssertionError(
              "expected to throw "
                  + expectedThrowable.getSimpleName()
                  + " but returned result: "
                  + result);
        } else {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/util/SmbCircuitBreaker.java

                    onFailure(e, responseTime);
                    if (e instanceof CIFSException) {
                        throw (CIFSException) e;
                    }
                    throw new CIFSException("Circuit breaker operation failed", e);
                }
            } finally {
                activeRequests.decrementAndGet();
                if (semaphoreAcquired) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/NtlmContext.java

        }
    
        @Override
        public void verifyMIC(final byte[] data, final byte[] mic) throws CIFSException {
            final byte[] sk = this.verifyKey;
            if (sk == null) {
                throw new CIFSException("Signing is not initialized");
            }
    
            final int ver = SMBUtil.readInt4(mic, 0);
            if (ver != 1) {
                throw new SmbUnsupportedOperationException("Invalid signature version");
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/DirFileEntryEnumIterator1.java

            if (p.lastIndexOf('/') != p.length() - 1) {
                throw new SmbException(loc.getURL() + " directory must end with '/'");
            }
            if (unc.lastIndexOf('\\') != unc.length() - 1) {
                throw new SmbException(unc + " UNC must end with '\\'");
            }
    
            final SmbTreeHandleImpl th = getTreeHandle();
            this.response = new Trans2FindFirst2Response(th.getConfig());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbTreeConnection.java

            }
    
            throw new CIFSException("Loop in DFS referrals");
        }
    
        /**
         * @param loc
         * @return tree handle
         * @throws SmbException
         */
        public SmbTreeHandleImpl connectWrapException(final SmbResourceLocatorImpl loc) throws SmbException {
            try {
                return connect(loc);
            } catch (final SmbException se) {
                throw se;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoResponse.java

         * @return the information
         * @throws CIFSException
         *             if the information cannot be cast to the specified type
         */
        @SuppressWarnings("unchecked")
        public <T extends Decodable> T getInfo(final Class<T> clazz) throws CIFSException {
            if (!clazz.isAssignableFrom(this.info.getClass())) {
                throw new CIFSException("Incompatible file information class");
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbTree.java

                            break;
                        default:
                            throw new SmbException("Invalid operation for " + service + " service");
                        }
                        break;
                    default:
                        throw new SmbException("Invalid operation for " + service + " service" + request);
                    }
                }
                request.tid = tid;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/crypto/CachedCipher.java

                } catch (final InvalidKeyException e) {
                    throw new InvalidKeyRuntimeException(e);
                } catch (final NoSuchAlgorithmException e) {
                    throw new NoSuchAlgorithmRuntimeException(e);
                } catch (final NoSuchPaddingException e) {
                    throw new NoSuchPaddingRuntimeException(e);
                }
            }
            return cipher;
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Throwables.java

       *   throwIfUnchecked(failure);
       *   throw new AssertionError(failure);
       * }
       * </pre>
       *
       * @since 20.0
       */
      public static void throwIfUnchecked(Throwable throwable) {
        checkNotNull(throwable);
        if (throwable instanceof RuntimeException) {
          throw (RuntimeException) throwable;
        }
        if (throwable instanceof Error) {
          throw (Error) throwable;
        }
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.6K bytes
    - Viewed (0)
Back to top