Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 271 for getMessager (0.23 sec)

  1. 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)
  2. 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)
  3. compat/maven-builder-support/src/test/java/org/apache/maven/building/DefaultProblemCollectorTest.java

            assertEquals("MESSAGE1", p1.getMessage());
            assertEquals(-1, p1.getLineNumber());
            assertEquals(-1, p1.getColumnNumber());
            assertNull(p1.getException());
    
            Problem p2 = collector.getProblems().get(1);
            assertEquals(Severity.WARNING, p2.getSeverity());
            assertEquals("", p2.getMessage());
            assertEquals(42, p2.getLineNumber());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/exception/SQLRuntimeExceptionTest.java

            sqlException2.setNextException(sqlException3);
    
            final SQLRuntimeException sqlRuntimeException = new SQLRuntimeException(sqlException);
    
            // ## Act ##
            final String message = sqlRuntimeException.getMessage();
    
            // ## Assert ##
            System.out.println(message);
            assertContains(message, "ErrorCode=7650");
            assertContains(message, "SQLState=fooState");
            assertContains(message, "some reason");
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPluginXmlFactory.java

    import org.apache.maven.plugin.descriptor.io.PluginDescriptorStaxWriter;
    
    import static org.apache.maven.internal.impl.StaxLocation.getLocation;
    import static org.apache.maven.internal.impl.StaxLocation.getMessage;
    import static org.apache.maven.internal.impl.Utils.nonNull;
    
    @Named
    @Singleton
    public class DefaultPluginXmlFactory implements PluginXmlFactory {
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/api/FessApiAction.java

            if (!isAccessAllowed()) {
                return asJson(new ApiErrorResponse().message(getMessage(messages -> messages.addErrorsUnauthorizedRequest(GLOBAL)))
                        .status(Status.UNAUTHORIZED).result());
            }
            return super.godHandPrologue(runtime);
        }
    
        protected String getMessage(final VaMessenger<FessMessages> validationMessagesLambda) {
            final FessMessages messages = new FessMessages();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/UncaughtExceptionHandlers.java

            // If logging fails, e.g. due to missing memory, at least try to log the
            // message and the cause for the failed logging.
            System.err.println(e.getMessage());
            System.err.println(errorInLogging.getMessage());
          } finally {
            runtime.exit(1);
          }
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  8. android/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)
  9. compat/maven-embedder/src/main/java/org/apache/maven/cli/CLIReportingUtils.java

                if (e != null) {
                    logger.error(e.getMessage());
    
                    for (Throwable cause = e.getCause();
                            cause != null && cause != cause.getCause();
                            cause = cause.getCause()) {
                        logger.error("Caused by: {}", cause.getMessage());
                    }
                }
            }
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/UncaughtExceptionHandlers.java

            // If logging fails, e.g. due to missing memory, at least try to log the
            // message and the cause for the failed logging.
            System.err.println(e.getMessage());
            System.err.println(errorInLogging.getMessage());
          } finally {
            runtime.exit(1);
          }
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 2.8K bytes
    - Viewed (0)
Back to top