Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 276 for setMessage (0.11 sec)

  1. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/DefaultSettingsDecrypter.java

                    } catch (SecDispatcherException | IOException e) {
                        problems.add(new DefaultSettingsProblem(
                                "Failed to decrypt password for server " + server.getId() + ": " + e.getMessage(),
                                Severity.ERROR,
                                "server: " + server.getId(),
                                -1,
                                -1,
                                e));
                    }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHook.java

            final Supplier<String> stacktraceString = () -> {
                final StringBuilder sb = new StringBuilder();
                if (StringUtil.isBlank(cause.getMessage())) {
                    sb.append(cause.getClass().getName());
                } else {
                    sb.append(cause.getMessage());
                }
                try (final StringWriter sw = new StringWriter(); final PrintWriter pw = new PrintWriter(sw)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsProblem.java

        @Override
        public Exception getException() {
            return exception;
        }
    
        @Override
        public String getMessage() {
            String msg;
    
            if (message != null && !message.isEmpty()) {
                msg = message;
            } else {
                msg = exception.getMessage();
    
                if (msg == null) {
                    msg = "";
                }
            }
    
            return msg;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/exception/ConverterRuntimeExceptionTest.java

            final ConverterRuntimeException e = new ConverterRuntimeException("hoge", "xxx", new RuntimeException("cause"));
            System.out.println(e.getMessage());
            assertThat(e.getPropertyName(), is("hoge"));
            assertThat(e.getValue(), is((Object) "xxx"));
            assertThat(e.getCause().getMessage(), is("cause"));
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/features/ConflictingRequirementsException.java

      }
    
      public Set<Feature<?>> getConflicts() {
        return conflicts;
      }
    
      public Object getSource() {
        return source;
      }
    
      @Override
      public String getMessage() {
        return super.getMessage() + " (source: " + source + ")";
      }
    
      private static final long serialVersionUID = 0;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.4K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/test/java/org/apache/maven/model/inheritance/DefaultInheritanceAssemblerTest.java

                assertTrue(
                        afe.getMessage()
                                .contains(
                                        "Expected text value 'http://www.apache.org/path/to/parent/child-artifact-id/' but was "
                                                + "'http://www.apache.org/path/to/parent/../child-artifact-id/'"),
                        afe.getMessage());
            }
            // but ok from repo: local disk is ignored
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProblem.java

        public Exception getException() {
            return exception;
        }
    
        @Override
        public String getMessage() {
            String msg = null;
    
            if (message != null && !message.isEmpty()) {
                msg = message;
            } else if (exception != null) {
                msg = exception.getMessage();
            }
    
            if (msg == null) {
                msg = "";
            }
    
            return msg;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/exception/NullArgumentExceptionTest.java

            final NullArgumentException nullArgumentException = new NullArgumentException("hoge");
            assertThat(nullArgumentException.getArgName(), is("hoge"));
            assertThat(nullArgumentException.getMessage(), is("[ECL0008]argument[hoge] is null."));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testErrorMessage_en() throws Exception {
            // ## Arrange ##
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2K bytes
    - Viewed (0)
  9. compat/maven-builder-support/src/main/java/org/apache/maven/building/DefaultProblem.java

        }
    
        public Exception getException() {
            return exception;
        }
    
        public String getMessage() {
            String msg;
    
            if (message != null && !message.isEmpty()) {
                msg = message;
            } else {
                msg = exception.getMessage();
    
                if (msg == null) {
                    msg = "";
                }
            }
    
            return msg;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/exception/SIllegalStateExceptionTest.java

         * .
         */
        @Test
        public void testSIllegalStateExceptionString() {
            final ClIllegalStateException clIllegalStateException = new ClIllegalStateException("hoge");
            assertThat(clIllegalStateException.getMessage(), is("hoge"));
        }
    
        /**
         * Test method for
         * {@link org.codelibs.core.exception.ClIllegalStateException#SIllegalStateException(java.lang.String, java.lang.Throwable)}
         * .
         */
        @Test
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top