Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 447 for getMessager (0.08 sec)

  1. src/test/java/jcifs/util/StringsTest.java

                RuntimeCIFSException exception = assertThrows(RuntimeCIFSException.class, () -> {
                    Strings.getOEMBytes(TEST_STRING, mockConfig);
                });
    
                assertTrue(exception.getMessage().contains("Unsupported OEM encoding"), "Exception should mention unsupported encoding");
                assertTrue(exception.getCause() instanceof UnsupportedEncodingException, "Cause should be UnsupportedEncodingException");
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/score/QueryRescorerTest.java

            try {
                queryRescorer.evaluate(exceptionParams);
                fail("Expected RuntimeException");
            } catch (RuntimeException e) {
                assertEquals("Test exception", e.getMessage());
            }
        }
    
        public void test_evaluate_concurrency() {
            queryRescorer = new QueryRescorer() {
                private int callCount = 0;
    
                @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/pac/kerberos/KerberosEncDataTest.java

            byte[] data = new byte[16];
            Exception exception = assertThrows(GeneralSecurityException.class, () -> KerberosEncData.decrypt(data, key, 99));
            assertEquals("Unsupported encryption type 99", exception.getMessage());
        }
    
        /**
         * Test getters with null values.
         *
         * @throws IOException if an I/O error occurs
         * @throws PACDecodingException if a PAC decoding error occurs
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/CharsTest.java

          Chars.checkedCast(value);
          fail("Cast to char should have failed: " + value);
        } catch (IllegalArgumentException ex) {
          assertWithMessage(value + " not found in exception text: " + ex.getMessage())
              .that(ex.getMessage().contains(String.valueOf(value)))
              .isTrue();
        }
      }
    
      // We need to test that our method behaves like the JDK method.
      @SuppressWarnings("InlineMeInliner")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/jar/JarFileUtil.java

            assertArgumentNotNull("jarFile", jarFile);
    
            try {
                jarFile.close();
            } catch (final IOException e) {
                logger.log(format("ECL0017", e.getMessage()), e);
            }
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java

            SMBProtocolDecodingException exception =
                    assertThrows(SMBProtocolDecodingException.class, () -> response.readBytesWireFormat(buffer, bufferIndex));
            assertEquals("Expected structureSize = 17", exception.getMessage());
        }
    
        @Test
        @DisplayName("Should read valid structure with minimal test")
        void testReadBytesWireFormatBasicStructure() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/job/JobExecutorTest.java

                }
            });
    
            try {
                jobExecutor.shutdown();
                fail("Expected RuntimeException");
            } catch (RuntimeException e) {
                assertEquals("Test exception", e.getMessage());
            }
        }
    
        public void test_addShutdownListener_null() {
            // Test adding null listener
            jobExecutor.addShutdownListener(null);
            assertNull(jobExecutor.shutdownListener);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/job/PythonJob.java

            try {
                executePython();
            } catch (final Exception e) {
                logger.warn("Failed to run python command.", e);
                resultBuf.append(e.getMessage()).append("\n");
            } finally {
                if (timeoutTask != null && !timeoutTask.isCanceled()) {
                    timeoutTask.cancel();
                }
            }
    
            return resultBuf.toString();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/lang/ClassLoaderUtil.java

            if (systemClassLoader != null) {
                return systemClassLoader;
            }
    
            throw new ClIllegalStateException(MessageFormatter.getMessage("ECL0001", "ClassLoader"));
        }
    
        /**
         * Returns <code>true</code> if the class loader <code>other</code> is an ancestor of the class loader <code>cl</code>.
         *
         * @param cl
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  10. src/main/webapp/WEB-INF/fe.tld

      <function>
        <description>Get a message from properties files.</description>
        <name>message</name>
        <function-class>org.codelibs.fess.taglib.FessFunctions</function-class>
        <function-signature>java.lang.String getMessage(java.lang.String, java.lang.String)</function-signature>
        <example>${fe:message("labels.foobar", "default value")}</example>
      </function>
    
      <function>
        <description>Check if user has a permission.</description>
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jan 18 11:38:54 UTC 2025
    - 10.3K bytes
    - Viewed (0)
Back to top