Search Options

Results per page
Sort
Preferred Languages
Advance

Results 961 - 970 of 3,030 for thrown (0.1 sec)

  1. src/main/java/jcifs/util/SecureKeyManager.java

         *
         * @param sessionId the session ID
         * @return the new key version number
         * @throws GeneralSecurityException if rotation fails
         */
        public int rotateSessionKey(String sessionId) throws GeneralSecurityException {
            checkNotClosed();
    
            if (!sessionKeys.containsKey(sessionId)) {
                throw new IllegalArgumentException("Session key not found: " + sessionId);
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/util/WebApiUtil.java

         * Throws any stored WebApiException if found.
         *
         * @throws WebApiException If a web API exception was previously stored
         */
        public static void validate() {
            LaRequestUtil.getOptionalRequest().map(req -> (WebApiException) req.getAttribute(WEB_API_EXCEPTION)).ifPresent(e -> {
                throw e;
            });
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/SystemPropertyProfileActivator.java

        public void contextualize(Context context) throws ContextException {
            properties = (Properties) context.get("SystemProperties");
        }
    
        @Override
        protected boolean canDetectActivation(Profile profile) {
            return profile.getActivation() != null && profile.getActivation().getProperty() != null;
        }
    
        @Override
        public boolean isActive(Profile profile) throws ProfileActivationException {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/timer/SystemMonitorTargetTest.java

        }
    
        public void test_default_constructor_is_public() throws Exception {
            assertTrue("Default constructor should be public",
                    java.lang.reflect.Modifier.isPublic(SystemMonitorTarget.class.getConstructor().getModifiers()));
        }
    
        public void test_expired_method_is_public() throws Exception {
            assertTrue("expired method should be public",
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java

        void testReadParameterWordsWithShortBuffer() {
            byte[] buffer = new byte[] { 0x00, 0x01, 0x02 }; // only three bytes
            assertThrows(ArrayIndexOutOfBoundsException.class, () -> response.readParameterWordsWireFormat(buffer, 0));
        }
    
        @Test
        @DisplayName("readParameterWordsWireFormat with null buffer - throws NullPointerException")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java

        private Field findField(Class<?> clazz, String fieldName) throws NoSuchFieldException {
            Class<?> current = clazz;
            while (current != null) {
                try {
                    return current.getDeclaredField(fieldName);
                } catch (NoSuchFieldException e) {
                    current = current.getSuperclass();
                }
            }
            throw new NoSuchFieldException(fieldName);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/RegularImmutableBiMap.java

      /**
       * @throws IllegalArgumentException if another entry in the bucket has the same key
       * @throws BucketOverflowException if this bucket has too many entries, which may indicate a hash
       *     flooding attack
       */
      private static void checkNoConflictInValueBucket(
          Object value, Entry<?, ?> entry, @Nullable ImmutableMapEntry<?, ?> valueBucketHead)
          throws BucketOverflowException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/reflect/AbstractInvocationHandler.java

       *   <li>other method calls are dispatched to {@link #handleInvocation}.
       * </ul>
       */
      @Override
      public final @Nullable Object invoke(
          Object proxy, Method method, @Nullable Object @Nullable [] args) throws Throwable {
        if (args == null) {
          args = NO_ARGS;
        }
        if (args.length == 0 && method.getName().equals("hashCode")) {
          return hashCode();
        }
        if (args.length == 1
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/spnego/NegTokenInitTest.java

                assertNull(init.getMechanisms());
    
                // Should not throw when converting to byte array
                assertDoesNotThrow(() -> init.toByteArray());
            }
    
            @Test
            @DisplayName("Large MIC values are handled correctly")
            void testLargeMicValue() throws Exception {
                byte[] largeMic = new byte[1024];
                Arrays.fill(largeMic, (byte) 0xAB);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/CompactHashSet.java

      }
    
      @J2ktIncompatible
      private void writeObject(ObjectOutputStream stream) throws IOException {
        stream.defaultWriteObject();
        stream.writeInt(size());
        for (E e : this) {
          stream.writeObject(e);
        }
      }
    
      @SuppressWarnings("unchecked")
      @J2ktIncompatible
      private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
        stream.defaultReadObject();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 23.9K bytes
    - Viewed (0)
Back to top