Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2561 - 2570 of 3,670 for throwIf (0.04 seconds)

  1. guava-tests/test/com/google/common/graph/ValueGraphTest.java

      }
    
      @Test
      public void edgeValue_undirected_mismatch() {
        graph = ValueGraphBuilder.undirected().build();
        graph.putEdgeValue(1, 2, "A");
        // Check that edgeValue() throws on each possible ordering of an ordered EndpointPair
        IllegalArgumentException e =
            assertThrows(
                IllegalArgumentException.class, () -> graph.edgeValue(EndpointPair.ordered(1, 2)));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 20.5K bytes
    - Click Count (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/AssembleDslDocTask.groovy

                def pluginId = plugin.'@id'
                if (!pluginId) {
                    throw new RuntimeException("No id specified for plugin: ${plugin.'@description' ?: 'unknown'}")
                }
                plugin.extends.each { Element e ->
                    def targetClass = e.'@targetClass'
                    if (!targetClass) {
                        throw new RuntimeException("No targetClass specified for extension provided by plugin '$pluginId'.")
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 9.8K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/exception/UserRoleLoginException.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.exception;
    
    import org.codelibs.fess.app.web.RootAction;
    
    /**
     * Exception thrown when user role authentication fails during login attempts.
     * This exception is used to indicate that a user does not have the required role
     * to access a specific action or resource.
     *
     */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Nov 19 08:04:23 GMT 2025
    - 2K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/base/VerifyException.java

     * the License.
     */
    
    package com.google.common.base;
    
    import com.google.common.annotations.GwtCompatible;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Exception thrown upon the failure of a <a
     * href="https://github.com/google/guava/wiki/ConditionalFailuresExplained">verification check</a>,
     * including those performed by the convenience methods of the {@link Verify} class.
     *
     * @since 17.0
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/io/CountingOutputStreamTest.java

    /**
     * Unit tests for {@link CountingOutputStream}.
     *
     * @author Chris Nokleberg
     */
    @NullUnmarked
    public class CountingOutputStreamTest extends IoTestCase {
    
      public void testCount() throws Exception {
        int written = 0;
        ByteArrayOutputStream out = new ByteArrayOutputStream();
        CountingOutputStream counter = new CountingOutputStream(out);
        assertEquals(written, out.size());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2K bytes
    - Click Count (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/CommonsCliShellOptions.java

    /**
     * Implementation of {@link ShellOptions} (base + shell).
     */
    public class CommonsCliShellOptions extends CommonsCliOptions implements ShellOptions {
        public static CommonsCliShellOptions parse(String[] args) throws ParseException {
            CLIManager cliManager = new CLIManager();
            return new CommonsCliShellOptions(Options.SOURCE_CLI, cliManager, cliManager.parse(args));
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlWriterException.java

     * under the License.
     */
    package org.apache.maven.api.services.xml;
    
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.services.MavenException;
    
    /**
     * An exception thrown while writing an XML file.
     *
     * @since 4.0.0
     */
    @Experimental
    public class XmlWriterException extends MavenException {
    
        private final Location location;
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/toolchain/ToolchainFactory.java

     */
    @Deprecated(since = "4.0.0")
    public interface ToolchainFactory {
        /**
         * Create instance of toolchain.
         **/
        ToolchainPrivate createToolchain(ToolchainModel model) throws MisconfiguredToolchainException;
    
        /**
         * Returns the default instance of the particular type of toolchain, can return <code>null</code>
         * if not applicable.
         * TODO keep around??
         **/
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Feb 12 13:13:28 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/ContainerCapsule.java

         */
        @Nonnull
        Optional<ClassLoader> currentThreadClassLoader();
    
        /**
         * Performs a clean shutdown of backing container.
         */
        @Override
        void close() throws Exception;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 31 20:56:58 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/PomBuilder.java

     * of {@link ConsumerPomArtifactTransformer}.
     */
    interface PomBuilder {
        Model build(RepositorySystemSession session, MavenProject project, ModelSource src)
                throws ModelBuilderException, IOException, XMLStreamException;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Nov 06 18:32:25 GMT 2025
    - 1.5K bytes
    - Click Count (0)
Back to Top