- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 148 for SmbException (0.47 seconds)
-
src/main/java/jcifs/smb1/smb1/SmbFile.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 112.2K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTreeImpl.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 30K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbSessionInternalTest.java
void treeConnectLogon_happy() throws SmbException { // doNothing by default session.treeConnectLogon(); verify(session, times(1)).treeConnectLogon(); } // Error propagation: connect to logon share throws SmbException @Test @DisplayName("treeConnectLogon throws SmbException when underlying call fails") void treeConnectLogon_throws() throws SmbException {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.8K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbFileInputStream.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 15.6K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbCopyUtil.java
* @param w * @param dh * @param sh * @param req * @param resp * @throws SmbException */ static void copyFile(final SmbFile src, final SmbFile dest, final byte[][] b, final int bsize, final WriterThread w, final SmbTreeHandleImpl sh, final SmbTreeHandleImpl dh) throws SmbException { if (sh.isSMB2() && dh.isSMB2() && sh.isSameTree(dh)) { try {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 16.6K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbSessionImpl.java
* Establish a tree connection with the configured logon share * * @throws SmbException */ @Override public void treeConnectLogon() throws SmbException { String logonShare = getContext().getConfig().getLogonShare(); if (logonShare == null || logonShare.isEmpty()) { throw new SmbException("Logon share is not defined"); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 68.9K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java
} /** * Converts an SmbException to an IOException. * * @param se the SmbException to convert * @return the resulting IOException */ protected IOException seToIoe(final SmbException se) { IOException ioe = se; Throwable root = se.getRootCause(); if (root instanceof TransportException) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 9.4K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbTree.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 8.1K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbFileFilterTest.java
@Override public boolean accept(SmbFile file) throws SmbException { if (file == null) { throw new SmbException("null file"); } return true; } }; assertThrows(SmbException.class, () -\u003e throwOnNull.accept(null)); } } @NestedCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.2K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbTreeTest.java
// Simulate network name deleted error SmbException networkDeletedError = new SmbException(SmbException.NT_STATUS_NETWORK_NAME_DELETED, false); doThrow(networkDeletedError).when(session).send(any(ServerMessageBlock.class), any(ServerMessageBlock.class)); // Execute and verify exception is thrown assertThrows(SmbException.class, () -> tree.send(request, response));Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 10.2K bytes - Click Count (0)