Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 270 for RuntimeException (0.16 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbFile.java

            this( new URL( null, url, Handler.SMB_HANDLER ), auth );
            if ((shareAccess & ~(FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE)) != 0) {
                throw new RuntimeException( "Illegal shareAccess parameter" );
            }
            this.shareAccess = shareAccess;
        }
    /**
     * Constructs an SmbFile representing a resource on an SMB network such
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertThrows(
            RuntimeException.class,
            () -> SerializableTester.reserialize(TypeToken.of(new TypeCapture<B>() {}.capture())));
      }
    
      public <A> void testSerializable_typeVariableNotSupported() {
        assertThrows(RuntimeException.class, () -> new ITryToSerializeMyTypeVariable<String>().go());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertThrows(
            RuntimeException.class,
            () -> SerializableTester.reserialize(TypeToken.of(new TypeCapture<B>() {}.capture())));
      }
    
      public <A> void testSerializable_typeVariableNotSupported() {
        assertThrows(RuntimeException.class, () -> new ITryToSerializeMyTypeVariable<String>().go());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
  4. 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
    - 36.8K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/EventListenerTest.kt

              sink.flush()
              Thread.sleep(100)
              i += chunk.size
            }
          } catch (e: IOException) {
            ioe = e
          } catch (e: InterruptedException) {
            throw RuntimeException(e)
          }
        }
      }
    
      @Test
      fun requestBodyMultipleFailuresReportedOnlyOnce() {
        val requestBody: RequestBody =
          object : RequestBody() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 56.9K bytes
    - Viewed (2)
  6. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

      @Test
      fun unexpectedExceptionSync() {
        client =
          client.newBuilder()
            .dns { hostname: String? -> throw RuntimeException("boom!") }
            .build()
        server.enqueue(MockResponse())
        assertFailsWith<RuntimeException> {
          getResponse(newRequest("/"))
        }.also { expected ->
          assertThat(expected.message).isEqualTo("boom!")
        }
      }
    
      @Test
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/cache/LocalCache.java

          } catch (ExecutionException ee) {
            Throwable cause = ee.getCause();
            if (cause instanceof Error) {
              throw new ExecutionError((Error) cause);
            } else if (cause instanceof RuntimeException) {
              throw new UncheckedExecutionException(cause);
            }
            throw ee;
          } finally {
            postReadCleanup();
          }
        }
    
        @CheckForNull
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 149.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

                   * `AutoCloseable`.
                   *
                   * In guava-android, the only kinds of Exception that may be thrown are
                   * RuntimeException and IOException because `closeable` has type `Closeable`—except
                   * that we have to account for sneaky checked exception.
                   */
                  restoreInterruptIfIsInterruptedException(e);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 08 19:36:35 UTC 2024
    - 98.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbFile.java

                return (T) createResp.getNextResponse();
            }
            catch (
                CIFSException |
                RuntimeException e ) {
                try {
                    // make sure that the handle is closed when one of the requests fails
                    Smb2CreateResponse createResp = cr.getResponse();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (0)
  10. test-site/activator-launch-1.3.2.jar

    synchronized class Launch$$anonfun$1 extends scala.runtime.AbstractFunction2 implements scala.Serializable { public void Launch$$anonfun$1(Launch); } xsbt/boot/BootException.class package xsbt.boot; public synchronized class BootException extends RuntimeException { private final String toString; public String toString(); public void BootException(String); } xsbt/boot/Copy$$anonfun$apply$2$$anonfun$apply$3.class package xsbt.boot; public final synchronized class Copy$$anonfun$apply$2$$anonfun$apply$3 extends...
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Mon Apr 20 08:41:37 UTC 2015
    - 1.2M bytes
    - Viewed (0)
Back to top