Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 371 - 380 of 1,783 for exception (0.07 seconds)

  1. tests/test_ws_router.py

    
    def test_depend_validation():
        """
        Verify that a validation in a dependency invokes the correct exception handler
        """
        caught = []
    
        @websocket_middleware
        async def catcher(websocket, call_next):
            try:
                return await call_next()
            except Exception as e:  # pragma: no cover
                caught.append(e)
                raise
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Jun 11 19:08:14 GMT 2023
    - 7.5K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/ImmutableRangeMap.java

       *
       * @throws UnsupportedOperationException always
       * @deprecated Unsupported operation.
       */
      @Deprecated
      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
      public final void remove(Range<K> range) {
        throw new UnsupportedOperationException();
      }
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 14.8K bytes
    - Click Count (0)
  3. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/io/ToolchainsParseException.java

     * under the License.
     */
    package org.apache.maven.toolchain.io;
    
    import java.io.IOException;
    
    /**
     * Signals a failure to parse the toolchains due to invalid syntax (e.g. non well-formed XML or unknown elements).
     *
     * @since 3.3.0
     */
    @Deprecated(since = "4.0.0")
    public class ToolchainsParseException extends IOException {
    
        /**
         * The one-based index of the line containing the error.
         */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 3K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/project/DuplicateProjectException.java

     * under the License.
     */
    package org.apache.maven.project;
    
    import java.io.File;
    
    /**
     * Exception that occurs when the project list contains duplicate projects instead of ignoring one.
     *
     */
    public class DuplicateProjectException extends Exception {
        private final String projectId;
    
        private final File existingProjectFile;
    
        private final File conflictingProjectFile;
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/project/artifact/DefaultProjectArtifactsCache.java

        }
    
        @Override
        public CacheRecord put(Key key, LifecycleExecutionException exception) {
            Objects.requireNonNull(exception, "exception cannot be null");
            assertUniqueKey(key);
            return cache.computeIfAbsent(key, k -> new CacheRecord(exception));
        }
    
        protected void assertUniqueKey(Key key) {
            if (cache.containsKey(key)) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/HttpDateTest.kt

        // something else.
        TimeZone.setDefault(TimeZone.getTimeZone("America/Los_Angeles"))
      }
    
      @AfterEach
      @Throws(Exception::class)
      fun tearDown() {
        TimeZone.setDefault(originalDefault)
      }
    
      @Test
      @Throws(Exception::class)
      fun parseStandardFormats() {
        // RFC 822, updated by RFC 1123 with GMT.
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 3.9K bytes
    - Click Count (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/artifact/UnknownRepositoryLayoutException.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.artifact;
    
    import org.codehaus.plexus.component.repository.exception.ComponentLookupException;
    
    /**
     * Exception which is meant to occur when a layout specified for a particular
     * repository doesn't have a corresponding {@link org.apache.maven.artifact.repository.layout.ArtifactRepositoryLayout}
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/eventbus/SubscriberRegistry.java

          }
          /*
           * If some other exception happened, we just propagate the wrapper
           * UncheckedExecutionException, which has the stack trace from this thread and which has its
           * cause set to the underlying exception (which may be from another thread). If we someday
           * learn that some other exception besides IllegalArgumentException is common, then we could
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/extensions/ExtensionResolutionException.java

     * under the License.
     */
    package org.apache.maven.cling.extensions;
    
    import org.apache.maven.api.cli.extensions.CoreExtension;
    
    /**
     * Exception occurring trying to resolve a plugin.
     *
     */
    public class ExtensionResolutionException extends Exception {
    
        private final CoreExtension extension;
    
        public ExtensionResolutionException(CoreExtension extension, Throwable cause) {
            super(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 08 08:49:11 GMT 2024
    - 1.4K bytes
    - Click Count (0)
  10. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/transforms/Minify.kt

                        visitTree(classDetails, classesDir, jarOutputStream, visited)
                    }
                }
            } catch (exception: Exception) {
                throw ClassAnalysisException("Could not write shaded Jar $jarFile", exception)
            }
        }
    
        private
        fun visitTree(
            classDetails: ClassDetails,
            classesDir: File,
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Dec 18 11:46:45 GMT 2025
    - 4.9K bytes
    - Click Count (0)
Back to Top