Search Options

Results per page
Sort
Preferred Languages
Advance

Results 491 - 500 of 523 for getMessage (0.48 sec)

  1. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

                writeSecurityBuffer(type3, 52, offset, sessionKey);
                writeULong(type3, 60, flags);
                return type3;
            } catch (final IOException ex) {
                throw new IllegalStateException(ex.getMessage());
            }
        }
    
        @Override
        public String toString() {
            final String user = getUser();
            final String domain = getDomain();
            final String workstation = getWorkstation();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  2. 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
    - 21.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/http/NtlmHttpURLConnection.java

                    index++;
                }
                return Integer.parseInt(response.substring(index, index + 3));
            } catch (final Exception ex) {
                throw new IOException(ex.getMessage());
            }
        }
    
        private void doHandshake() throws IOException, GeneralSecurityException {
            connect();
            try {
                int response = parseResponseCode();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/TreeConnectResponseTest.java

                assertTrue(cause instanceof SMBProtocolDecodingException, "Actual cause should be SMBProtocolDecodingException");
                assertEquals("Structure size is not 16", cause.getMessage(), "Should have correct error message");
            }
    
            @Test
            @DisplayName("Should write empty bytes for wire format")
            void testWriteBytesWireFormat() throws Exception {
                // Given
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java

                        assertThrows(SMBProtocolDecodingException.class, () -> response.readBytesWireFormat(buffer, 0));
                assertEquals("Expected structureSize = 60", exception.getMessage());
            }
    
            @ParameterizedTest
            @ValueSource(ints = { 0, 10, 20, 30 })
            @DisplayName("Should correctly read from different buffer offsets")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/http/NetworkExplorer.java

                    sb.append(new String(buf, 0, n, "ISO8859_1"));
                }
                style = sb.toString();
            } catch (final IOException ioe) {
                throw new ServletException(ioe.getMessage());
            }
    
            enableBasic = Config.getBoolean("jcifs.smb1.http.enableBasic", false);
            insecureBasic = Config.getBoolean("jcifs.smb1.http.insecureBasic", false);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/Throwables.java

       * context from when the error or exception was initially detected. Example usage:
       *
       * <pre>
       * assertEquals("Unable to assign a customer id", Throwables.getRootCause(e).getMessage());
       * </pre>
       *
       * @throws IllegalArgumentException if there is a loop in the causal chain
       */
      public static Throwable getRootCause(Throwable throwable) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java

                IllegalArgumentException exception = assertThrows(IllegalArgumentException.class, () -> referralData.stripPathConsumed(10));
                assertEquals("Stripping more than consumed", exception.getMessage());
            }
    
            private void setupReferralDataWithPathConsumed(int consumed) {
                when(mockReferral.getTtl()).thenReturn(300);
                when(mockReferral.getRFlags()).thenReturn(0);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java

                        logger.debug("Result: metadata: {}", metadata);
                    }
    
                    return extractData;
                } catch (final TikaException e) {
                    if (e.getMessage().indexOf("bomb") >= 0) {
                        throw new ExtractException("Zip bomb detected.", e);
                    }
                    final Throwable cause = e.getCause();
                    if (cause instanceof SAXException) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 30.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/util/transport/Transport.java

                            doRecv(response);
                            response.received();
                        }
                    }
                } catch (final Exception ex) {
                    final String msg = ex.getMessage();
                    final boolean timeout = ex instanceof SocketTimeoutException || msg != null && msg.equals("Read timed out");
                    final boolean closed = msg != null && msg.equals("Socket closed");
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 27.8K bytes
    - Viewed (0)
Back to top