Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 447 for setMessage (0.06 sec)

  1. 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)
  2. 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)
  3. src/main/java/org/codelibs/fess/exec/ThumbnailGenerator.java

            final CmdLineParser parser = new CmdLineParser(options);
            try {
                parser.parseArgument(args);
            } catch (final CmdLineException e) {
                System.err.println(e.getMessage());
                System.err.println("java " + ThumbnailGenerator.class.getCanonicalName() + " [options...] arguments...");
                parser.printUsage(System.err);
                return;
            }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/ShareEnumIteratorTest.java

            UnsupportedOperationException ex = assertThrows(UnsupportedOperationException.class, it::remove);
            assertEquals("remove", ex.getMessage());
        }
    
        @Nested
        @DisplayName("Invalid constructor inputs")
        class InvalidInputs {
            @Test
            @DisplayName("Null delegate causes NullPointerException during construction")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  5. 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)
  6. src/test/java/org/codelibs/fess/mylasta/action/FessLabelsTest.java

                fail("Should throw IllegalArgumentException");
            } catch (IllegalArgumentException e) {
                assertEquals("The argument 'property' for message should not be null.", e.getMessage());
            }
        }
    
        /**
         * Test that assertPropertyNotNull does not throw exception for non-null input
         */
        public void test_assertPropertyNotNull_withNonNull() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/toolchain/ToolchainManagerFactory.java

                            .toArray(ToolchainPrivate[]::new);
                } catch (org.apache.maven.api.services.ToolchainManagerException e) {
                    throw new MisconfiguredToolchainException(e.getMessage(), e);
                }
            }
    
            @Override
            public void storeToolchainToBuildContext(ToolchainPrivate toolchain, MavenSession session) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat May 31 07:20:31 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/util/KuromojiCSVUtilTest.java

                assertNotNull(instance);
    
            } catch (NoSuchMethodException | InstantiationException | IllegalAccessException | InvocationTargetException e) {
                fail("Should be able to access private constructor: " + e.getMessage());
            }
        }
    
        public void test_class_isFinal() {
            // Verify that KuromojiCSVUtil is a final class
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/helper/OsddHelperTest.java

            try {
                osddHelper.asStream();
                fail();
            } catch (final Exception e) {
                assertEquals("Unsupported Open Search Description Document response.", e.getMessage());
            }
        }
    
        public void test_init_osddpath() throws IOException {
            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
                @Override
                public String getOsddLinkEnabled() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 23.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/storage/ApiAdminStorageAction.java

            } catch (final ResultOffsetExceededException e) {
                if (logger.isDebugEnabled()) {
                    logger.debug(e.getMessage(), e);
                }
                throwValidationErrorApi(messages -> messages.addErrorsResultSizeExceeded(GLOBAL));
            }
    
            return null;
        }
    
        // GET /api/admin/storage/download/{id}/
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.9K bytes
    - Viewed (0)
Back to top