Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 358 for RuntimeException (0.52 sec)

  1. src/main/java/jcifs/RuntimeCIFSException.java

    /**
     * Base for all checked exceptions used by this library
     *
     *
     * These should only occur under very rare circumstances.
     *
     * @author mbechler
     *
     */
    public class RuntimeCIFSException extends RuntimeException {
    
        /**
         *
         */
        private static final long serialVersionUID = -2611196678846438579L;
    
        /**
         * Constructs a runtime CIFS exception with no detail message.
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/ExecutionList.java

          reversedList = reversedList.next;
        }
      }
    
      /**
       * Submits the given runnable to the given {@link Executor} catching and logging all {@linkplain
       * RuntimeException runtime exceptions} thrown by the executor.
       */
      @SuppressWarnings("CatchingUnchecked") // sneaky checked exception
      private static void executeListener(Runnable runnable, Executor executor) {
        try {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/SmbTreeTest.java

         * Verifies behavior when close throws an exception.
         */
        @Test
        void testClose_throwsException() {
            doThrow(new RuntimeException("Failed to close")).when(smbTree).close();
    
            assertThrows(RuntimeException.class, () -> smbTree.close(), "Should propagate exception when close fails");
        }
    
        /**
         * Test for AutoCloseable functionality.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/BuilderCommon.java

            if (t instanceof Exception exception && !(t instanceof RuntimeException)) {
                eventCatapult.fire(ExecutionEvent.Type.ProjectFailed, currentSession, null, exception);
            }
    
            // reactor failure modes
            if (t instanceof RuntimeException || !(t instanceof Exception)) {
                // fail fast on RuntimeExceptions, Errors and "other" Throwables
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 10 08:42:00 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/AbstractMapsTransformValuesTest.java

        try {
          super.testKeySetRemoveAllNullFromEmpty();
        } catch (RuntimeException tolerated) {
          // GWT's HashMap.keySet().removeAll(null) doesn't throws NPE.
        }
      }
    
      @Override
      public void testEntrySetRemoveAllNullFromEmpty() {
        try {
          super.testEntrySetRemoveAllNullFromEmpty();
        } catch (RuntimeException tolerated) {
          // GWT's HashMap.entrySet().removeAll(null) doesn't throws NPE.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/base/PredicatesTest.java

        Boolean expectedResult = null;
        RuntimeException expectedRuntimeException = null;
        try {
          expectedResult = expected.apply(input);
        } catch (RuntimeException e) {
          expectedRuntimeException = e;
        }
    
        Boolean actualResult = null;
        RuntimeException actualRuntimeException = null;
        try {
          actualResult = actual.apply(input);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 32.3K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt

      @Test
      fun throwingOnOpenFailsImmediately() {
        webServer.enqueue(
          MockResponse
            .Builder()
            .webSocketUpgrade(serverListener)
            .build(),
        )
        val e = RuntimeException()
        clientListener.setNextEventDelegate(
          object : WebSocketListener() {
            override fun onOpen(
              webSocket: WebSocket,
              response: Response,
            ): Unit = throw e
          },
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/security/MessageDigestUtil.java

         *            The algorithm (refer to the Javadoc of {@link MessageDigest} for available algorithms).
         *            Must not be {@literal null} or an empty string.
         * @return {@link MessageDigest}
         * @throws RuntimeException
         *             If a {@link NoSuchAlgorithmException} occurs
         */
        public static MessageDigest getInstance(final String algorithm) {
            assertArgumentNotEmpty("algorithm", algorithm);
    
            try {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/cache/BatchRequestException.java

     * callers to determine which specific requests failed and why.
     *
     * @since 4.0.0
     */
    @Experimental
    public class BatchRequestException extends RuntimeException {
    
        private final List<RequestResult<?, ?>> results;
    
        /**
         * Constructs a new BatchRequestException with the specified message and results.
         *
         * @param <REQ> The type of the request
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java

     * When a task is {@linkplain Thread#interrupt interrupted}, execution of subsequent tasks
     * continues. See {@link QueueWorker#workOnQueue} for details.
     *
     * <p>{@code RuntimeException}s thrown by tasks are simply logged and the executor keeps trucking.
     * If an {@code Error} is thrown, the error will propagate and execution will stop until it is
     * restarted by a call to {@link #execute}.
     */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
Back to top