Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2011 - 2020 of 2,367 for Exceptions (0.04 sec)

  1. src/cmd/api/main_test.go

    	}
    	for _, file := range nextFiles {
    		required = append(required, fileFeatures(file, true)...)
    	}
    	exception := fileFeatures(filepath.Join(testenv.GOROOT(t), "api/except.txt"), false)
    
    	if exitCode == 1 {
    		t.Errorf("API database problems found")
    	}
    	if !compareAPI(bw, features, required, exception) {
    		t.Errorf("API differences found")
    	}
    }
    
    // export emits the exported package features.
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Thu Feb 20 03:25:33 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java

        private static final long TEST_LAST_WRITE_TIME = 131234567900000L;
        private static final long TEST_LAST_ACCESS_TIME = 131234567880000L;
    
        @BeforeEach
        void setUp() throws Exception {
            MockitoAnnotations.openMocks(this);
            Properties props = new Properties();
            config = new PropertyConfiguration(props);
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/graph/ValueGraphTest.java

                EndpointPair.unordered(2, 3),
                EndpointPair.unordered(1, 2),
                EndpointPair.unordered(2, 4))
            .inOrder();
      }
    
      @Test
      public void concurrentIteration() throws Exception {
        graph = ValueGraphBuilder.directed().build();
        graph.putEdgeValue(1, 2, "A");
        graph.putEdgeValue(3, 4, "B");
        graph.putEdgeValue(5, 6, "C");
    
        int threadCount = 20;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 07 15:57:03 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/xml/SchemaUtil.java

    import java.io.File;
    import java.net.URL;
    
    import javax.xml.transform.Source;
    import javax.xml.validation.Schema;
    import javax.xml.validation.SchemaFactory;
    
    import org.codelibs.core.exception.SAXRuntimeException;
    import org.xml.sax.SAXException;
    
    /**
     * Utility class for {@link Schema}.
     *
     * @author koichik
     */
    public abstract class SchemaUtil {
    
        /**
         * Do not instantiate.
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/api/admin/joblog/ApiAdminJoblogAction.java

                try {
                    jobLogService.delete(entity);
                    saveInfo(messages -> messages.addSuccessCrudDeleteCrudTable(GLOBAL));
                } catch (final Exception e) {
                    logger.warn("Failed to process a request.", e);
                    throwValidationErrorApi(messages -> messages.addErrorsCrudFailedToDeleteCrudTable(GLOBAL, buildThrowableMessage(e)));
                }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/FileProfileActivatorTest.java

        @TempDir
        Path tempDir;
    
        private final DefaultProfileActivationContext context = new DefaultProfileActivationContext();
    
        @BeforeEach
        @Override
        void setUp() throws Exception {
            activator = new FileProfileActivator()
                    .setProfileActivationFilePathInterpolator(new ProfileActivationFilePathInterpolator()
                            .setPathTranslator(new DefaultPathTranslator())
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 10 07:09:12 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/logging/LoggingExecutionListener.java

                halted = status.isHalted();
            } else {
                // assume sensible default
                Throwable t = projectExecutionEvent.getCause();
                halted = (t instanceof RuntimeException || !(t instanceof Exception))
                        || !MavenExecutionRequest.REACTOR_FAIL_NEVER.equals(session.getReactorFailureBehavior())
                                && !MavenExecutionRequest.REACTOR_FAIL_AT_END.equals(session.getReactorFailureBehavior());
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/backup/ApiAdminBackupAction.java

    import java.io.OutputStreamWriter;
    import java.io.Writer;
    import java.util.List;
    import java.util.Map;
    import java.util.function.Consumer;
    
    import org.apache.commons.text.StringEscapeUtils;
    import org.codelibs.core.exception.IORuntimeException;
    import org.codelibs.fess.Constants;
    import org.codelibs.fess.app.web.api.ApiResult;
    import org.codelibs.fess.app.web.api.ApiResult.ApiBackupFilesResponse;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketProtocol.kt

      /**
       * Value for [B1_MASK_LENGTH] which indicates the next eight bytes are the unsigned
       * length.
       */
      internal const val PAYLOAD_LONG = 127
    
      /** Used when an unchecked exception was thrown in a listener. */
      internal const val CLOSE_CLIENT_GOING_AWAY = 1001
    
      /** Used when an empty close frame was received (i.e., without a status code). */
      internal const val CLOSE_NO_STATUS_CODE = 1005
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/middleware.md

    app = SomeASGIApp()
    
    new_app = UnicornMiddleware(app, some_config="rainbow")
    ```
    
    But FastAPI (actually Starlette) provides a simpler way to do it that makes sure that the internal middlewares handle server errors and custom exception handlers work properly.
    
    For that, you use `app.add_middleware()` (as in the example for CORS).
    
    ```Python
    from fastapi import FastAPI
    from unicorn import UnicornMiddleware
    
    app = FastAPI()
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 4.4K bytes
    - Viewed (0)
Back to top