Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 2,162 for exceptions (0.2 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyCollectorResult.java

     */
    @Experimental
    public interface DependencyCollectorResult {
        /**
         * Gets the exceptions that occurred while building the dependency graph.
         *
         * @return the exceptions that occurred, never {@code null}
         */
        @Nonnull
        List<Exception> getExceptions();
    
        /**
         * Gets the root node of the dependency graph.
         *
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Dec 08 08:42:44 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/BaseGraph.java

       * {@code view} returned by this method will be invalidated, and will throw {@code
       * IllegalStateException} if it is accessed in any way, with the following exceptions:
       *
       * <ul>
       *   <li>{@code view.equals(view)} evaluates to {@code true} (but any other `equals()` expression
       *       involving {@code view} will throw)
       *   <li>{@code hashCode()} does not throw
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 8.8K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java

     *   <li>throwing an exception of some kind
     *   <li>or the usual, <i>robust</i> behavior, which all known {@link Collection} implementations
     *       have, of returning a new, independent iterator
     * </ul>
     *
     * <p>Because of this situation, any public method accepting an iterable should invoke the {@code
     * iterator} method only once, and should be tested using this class. Exceptions to this rule should
     * be clearly documented.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/eventbus/EventBus.java

      }
    
      /** Simple logging handler for subscriber exceptions. */
      static final class LoggingHandler implements SubscriberExceptionHandler {
        static final LoggingHandler INSTANCE = new LoggingHandler();
    
        @Override
        public void handleException(Throwable exception, SubscriberExceptionContext context) {
          Logger logger = logger(context);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Aug 25 16:37:57 GMT 2021
    - 12.8K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/contracts/firContractUtils.kt

    import org.jetbrains.kotlin.contracts.description.LogicOperationKind
    import org.jetbrains.kotlin.fir.types.ConeKotlinType
    import org.jetbrains.kotlin.fir.utils.exceptions.withFirEntry
    import org.jetbrains.kotlin.utils.exceptions.errorWithAttachment
    
    internal fun KtEffectDeclaration<ConeKotlinType, ConeDiagnostic>.coneEffectDeclarationToAnalysisApi(
        builder: KtSymbolByFirBuilder,
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Wed Jul 26 14:29:20 GMT 2023
    - 7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/graph/Network.java

       * {@code view} returned by this method will be invalidated, and will throw {@code
       * IllegalStateException} if it is accessed in any way, with the following exceptions:
       *
       * <ul>
       *   <li>{@code view.equals(view)} evaluates to {@code true} (but any other `equals()` expression
       *       involving {@code view} will throw)
       *   <li>{@code hashCode()} does not throw
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 21.1K bytes
    - Viewed (0)
  7. tests/test_empty_router.py

    import pytest
    from fastapi import APIRouter, FastAPI
    from fastapi.exceptions import FastAPIError
    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    router = APIRouter()
    
    
    @router.get("")
    def get_empty():
        return ["OK"]
    
    
    app.include_router(router, prefix="/prefix")
    
    
    client = TestClient(app)
    
    
    def test_use_empty():
        with client:
            response = client.get("/prefix")
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Jun 11 22:37:34 GMT 2023
    - 805 bytes
    - Viewed (0)
  8. tests/test_tutorial/test_dependencies/test_tutorial008c.py

    import pytest
    from fastapi.exceptions import FastAPIError
    from fastapi.testclient import TestClient
    
    
    @pytest.fixture(name="client")
    def get_client():
        from docs_src.dependencies.tutorial008c import app
    
        client = TestClient(app)
        return client
    
    
    def test_get_no_item(client: TestClient):
        response = client.get("/items/foo")
        assert response.status_code == 404, response.text
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Feb 24 23:06:37 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_dependencies/test_tutorial008c_an.py

    import pytest
    from fastapi.exceptions import FastAPIError
    from fastapi.testclient import TestClient
    
    
    @pytest.fixture(name="client")
    def get_client():
        from docs_src.dependencies.tutorial008c_an import app
    
        client = TestClient(app)
        return client
    
    
    def test_get_no_item(client: TestClient):
        response = client.get("/items/foo")
        assert response.status_code == 404, response.text
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Feb 24 23:06:37 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_dependencies/test_tutorial008c_an_py39.py

    import pytest
    from fastapi.exceptions import FastAPIError
    from fastapi.testclient import TestClient
    
    from ...utils import needs_py39
    
    
    @pytest.fixture(name="client")
    def get_client():
        from docs_src.dependencies.tutorial008c_an_py39 import app
    
        client = TestClient(app)
        return client
    
    
    @needs_py39
    def test_get_no_item(client: TestClient):
        response = client.get("/items/foo")
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Feb 24 23:06:37 GMT 2024
    - 1.2K bytes
    - Viewed (0)
Back to top