Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 2,773 for throwIt (0.04 sec)

  1. src/test/java/org/codelibs/fess/helper/ThemeHelperTest.java

            Files.createDirectories(Paths.get("target", "fess", "js"));
        }
    
        @Override
        public void tearDown() throws Exception {
            if (tempDir != null && Files.exists(tempDir)) {
                deleteDirectory(tempDir);
            }
            super.tearDown();
        }
    
        private void deleteDirectory(Path dir) throws IOException {
            Files.walk(dir).sorted((a, b) -> b.compareTo(a)).forEach(path -> {
                try {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt

        /** Append space-prefixed lengths to [writer]. */
        @Throws(IOException::class)
        internal fun writeLengths(writer: BufferedSink) {
          for (length in lengths) {
            writer.writeByte(' '.code).writeDecimalLong(length)
          }
        }
    
        @Throws(IOException::class)
        private fun invalidLengths(strings: List<String>): Nothing = throw IOException("unexpected journal line: $strings")
    
        /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 34.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/lang/FieldUtil.java

         * @throws IllegalAccessRuntimeException {@link IllegalAccessException} if an error occurs
         * @see Field#getInt(Object)
         */
        public static int getInt(final Field field, final Object target) throws IllegalAccessRuntimeException {
            assertArgumentNotNull("field", field);
    
            try {
                return field.getInt(target);
            } catch (final IllegalAccessException ex) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/util/concurrent/testing/MockFutureListener.java

        } catch (ExecutionException e) {
          throw e.getCause();
        }
      }
    
      /**
       * Verify that the listener completes in a reasonable amount of time, and Asserts that the future
       * throws an {@code ExecutableException} and that the cause of the {@code ExecutableException} is
       * {@code expectedCause}.
       */
      public void assertException(Throwable expectedCause) throws Exception {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri May 12 18:12:42 UTC 2023
    - 3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/lang/ConstructorUtil.java

         * @param args the array of objects to be passed as arguments to the constructor invocation
         * @return a new object created by invoking the constructor
         * @throws InstantiationRuntimeException if the class declaring the constructor is abstract
         * @throws IllegalAccessRuntimeException if the number of actual and formal parameters differ, if primitive arguments cannot be converted, or if the class is related to enums
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/StringWagon.java

            } else {
                throw new ResourceDoesNotExistException("No content provided for " + resource.getName());
            }
        }
    
        @Override
        public void fillOutputData(OutputData outputData) throws TransferFailedException {
            outputData.setOutputStream(new ByteArrayOutputStream());
        }
    
        @Override
        protected void openConnectionInternal() throws ConnectionException, AuthenticationException {}
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/DcerpcSecurityProviderTest.java

        }
    
        @Test
        void testWrapMethodThrowsDcerpcException() throws DcerpcException {
            // Configure the mock to throw DcerpcException when wrap is called
            doThrow(new DcerpcException("Test wrap exception")).when(dcerpcSecurityProvider).wrap(mockNdrBuffer);
    
            // Assert that calling wrap throws DcerpcException
            assertThrows(DcerpcException.class, () -> dcerpcSecurityProvider.wrap(mockNdrBuffer));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  8. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/AndroidPlatform.kt

        ).filter { it.isSupported() }
    
      @Throws(IOException::class)
      override fun connectSocket(
        socket: Socket,
        address: InetSocketAddress,
        connectTimeout: Int,
      ) {
        try {
          socket.connect(address, connectTimeout)
        } catch (e: ClassCastException) {
          // On android 8.0, socket.connect throws a ClassCastException due to a bug
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu May 29 16:52:38 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

            }
    
            @Override
            public void close() throws IOException {
                stream.close();
                collector.close();
            }
    
            @Override
            public void flush() throws IOException {
                stream.flush();
                collector.flush();
            }
    
            @Override
            public void write(final byte[] b) throws IOException {
                stream.write(b);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt

       * otherwise.
       */
      @Throws(IOException::class)
      internal fun planWithCurrentOrInitialConnectionSpec(
        connectionSpecs: List<ConnectionSpec>,
        sslSocket: SSLSocket,
      ): ConnectPlan {
        if (connectionSpecIndex != -1) return this
        return nextConnectionSpec(connectionSpecs, sslSocket)
          ?: throw UnknownServiceException(
            "Unable to find acceptable protocols." +
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 18.6K bytes
    - Viewed (0)
Back to top