Search Options

Results per page
Sort
Preferred Languages
Advance

Results 751 - 760 of 2,976 for throwIt (0.04 sec)

  1. src/test/java/jcifs/smb/SmbResourceLocatorInternalTest.java

        void overlapsThrowsCifsException() throws Exception {
            when(locator.overlaps(any())).thenThrow(new CIFSException("Simulated failure"));
    
            CIFSException ex = assertThrows(CIFSException.class, () -> locator.overlaps(other));
            assertTrue(ex.getMessage().contains("Simulated failure"));
    
            verify(locator).overlaps(other);
            verifyNoMoreInteractions(locator);
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/escape/CharEscaper.java

      protected CharEscaper() {}
    
      /**
       * Returns the escaped form of a given literal string.
       *
       * @param string the literal string to be escaped
       * @return the escaped form of {@code string}
       * @throws NullPointerException if {@code string} is null
       */
      @Override
      public String escape(String string) {
        checkNotNull(string); // GWT specific check (do not optimize)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/FileEntryAdapterIteratorTest.java

            when(delegate.next()).thenReturn(entry1, entry2);
    
            // Adapter that always throws
            FileEntryAdapterIterator iterator = new FileEntryAdapterIterator(parent, delegate, null) {
                @Override
                protected SmbResource adapt(FileEntry e) throws MalformedURLException {
                    throw new MalformedURLException("Always fails");
                }
            };
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/ntlmssp/av/AvPairs.java

        }
    
        /**
         * Decode a list of AvPairs
         *
         * @param data the encoded AV pairs data
         * @return individual pairs
         * @throws CIFSException if decoding fails
         */
        public static List<AvPair> decode(final byte[] data) throws CIFSException {
            final List<AvPair> pairs = new LinkedList<>();
            int pos = 0;
            boolean foundEnd = false;
            while (pos + 4 <= data.length) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpClientTest.java

    /**
     * @author shinsuke
     *
     */
    public class FtpClientTest extends PlainTestCase {
        private static final int FTP_PORT = 10021;
    
        public FtpClient ftpClient;
    
        @Override
        protected void setUp() throws Exception {
            super.setUp();
            StandardCrawlerContainer container = new StandardCrawlerContainer().singleton("mimeTypeHelper", MimeTypeHelperImpl.class)//
                    .singleton("ftpClient", FtpClient.class);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 18K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/JobHelperTest.java

    import org.codelibs.fess.util.ComponentUtil;
    import org.lastaflute.job.LaCron;
    
    public class JobHelperTest extends UnitFessTestCase {
    
        private JobHelper jobHelper;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            jobHelper = new JobHelper();
            ComponentUtil.register(new SystemHelper(), "systemHelper");
            ComponentUtil.register(new MockJobLogBhv(), JobLogBhv.class.getCanonicalName());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/api/WebApiManagerTest.java

                return true;
            }
    
            @Override
            public void process(HttpServletRequest request, HttpServletResponse response, FilterChain chain)
                    throws IOException, ServletException {
                throw new ServletException("Test error");
            }
        }
    
        private static class StatusCodeWebApiManager implements WebApiManager {
            private final int statusCode;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/LinkedListMultimap.java

        private void writeObject(ObjectOutputStream stream) throws IOException {
        stream.defaultWriteObject();
        stream.writeInt(size());
        for (Entry<K, V> entry : entries()) {
          stream.writeObject(entry.getKey());
          stream.writeObject(entry.getValue());
        }
      }
    
      @GwtIncompatible
      @J2ktIncompatible
        private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/query/DefaultQueryBuilder.java

         * Creates a Lucene Query from this query builder.
         *
         * @param context the query shard context
         * @return the Lucene Query
         * @throws IOException if an I/O error occurs
         */
        @Override
        public Query toQuery(final QueryShardContext context) throws IOException {
            return queryBuilder.toQuery(context);
        }
    
        /**
         * Returns whether this query builder is a fragment.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbTreeHandleImpl.java

            return this.treeConnection.getSession();
        }
    
        @Override
        public void ensureDFSResolved() throws CIFSException {
            this.treeConnection.ensureDFSResolved(this.resourceLoc);
        }
    
        @Override
        public boolean hasCapability(final int cap) throws SmbException {
            return this.treeConnection.hasCapability(cap);
        }
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.1K bytes
    - Viewed (0)
Back to top