Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 17 of 17 for throwsException (0.15 sec)

  1. guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java

      protected volatile boolean throwException = false;
    
      protected final ListenableFutureTask<Integer> task =
          ListenableFutureTask.create(
              new Callable<Integer>() {
                @Override
                public Integer call() throws Exception {
                  runLatch.countDown();
                  taskLatch.await();
                  if (throwException) {
                    throw new IllegalStateException("Fail");
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r32/RuntimeExceptionThrowingBrokenBuildAction.java

     * limitations under the License.
     */
    
    package org.gradle.integtests.tooling.r32;
    
    class RuntimeExceptionThrowingBrokenBuildAction extends BrokenBuildAction {
        void throwException() {
            throw new CustomException();
        }
    
        static class CustomException extends RuntimeException {
            Thread thread = Thread.currentThread(); // non-serializable field
    
            CustomException() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1K bytes
    - Viewed (0)
  3. platforms/core-runtime/io/src/main/java/org/gradle/internal/io/StreamByteBuffer.java

                    if (!result.isUnderflow()) {
                        result.throwException();
                    }
                    break;
                }
                wasUnderflow = result.isUnderflow();
            }
            if (needsFlush) {
                CoderResult result = decoder.flush(charbuffer);
                if (!result.isUnderflow()) {
                    result.throwException();
                }
            }
            clear();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 08:51:14 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/ReaderInputStream.java

              } else { // (c)
                readMoreChars();
              }
            } else if (result.isError()) {
              // Only reach here if a CharsetEncoder with non-REPLACE settings is used.
              result.throwException();
              return 0; // Not called.
            }
          }
        }
      }
    
      /** Returns a new CharBuffer identical to buf, except twice the capacity. */
      private static CharBuffer grow(CharBuffer buf) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/io/ReaderInputStream.java

              } else { // (c)
                readMoreChars();
              }
            } else if (result.isError()) {
              // Only reach here if a CharsetEncoder with non-REPLACE settings is used.
              result.throwException();
              return 0; // Not called.
            }
          }
        }
      }
    
      /** Returns a new CharBuffer identical to buf, except twice the capacity. */
      private static CharBuffer grow(CharBuffer buf) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/beans/impl/BeanDescImplTest.java

             * @return Integer
             */
            public Integer echo(final Integer arg) {
                return arg;
            }
    
            /**
             *
             */
            public void throwException() {
                throw new IllegalStateException("hoge");
            }
        }
    
        /**
         *
         */
        public class MyBean2 {
            /**
             *
             */
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  7. maven-core/src/test/resources/apiv4-repo/junit/junit/4.13.1/junit-4.13.1.jar

    junit/framework/TestFailure.class package junit.framework; public synchronized class TestFailure { protected Test fFailedTest; protected Throwable fThrownException; public void TestFailure(Test, Throwable); public Test failedTest(); public Throwable thrownException(); public String toString(); public String trace(); public String exceptionMessage(); public boolean isFailure(); } junit/framework/JUnit4TestAdapterCac$1.class package junit.framework; synchronized class JUnit4TestAdapterCac$1 extends org.ju...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Dec 19 19:08:55 UTC 2023
    - 373.7K bytes
    - Viewed (0)
Back to top