Search Options

Results per page
Sort
Preferred Languages
Advance

Results 361 - 370 of 519 for setMessage (0.05 sec)

  1. compat/maven-embedder/src/main/java/org/apache/maven/cli/configuration/SettingsXmlConfigurationProcessor.java

                LOGGER.warn("Some problems were encountered while building the effective settings");
    
                for (SettingsProblem problem : settingsResult.getProblems()) {
                    LOGGER.warn("{} @ {}", problem.getMessage(), problem.getLocation());
                }
                LOGGER.warn("");
            }
        }
    
        private MavenExecutionRequest populateFromSettings(MavenExecutionRequest request, Settings settings)
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 19 18:49:57 UTC 2025
    - 12K bytes
    - Viewed (0)
  2. 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: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 4.9K 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  4. 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: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  5. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

         * message}.
         */
        @Override
        public String getMessage() {
          // requireNonNull is safe because ExampleStackTrace sets a non-null message.
          StringBuilder message = new StringBuilder(requireNonNull(super.getMessage()));
          for (Throwable t = conflictingStackTrace; t != null; t = t.getCause()) {
            message.append(", ").append(t.getMessage());
          }
          return message.toString();
        }
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 11 17:06:34 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/UniAddress.java

                } catch (final UnknownHostException uhe) {
                    this.uhe = uhe;
                } catch (final Exception ex) {
                    this.uhe = new UnknownHostException(ex.getMessage());
                } finally {
                    synchronized (sem) {
                        sem.count--;
                        sem.notify();
                    }
                }
            }
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17K bytes
    - Viewed (0)
  8. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/TransformerTest.java

            try {
                transformer.transform(responseData);
                fail("Should throw CrawlerSystemException");
            } catch (CrawlerSystemException e) {
                assertEquals("Transform exception", e.getMessage());
            }
        }
    
        /**
         * Test exception handling in getData
         */
        public void test_exceptionHandling_getData() {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 28K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategy.java

                            context.success("No plugin upgrades needed");
                        }
                    } catch (Exception e) {
                        context.failure("Failed to upgrade plugins: " + e.getMessage());
                        errorPoms.add(pomPath);
                    } finally {
                        context.unindent();
                    }
                }
    
                // Clean up temp directory
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 37K bytes
    - Viewed (0)
Back to top