Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 181 - 190 of 1,783 for exception (0.05 seconds)

  1. docs/ru/docs/tutorial/dependencies/dependencies-with-yield.md

        Note over client,operation: Can raise exceptions, including HTTPException
        client ->> dep: Start request
        Note over dep: Run code up to yield
        opt raise Exception
            dep -->> handler: Raise Exception
            handler -->> client: HTTP error response
        end
        dep ->> operation: Run dependency, e.g. DB session
        opt raise
            operation -->> dep: Raise Exception (e.g. HTTPException)
            opt handle
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 19.7K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

          throws Exception {
        try {
          future.get();
          fail("Expected ExecutionException");
        } catch (ExecutionException e) {
          assertThat(e).hasCauseThat().isSameInstanceAs(expectedCause);
        }
      }
    
      /** invokeAny(null) throws NPE */
      public void testInvokeAnyImpl_nullTasks() throws Exception {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 12 00:25:21 GMT 2025
    - 26.5K bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/TestExceptions.java

    import com.google.common.annotations.GwtCompatible;
    
    /** Exception classes for use in tests. */
    @GwtCompatible
    final class TestExceptions {
      static final class SomeError extends Error {}
    
      static final class SomeCheckedException extends Exception {}
    
      static final class SomeOtherCheckedException extends Exception {}
    
      static final class YetAnotherCheckedException extends Exception {}
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  4. impl/maven-core/src/test/java/org/apache/maven/project/ProjectSorterTest.java

            model.setVersion(version);
            model.setBuild(new Build());
            return new MavenProject(model);
        }
    
        @Test
        void testShouldNotFailWhenPluginDepReferencesCurrentProject() throws Exception {
            MavenProject project = createProject("group", "artifact", "1.0");
    
            Build build = project.getModel().getBuild();
    
            Plugin plugin = createPlugin("other.group", "other-artifact", "1.0");
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  5. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsBuildingException.java

     */
    @Deprecated(since = "4.0.0")
    public class SettingsBuildingException extends Exception {
    
        private final List<SettingsProblem> problems;
    
        /**
         * Creates a new exception with the specified problems.
         *
         * @param problems The problems that cause this exception, may be {@code null}.
         */
        public SettingsBuildingException(List<SettingsProblem> problems) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelProblemCollector.java

            add(severity, version, message, null, exception);
        }
    
        void add(
                BuilderProblem.Severity severity,
                ModelProblem.Version version,
                String message,
                InputLocation location,
                Exception exception);
    
        default void add(ModelProblem problem) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Dec 19 14:50:21 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/logging/SimpleBuildEventListener.java

        @Override
        public void executionFailure(String projectId, boolean halted, String exception) {}
    
        @Override
        public void mojoStarted(ExecutionEvent event) {}
    
        @Override
        public void finish(int exitCode) throws Exception {}
    
        @Override
        public void fail(Throwable t) throws Exception {}
    
        @Override
        public void log(String msg) {
            output.accept(msg);
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.9K bytes
    - Click Count (0)
  8. samples/guide/src/main/java/okhttp3/recipes/RewriteResponseCacheControl.java

      };
    
      private final OkHttpClient client;
    
      public RewriteResponseCacheControl(File cacheDirectory) throws Exception {
        Cache cache = new Cache(cacheDirectory, 1024 * 1024);
        cache.evictAll();
    
        client = new OkHttpClient.Builder()
            .cache(cache)
            .build();
      }
    
      public void run() throws Exception {
        for (int i = 0; i < 5; i++) {
          System.out.println("    Request: " + i);
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Jan 12 03:31:36 GMT 2019
    - 2.6K bytes
    - Click Count (0)
  9. guava-testlib/src/com/google/common/testing/TearDown.java

       *
       * @throws Exception for any reason. {@code TearDownTestCase} ensures that any exception thrown
       *     will not interfere with other TearDown operations.
       */
      void tearDown() throws Exception;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 1.9K bytes
    - Click Count (0)
  10. api/maven-api-di/src/main/java/org/apache/maven/di/tool/DiIndexProcessor.java

        }
    
        /**
         * Logs an error message with exception details to the annotation processing environment.
         *
         * @param message the error message
         * @param e the exception that occurred
         */
        private void logError(String message, Exception e) {
            StringWriter sw = new StringWriter();
            PrintWriter pw = new PrintWriter(sw);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Apr 03 13:33:59 GMT 2025
    - 7.8K bytes
    - Click Count (0)
Back to Top