Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 141 - 150 of 3,747 for throw (0.05 seconds)

  1. android/guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java

          startUpCalled = true;
          throw new UnsupportedOperationException("kaboom!");
        }
    
        @Override
        protected void run() {
          throw new AssertionError("run() should not be called");
        }
    
        @Override
        protected Executor executor() {
          return exceptionCatchingExecutor;
        }
      }
    
      public void testServiceThrowOnRun() throws Exception {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 12.8K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb/SmbRandomAccessFile.java

                throw SmbException.wrap(e);
            }
        }
    
        @Override
        public final boolean readBoolean() throws SmbException {
            if (read(this.tmp, 0, 1) < 0) {
                throw new SmbEndOfFileException();
            }
            return this.tmp[0] != (byte) 0x00;
        }
    
        @Override
        public final byte readByte() throws SmbException {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 18.8K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb/SmbFileDirectoryLeasingExtension.java

         * @param smbFile the SmbFile directory to list
         * @return array of SmbFile objects representing the directory contents
         * @throws SmbException if an error occurs
         */
        public static SmbFile[] listFilesWithLeasing(SmbFile smbFile) throws SmbException {
            if (!smbFile.isDirectory()) {
                throw new SmbException("Not a directory: " + smbFile.getPath());
            }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.java

        }
    
        /**
         * Updates the dictionary file with the given input stream.
         *
         * @param in The input stream.
         * @throws IOException If an I/O error occurs.
         */
        public synchronized void update(final InputStream in) throws IOException {
            try (KuromojiUpdater updater = new KuromojiUpdater(null)) {
                reload(updater, in);
            }
        }
    
        @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  5. src/main/java/jcifs/pac/kerberos/KerberosTicket.java

         * @param apOptions AP options flags
         * @param keys array of Kerberos keys for decryption
         * @throws PACDecodingException if ticket decoding fails
         */
        public KerberosTicket(byte[] token, byte apOptions, KerberosKey[] keys) throws PACDecodingException {
            if (token.length <= 0) {
                throw new PACDecodingException("Empty kerberos ticket");
            }
    
            ASN1Sequence sequence;
            try {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientFactory.java

            if (StringUtil.isBlank(regex)) {
                throw new CrawlerSystemException(
                        "URL pattern regular expression is null or blank. Cannot register client without a valid pattern.");
            }
            if (client == null) {
                throw new CrawlerSystemException("CrawlerClient instance is null. Cannot register null client.");
            }
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/app/web/base/FessAdminActionTest.java

            try {
                runnable.run();
                throw new AssertionError("Expected " + expectedType.getSimpleName() + " to be thrown");
            } catch (final Throwable t) {
                if (!expectedType.isInstance(t)) {
                    throw new AssertionError("Expected " + expectedType.getSimpleName() + " but got " + t.getClass().getSimpleName(), t);
                }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 22.7K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java

                fileIdField.setAccessible(true);
                byte[] actualFileId = (byte[]) fileIdField.get(request);
                assertArrayEquals(expectedFileId, actualFileId);
            } catch (Exception e) {
                throw new RuntimeException(e);
            }
        }
    
        @Test
        @DisplayName("Test constructor with Configuration and FileId")
        void testConstructorWithConfigAndFileId() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.9K bytes
    - Click Count (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/transfer/SimplexTransferListener.java

                throw new TransferCancelledException();
            }
            put(event, false);
        }
    
        @Override
        public void transferCorrupted(TransferEvent event) throws TransferCancelledException {
            if (ongoing.get(new TransferResourceIdentifier(event.getResource())) == Boolean.FALSE) {
                throw new TransferCancelledException();
            }
            put(event, false);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Feb 06 11:28:05 GMT 2025
    - 8.7K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/util/concurrent/ListeningExecutorServiceTest.java

          throw new UnsupportedOperationException();
        }
    
        @Override
        public void shutdown() {
          throw new UnsupportedOperationException();
        }
    
        @Override
        public List<Runnable> shutdownNow() {
          throw new UnsupportedOperationException();
        }
    
        @Override
        public boolean isShutdown() {
          throw new UnsupportedOperationException();
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 4.6K bytes
    - Click Count (0)
Back to Top