Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2131 - 2140 of 2,828 for exception (0.09 seconds)

  1. src/main/java/jcifs/smb/NtlmContext.java

                }
    
                this.isEstablished = true;
                this.state++;
                return out;
            } catch (final SmbException e) {
                throw e;
            } catch (final Exception e) {
                throw new SmbException(e.getMessage(), e);
            }
        }
    
        /**
         * Creates a Type 3 (authentication) message in response to the Type 2 message received from the server.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 17.3K bytes
    - Click Count (1)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java

       * Call the {@code setCount()} method under test, but do not check its return value. Callers
       * should use this method over {@link #setCountCheckReturnValue(Object, int)} when they expect
       * {@code setCount()} to throw an exception, as checking the return value could produce an
       * incorrect error message like "setCount() should return the original count" instead of the
       * message passed to a later invocation of {@code fail()}, like "setCount should throw
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 13K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGeneratorTest.java

            // Since createTask depends on FessConfig, it may not work properly
            // in unit tests without full container
            try {
                generator.createTask("/path/to/thumb.jpg", docMap);
            } catch (Exception e) {
                // Expected when FessConfig is not available
            }
        }
    
        @Test
        public void test_mimetypePatternMatching() {
            // Test that MIME type patterns work correctly as regex
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Feb 04 14:24:39 GMT 2026
    - 17.1K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/util/GsaConfigParser.java

    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.fess.Constants;
    import org.codelibs.fess.exception.GsaConfigException;
    import org.codelibs.fess.opensearch.config.exentity.FileConfig;
    import org.codelibs.fess.opensearch.config.exentity.LabelType;
    import org.codelibs.fess.opensearch.config.exentity.WebConfig;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 21.6K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb/SmbCopyUtil.java

                        }
    
                        this.out.write(this.b, 0, this.n);
                    }
                } catch (final SmbException ex) {
                    this.e = ex;
                } catch (final Exception x) {
                    this.e = new SmbException("WriterThread", x);
                }
                notify();
            }
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticator.java

            default -> null; // Or throw an exception if unexpected token
            };
        }
    
        /**
         * Parses array values from JSON parser.
         *
         * @param jsonParser the JSON parser
         * @return the parsed array as a list
         * @throws IOException if an I/O error occurs
         */
        protected Object parseArray(final JsonParser jsonParser) throws IOException {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Dec 14 01:18:25 GMT 2025
    - 16.5K bytes
    - Click Count (0)
  7. src/test/java/jcifs/config/BaseConfigurationTest.java

            assertTrue(testConfig.disallowCompound.contains("Smb2TreeConnectRequest"));
        }
    
        @Test
        @DisplayName("Test initDefaults with pre-set machine ID")
        void testInitDefaultsWithPresetMachineId() throws Exception {
            BaseConfiguration testConfig = new BaseConfiguration(false);
            byte[] customMachineId = new byte[32];
            Arrays.fill(customMachineId, (byte) 0xFF);
    
            // Use reflection to set private field
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  8. guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

      @SuppressWarnings("CatchingUnchecked") // sneaky checked exception
      protected final boolean supportsValuesHashCode(Map<K, V> map) {
        // get the first non-null value
        Collection<V> values = map.values();
        for (V value : values) {
          if (value != null) {
            try {
              int unused = value.hashCode();
            } catch (Exception e) { // sneaky checked exception
              return false;
            }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 43.9K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/helper/PermissionHelperTest.java

    import org.junit.jupiter.api.TestInfo;
    
    public class PermissionHelperTest extends UnitFessTestCase {
    
        public PermissionHelper permissionHelper;
    
        @Override
        protected void setUp(TestInfo testInfo) throws Exception {
            super.setUp(testInfo);
            permissionHelper = new PermissionHelper();
            permissionHelper.systemHelper = new SystemHelper();
        }
    
        @Test
        public void test_encode() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 14K bytes
    - Click Count (0)
  10. guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

        try {
          presentFeatures = (Feature<?>[]) annotationClass.getMethod("value").invoke(testerAnnotation);
          absentFeatures = (Feature<?>[]) annotationClass.getMethod("absent").invoke(testerAnnotation);
        } catch (Exception e) {
          throw new IllegalArgumentException("Error extracting features from tester annotation.", e);
        }
        Set<Feature<?>> allPresentFeatures = addImpliedFeatures(copyToSet(presentFeatures));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 12.4K bytes
    - Click Count (0)
Back to Top