Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 2,976 for throwIt (0.07 sec)

  1. src/test/java/org/codelibs/fess/suggest/converter/ReadingConverterTest.java

            @Override
            public void init() throws IOException {
                if (throwExceptionOnInit) {
                    throw new IOException("Init failed");
                }
            }
    
            @Override
            public List<String> convert(String text, String field, String... langs) throws IOException {
                if (throwExceptionOnConvert) {
                    throw new IOException("Convert failed");
                }
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  2. samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/UnixDomainServerSocketFactory.java

        this.path = path;
      }
    
      @Override public ServerSocket createServerSocket() throws IOException {
        return new UnixDomainServerSocket();
      }
    
      @Override public ServerSocket createServerSocket(int port) throws IOException {
        return createServerSocket();
      }
    
      @Override public ServerSocket createServerSocket(int port, int backlog) throws IOException {
        return createServerSocket();
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Feb 12 16:33:52 UTC 2019
    - 3.1K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java

            /**
             * Accepts a writer.
             * @param writer A writer.
             * @throws IOException if an I/O error occurs.
             * @throws TikaException if a Tika exception occurs.
             * @throws SAXException if a SAX exception occurs.
             */
            void accept(Writer writer) throws IOException, TikaException, SAXException;
        }
    
        /**
         * Sets the output encoding.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 30.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

         *            session identifier
         * @return encrypted message with transform header
         * @throws CIFSException
         *             if encryption fails
         */
        public byte[] encryptMessage(final byte[] message, final long sessionId) throws CIFSException {
            if (message == null) {
                throw new IllegalArgumentException("Message cannot be null");
            }
    
            // Validate encryption parameters
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/JodExtractor.java

        }
    
        /**
         * Initializes the extractor by starting the office manager.
         *
         * @throws CrawlerSystemException if the office manager is null or fails to start
         */
        @PostConstruct
        public void init() {
            if (officeManager == null) {
                throw new CrawlerSystemException("officeManager is null.");
            }
            try {
                officeManager.start();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/ntlmssp/av/AvPairsTest.java

            });
    
            assertEquals("Missing AvEOL", exception.getMessage(), "Should throw exception for truncated data");
        }
    
        /**
         * Test decode with unknown AvPair type
         */
        @Test
        @DisplayName("Decode unknown AvPair type as generic AvPair")
        void testDecodeUnknownType() throws CIFSException {
            byte[] data = new byte[] { 0x01, 0x02, 0x03, 0x04 };
            int unknownType = 0xFF;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Throwables.java

       *   throwIfUnchecked(failure);
       *   throw new AssertionError(failure);
       * }
       * </pre>
       *
       * @since 20.0
       */
      @GwtIncompatible // Class.cast, Class.isInstance
      public static <X extends Throwable> void throwIfInstanceOf(
          Throwable throwable, Class<X> declaredType) throws X {
        checkNotNull(throwable);
        if (declaredType.isInstance(throwable)) {
          throw declaredType.cast(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)
  8. src/main/java/jcifs/ntlmssp/Type1Message.java

        }
    
        private void parse(final byte[] material) throws IOException {
            int pos = 0;
            for (int i = 0; i < 8; i++) {
                if (material[i] != NTLMSSP_SIGNATURE[i]) {
                    throw new IOException("Not an NTLMSSP message.");
                }
            }
            pos += 8;
    
            if (readULong(material, pos) != NTLMSSP_TYPE1) {
                throw new IOException("Not a Type 1 message.");
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/LittleEndianDataInputStream.java

      public void readFully(byte[] b, int off, int len) throws IOException {
        ByteStreams.readFully(this, b, off, len);
      }
    
      @Override
      public int skipBytes(int n) throws IOException {
        return (int) in.skip(n);
      }
    
      @CanIgnoreReturnValue // to skip a byte
      @Override
      public int readUnsignedByte() throws IOException {
        int b1 = in.read();
        if (b1 < 0) {
          throw new EOFException();
        }
    
        return b1;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:49:18 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  10. 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());
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 7.1K bytes
    - Viewed (0)
Back to top