Search Options

Results per page
Sort
Preferred Languages
Advance

Results 481 - 490 of 519 for setMessage (0.06 sec)

  1. src/main/java/jcifs/smb/SmbFileInputStream.java

                ioe = (TransportException) root;
                root = ioe.getCause();
            }
            if (root instanceof InterruptedException) {
                ioe = new InterruptedIOException(root.getMessage());
                ioe.initCause(root);
            }
            return ioe;
        }
    
        /**
         * Closes this input stream and releases any system resources associated with the stream.
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbFile.java

                        } catch (RuntimeException e) {
                            if (log.isDebugEnabled()) {
                                log.debug("Failed to add lease context for {}, continuing without leases: {}", uncPath, e.getMessage());
                            }
                        }
                    }
    
                    // Enable persistent handles if available, with fallback for compatibility
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

          if (!isPermitted(exception)) {
            String message =
                "Exception "
                    + exception.getClass().getSimpleName()
                    + " was thrown; expected "
                    + getMessage();
            throw new AssertionError(message, exception);
          }
        }
    
        @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

         *
         * @param key the message key
         * @param defaultValue the default value to return if message not found
         * @return localized message or default value
         */
        public static String getMessage(final String key, final String defaultValue) {
            final Locale locale = LaRequestUtil.getOptionalRequest().map(HttpServletRequest::getLocale).orElse(Locale.ROOT);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 25.4K bytes
    - Viewed (1)
  5. src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java

                IllegalArgumentException exception =
                        assertThrows(IllegalArgumentException.class, () -> request.writeBytesWireFormat(smallBuffer, 0));
    
                assertTrue(exception.getMessage().contains("Data exceeds buffer size"));
            }
    
            @Test
            @DisplayName("Should write data at correct offset in buffer")
            void testDataOffsetCalculation() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbTransportImpl.java

                if (this.negotiated == null) {
                    connect(this.transportContext.getConfig().getResponseTimeout());
                }
            } catch (final IOException ioe) {
                throw new SmbException(ioe.getMessage(), ioe);
            }
            final SmbNegotiationResponse r = this.negotiated;
            if (r == null) {
                throw new SmbException("Connection did not complete, failed to get negotiation response");
            }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbSession.java

                        return;
                    }
                    try {
                        transport.wait();
                    } catch (final InterruptedException ie) {
                        throw new SmbException(ie.getMessage(), ie);
                    }
                }
                connectionState = 1; // trying ...
    
                try {
                    transport.connect();
    
                    /*
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/curl/CurlRequest.java

                                try {
                                    return "<<< " + new String(bytes, 0, len, encoding);
                                } catch (final Exception e) {
                                    return "<<< <" + e.getMessage() + ">";
                                }
                            });
                            dfos.write(bytes, 0, length);
                        }
                        length = bis.read(bytes);
                    }
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Mon Nov 24 03:10:07 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java

            SMBProtocolDecodingException exception =
                    assertThrows(SMBProtocolDecodingException.class, () -> response.readBytesWireFormat(buffer, 0));
            assertEquals("Expected structureSize = 9", exception.getMessage());
        }
    
        @Test
        @DisplayName("Should handle empty notification list")
        void testEmptyNotificationList() throws Exception {
            // Given
            byte[] buffer = new byte[256];
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/http/NetworkExplorer.java

                        }
                        this.style = sb.toString();
                    }
                } catch (final IOException ioe) {
                    throw new ServletException(ioe.getMessage());
                }
    
                this.enableBasic = Config.getBoolean(p, "jcifs.http.enableBasic", false);
                this.insecureBasic = Config.getBoolean(p, "jcifs.http.insecureBasic", false);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.4K bytes
    - Viewed (0)
Back to top