Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 571 - 580 of 1,180 for Exception (0.07 seconds)

  1. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

        try {
          @SuppressWarnings("unchecked") // We'll get a runtime exception if the type is wrong.
          Invokable<Object, ?> unsafe = (Invokable<Object, ?>) invokable;
          unsafe.invoke(instance, params);
          Assert.fail(
              "No exception thrown for parameter at index "
                  + paramIndex
                  + " from "
                  + invokable
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 24.9K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/ImmutableMultiset.java

      }
    
      @Override
      public boolean contains(@Nullable Object object) {
        return count(object) > 0;
      }
    
      /**
       * Guaranteed to throw an exception and leave the collection unmodified.
       *
       * @throws UnsupportedOperationException always
       * @deprecated Unsupported operation.
       */
      @CanIgnoreReturnValue
      @Deprecated
      @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/IntrospectionException.java

    package org.apache.maven.model.interpolation.reflection;
    
    /**
     * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    public class IntrospectionException extends Exception {
    
        /**
         *
         */
        private static final long serialVersionUID = -6090771282553728784L;
    
        IntrospectionException(String message) {
            super(message);
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  4. futures/listenablefuture1/src/com/google/common/util/concurrent/ListenableFuture.java

       * this method is guaranteed to be called once the computation is complete.
       *
       * <p>Exceptions thrown by a listener will be propagated up to the executor. Any exception thrown
       * during {@code Executor.execute} (e.g., a {@code RejectedExecutionException} or an exception
       * thrown by {@linkplain MoreExecutors#directExecutor direct execution}) will be caught and
       * logged.
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 8K bytes
    - Click Count (0)
  5. guava/src/com/google/common/util/concurrent/ListenableFuture.java

       * this method is guaranteed to be called once the computation is complete.
       *
       * <p>Exceptions thrown by a listener will be propagated up to the executor. Any exception thrown
       * during {@code Executor.execute} (e.g., a {@code RejectedExecutionException} or an exception
       * thrown by {@linkplain MoreExecutors#directExecutor direct execution}) will be caught and
       * logged.
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 8K bytes
    - Click Count (0)
  6. docs_src/dependencies/tutorial008c_py39.py

    from fastapi import Depends, FastAPI, HTTPException
    
    app = FastAPI()
    
    
    class InternalError(Exception):
        pass
    
    
    def get_username():
        try:
            yield "Rick"
        except InternalError:
            print("Oops, we didn't raise again, Britney 😱")
    
    
    @app.get("/items/{item_id}")
    def get_item(item_id: str, username: str = Depends(get_username)):
        if item_id == "portal-gun":
            raise InternalError(
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 660 bytes
    - Click Count (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/repository/ArtifactTransferFailedException.java

     * under the License.
     */
    package org.apache.maven.repository;
    
    /**
     * ArtifactTransferFailedException
     */
    @Deprecated
    public class ArtifactTransferFailedException extends Exception {
        public ArtifactTransferFailedException(final String message) {
            super(message);
        }
    
        public ArtifactTransferFailedException(final String message, final Throwable cause) {
            super(message, cause);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.2K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequestPopulationException.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.execution;
    
    /**
     */
    public class MavenExecutionRequestPopulationException extends Exception {
        public MavenExecutionRequestPopulationException(String message) {
            super(message);
        }
    
        public MavenExecutionRequestPopulationException(Throwable cause) {
            super(cause);
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.2K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/xml/XmlEscapersTest.java

     *
     * @author Alex Matevossian
     * @author David Beaumont
     */
    @GwtCompatible
    @NullUnmarked
    public class XmlEscapersTest extends TestCase {
    
      public void testXmlContentEscaper() throws Exception {
        CharEscaper xmlContentEscaper = (CharEscaper) XmlEscapers.xmlContentEscaper();
        assertBasicXmlEscaper(xmlContentEscaper, false, false);
        // Test quotes are not escaped.
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 05 22:03:28 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/AggregateFutureStateDefaultAtomicHelperTest.java

     * under Android.
     */
    @NullUnmarked
    public class AggregateFutureStateDefaultAtomicHelperTest extends TestCase {
      public void testUsingExpectedAtomicHelper() throws Exception {
        assertThat(AggregateFutureState.atomicHelperTypeForTest()).isEqualTo("SafeAtomicHelper");
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Apr 05 15:44:19 GMT 2025
    - 1.3K bytes
    - Click Count (0)
Back to Top