Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 276 for setMessage (0.22 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/metadata/io/DefaultMetadataReader.java

                return new Metadata(new MetadataStaxReader().read(in, isStrict(options)));
            } catch (XMLStreamException e) {
                throw new MetadataParseException(
                        e.getMessage(),
                        e.getLocation().getLineNumber(),
                        e.getLocation().getColumnNumber(),
                        e);
            }
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/relocation/DistributionManagementArtifactRelocationSource.java

                            relocation.getVersion(),
                            relocation.getMessage());
                    LOGGER.debug(
                            "The artifact {} has been relocated to {}: {}",
                            artifactDescriptorResult.getRequest().getArtifact(),
                            result,
                            relocation.getMessage());
                    return result;
                }
            }
            return null;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top