Search Options

Results per page
Sort
Preferred Languages
Advance

Results 511 - 520 of 2,324 for exception (0.04 sec)

  1. docs/smb3-features/06-witness-protocol-design.md

                throw new IOException("Witness unregister RPC failed", e);
            }
        }
        
        public WitnessHeartbeatResponse heartbeat(WitnessHeartbeatRequest request) throws IOException {
            try {
                WitnessHeartbeatStub stub = new WitnessHeartbeatStub(request);
                handle.sendrecv(stub);
                return stub.getResponse();
            } catch (Exception e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 42K bytes
    - Viewed (0)
  2. samples/guide/src/main/java/okhttp3/recipes/CertificatePinning.java

                  .build())
          .build();
    
      public void run() throws Exception {
        Request request = new Request.Builder()
            .url("https://publicobject.com/robots.txt")
            .build();
    
        try (Response response = client.newCall(request).execute()) {
          if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Dec 08 21:30:01 UTC 2019
    - 1.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/net/JarURLConnectionUtil.java

     */
    package org.codelibs.core.net;
    
    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull;
    
    import java.io.IOException;
    import java.net.JarURLConnection;
    import java.util.jar.JarFile;
    
    import org.codelibs.core.exception.IORuntimeException;
    
    /**
     * Utility class for {@link JarURLConnection}.
     *
     * @author higa
     */
    public abstract class JarURLConnectionUtil {
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/io/InputStreamUtilTest.java

    import org.codelibs.core.lang.StringUtil;
    
    /**
     * @author higa
     *
     */
    public class InputStreamUtilTest extends TestCase {
    
        /**
         * @throws Exception
         */
        public void testGetBytes() throws Exception {
            final InputStream is = ResourceUtil.getResourceAsStream(StringUtil.replace(getClass().getName(), ".", "/") + ".class");
            try {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

         * it may throw the exception on the (n-1)th element (oops!).
         */
    
        /* Checks the case where the first element throws an exception. */
    
        List<Integer> list = emptyList();
        Iterator<Integer> iterator = peekingIterator(new ThrowsAtEndIterator<Integer>(list));
        assertNextThrows(iterator);
    
        /* Checks the case where a later element throws an exception. */
    
        list = Lists.newArrayList(1, 2);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/job/JobExecutorTest.java

        }
    
        public void test_shutdownListener_exceptionHandling() {
            // Test exception thrown in shutdown listener
            jobExecutor.addShutdownListener(new ShutdownListener() {
                @Override
                public void onShutdown() {
                    throw new RuntimeException("Test exception");
                }
            });
    
            try {
                jobExecutor.shutdown();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt

          builder.addInterceptor(interceptor)
        }
        client = builder.build()
      }
    
      /** Catches exceptions that are otherwise headed for the uncaught exception handler.  */
      private class ExceptionCatchingExecutor : ThreadPoolExecutor(1, 1, 0, TimeUnit.SECONDS, SynchronousQueue()) {
        private val exceptions: BlockingQueue<Exception> = LinkedBlockingQueue()
    
        override fun execute(runnable: Runnable) {
          super.execute {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbFileFilterTest.java

                    Arguments.of(null, false));
        }
    
        @Test
        @DisplayName("accept: returns true for directories; verifies isDirectory is invoked")
        void accept_returnsTrueForDirectory_andVerifiesInteraction() throws Exception {
            // Arrange: filter that accepts directories only
            SmbFileFilter filter = f -> f.isDirectory();
            when(smbFile.isDirectory()).thenReturn(true);
    
            // Act
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/validation/UriTypeTest.java

        private static class TestPayload implements Payload {
        }
    
        private static class AnotherTestPayload implements Payload {
        }
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
        }
    
        // Test annotation presence and structure
        public void test_annotationPresence() {
            assertTrue("UriType should be an annotation", UriType.class.isAnnotation());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 21K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/exception/PluginException.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.exception;
    
    /**
     * Exception for plugin-related errors.
     */
    public class PluginException extends FessSystemException {
    
        private static final long serialVersionUID = 1L;
    
        /**
         * Creates a plugin exception with message and cause.
         *
         * @param message the error message
         * @param cause the cause
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.2K bytes
    - Viewed (0)
Back to top