Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 270 for RuntimeException (0.21 sec)

  1. android/guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

        public static final WithExceptionalConstructor INSTANCE =
            new WithExceptionalConstructor("whatever");
    
        public WithExceptionalConstructor() {
          throw new RuntimeException();
        }
    
        private WithExceptionalConstructor(String unused) {}
      }
    
      private static class WithPublicConstant {
        public static final WithPublicConstant INSTANCE = new WithPublicConstant();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

                  paramIndex,
                  Arrays.toString(params),
                  cause),
              cause);
        } catch (IllegalAccessException e) {
          throw new RuntimeException(e);
        }
      }
    
      private @Nullable Object[] buildParamList(
          Invokable<?, ?> invokable, int indexOfParamToSetToNull) {
        ImmutableList<Parameter> params = invokable.getParameters();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/NullPointerTester.java

                  paramIndex,
                  Arrays.toString(params),
                  cause),
              cause);
        } catch (IllegalAccessException e) {
          throw new RuntimeException(e);
        }
      }
    
      private @Nullable Object[] buildParamList(
          Invokable<?, ?> invokable, int indexOfParamToSetToNull) {
        ImmutableList<Parameter> params = invokable.getParameters();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

      /** Returns this URL as a [java.net.URL][URL]. */
      @JvmName("url")
      fun toUrl(): URL {
        try {
          return URL(url)
        } catch (e: MalformedURLException) {
          throw RuntimeException(e) // Unexpected!
        }
      }
    
      /**
       * Returns this URL as a [java.net.URI][URI]. Because `URI` is more strict than this class, the
       * returned URI may be semantically different from this URL:
       *
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 63.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SID.java

            identifier_authority = new byte[6];
            System.arraycopy(src, si, identifier_authority, 0, 6);
            si += 6;
            if (sub_authority_count > 100)
                throw new RuntimeException( "Invalid SID sub_authority_count" );
            sub_authority = new int[sub_authority_count];
            for (int i = 0; i < sub_authority_count; i++) {
                sub_authority[i] = ServerMessageBlock.readInt4( src, si );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 26.6K bytes
    - Viewed (0)
  6. gradle/wrapper/gradle-wrapper.jar

    liability. END OF TERMS AND CONDITIONS META-INF/MANIFEST.MF Manifest-Version: 1.0 Implementation-Title: Gradle Wrapper org/gradle/cli/CommandLineArgumentE.class package org.gradle.cli; public final synchronized class CommandLineArgumentE extends RuntimeException { public void CommandLineArgumentE(String); } org/gradle/cli/CommandLineOption.class package org.gradle.cli; public final synchronized class CommandLineOption { public final java.util.HashSet options; public Class argumentType; public String...
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Dec 24 09:00:26 UTC 2023
    - 42.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Streams.java

            if (exception == null) {
              exception = e;
            } else {
              exception.addSuppressed(e);
            }
          }
        }
        if (exception != null) {
          // Normally this is a RuntimeException that doesn't need sneakyThrow.
          // But theoretically we could see sneaky checked exception
          sneakyThrow(exception);
        }
      }
    
      /** Throws an undeclared checked exception. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

            Cancellable toReturn;
            lock.lock();
            try {
              toReturn = initializeOrUpdateCancellationDelegate(schedule);
            } catch (Throwable e) {
              // Any Exception is either a RuntimeException or sneaky checked exception.
              //
              // If an exception is thrown by the subclass then we need to make sure that the service
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 16:22:21 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

                    )
                  val response2 = call2.execute()
                  assertThat(response2.body.string()).isEqualTo("call2 response")
                } catch (e: IOException) {
                  throw RuntimeException(e)
                }
              }
              return result
            }
    
            override fun peek(): MockResponse = queueDispatcher.peek()
    
            override fun shutdown() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  10. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

      @Synchronized private fun before() {
        if (started) return // Don't call start() in case we're already shut down.
        try {
          start()
        } catch (e: IOException) {
          throw RuntimeException(e)
        }
      }
    
      fun toProxyAddress(): Proxy {
        before()
        val address = InetSocketAddress(_inetSocketAddress!!.address.hostName, port)
        return Proxy(Proxy.Type.HTTP, address)
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 37.4K bytes
    - Viewed (0)
Back to top