Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 185 for Handler (0.17 sec)

  1. android/guava/src/com/google/common/eventbus/SubscriberExceptionHandler.java

     * the License.
     */
    
    package com.google.common.eventbus;
    
    
    /**
     * Handler for exceptions thrown by event subscribers.
     *
     * @since 16.0
     */
    @ElementTypesAreNonnullByDefault
    public interface SubscriberExceptionHandler {
      /** Handles exceptions thrown by subscribers. */
      void handleException(Throwable exception, SubscriberExceptionContext context);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 22 13:05:46 GMT 2021
    - 928 bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/project/DefaultMavenProjectHelper.java

                MavenProject project, String artifactType, String artifactClassifier, File artifactFile) {
            ArtifactHandler handler = null;
    
            if (artifactType != null) {
                handler = artifactHandlerManager.getArtifactHandler(artifactType);
            }
    
            if (handler == null) {
                handler = artifactHandlerManager.getArtifactHandler("jar");
            }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 4.3K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/artifact/handler/manager/LegacyArtifactHandlerManager.java

            ArtifactHandler handler = allHandlers.get(type);
            if (handler == null) {
                handler = artifactHandlers.get(type);
                if (handler == null) {
                    handler = new DefaultArtifactHandler(type);
                } else {
                    allHandlers.put(type, handler);
                }
            }
            return handler;
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Nov 27 19:18:14 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/testing/TestLogHandler.java

    import java.util.List;
    import java.util.logging.Handler;
    import java.util.logging.LogRecord;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests may use this to intercept messages that are logged by the code under test. Example:
     *
     * <pre>
     *   TestLogHandler handler;
     *
     *   protected void setUp() throws Exception {
     *     super.setUp();
     *     handler = new TestLogHandler();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/TestLogHandler.java

    import java.util.List;
    import java.util.logging.Handler;
    import java.util.logging.LogRecord;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests may use this to intercept messages that are logged by the code under test. Example:
     *
     * <pre>
     *   TestLogHandler handler;
     *
     *   protected void setUp() throws Exception {
     *     super.setUp();
     *     handler = new TestLogHandler();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultTypeRegistry.java

                    ArtifactHandler handler = manager.getArtifactHandler(id);
                    type = new DefaultType(
                            id,
                            languageRegistry.require(handler.getLanguage()),
                            handler.getExtension(),
                            handler.getClassifier(),
                            handler.isIncludesDependencies(),
                            JavaPathType.CLASSES,
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/cors/CorsHandlerFactory.java

        public void add(final String origin, final CorsHandler handler) {
            if (logger.isDebugEnabled()) {
                logger.debug("Loaded {}", origin);
            }
            handerMap.put(origin, handler);
        }
    
        public CorsHandler get(final String origin) {
            final CorsHandler handler = handerMap.get(origin);
            if (handler != null) {
                return handler;
            }
            return handerMap.get("*");
        }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/artifact/handler/DefaultArtifactHandler.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.artifact.handler;
    
    import static java.util.Objects.requireNonNull;
    
    /**
     */
    public class DefaultArtifactHandler implements ArtifactHandler {
        private final String type;
    
        private String extension;
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/project/artifact/ProjectArtifact.java

     * under the License.
     */
    package org.apache.maven.project.artifact;
    
    import java.util.Collections;
    import java.util.List;
    
    import org.apache.maven.artifact.DefaultArtifact;
    import org.apache.maven.artifact.handler.ArtifactHandler;
    import org.apache.maven.model.Dependency;
    import org.apache.maven.model.DependencyManagement;
    import org.apache.maven.project.MavenProject;
    
    /**
     * ProjectArtifact
     */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

      }
    
      public void testUncaughtExceptionHandler_custom() {
        assertEquals(
            UNCAUGHT_EXCEPTION_HANDLER,
            builder
                .setUncaughtExceptionHandler(UNCAUGHT_EXCEPTION_HANDLER)
                .build()
                .newThread(monitoredRunnable)
                .getUncaughtExceptionHandler());
      }
    
      public void testBuildMutateBuild() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.5K bytes
    - Viewed (0)
Back to top