- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 29 for RuntimeCIFSException (0.35 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/main/java/jcifs/RuntimeCIFSException.java
* * @author mbechler * */ public class RuntimeCIFSException extends RuntimeException { /** * */ private static final long serialVersionUID = -2611196678846438579L; /** * Constructs a runtime CIFS exception with no detail message. */ public RuntimeCIFSException() { } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2K bytes - Click Count (0) -
src/test/java/jcifs/RuntimeCIFSExceptionTest.java
/** * Test class for RuntimeCIFSException functionality */ @DisplayName("RuntimeCIFSException Tests") class RuntimeCIFSExceptionTest extends BaseTest { @Test @DisplayName("Should create RuntimeCIFSException with default constructor") void testDefaultConstructor() { // When RuntimeCIFSException exception = new RuntimeCIFSException(); // ThenCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTreeHandleImplTest.java
// Validates usage counting and that an extra release() throws RuntimeCIFSException // First close -> usage 1 -> 0, triggers treeConnection.release() handle.close(); verify(treeConnection, times(1)).release(); // Second release -> usage 0 -> -1 triggers RuntimeCIFSException RuntimeCIFSException ex = assertThrows(RuntimeCIFSException.class, () -> handle.release());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.4K bytes - Click Count (0) -
src/test/java/jcifs/CIFSUnsupportedCryptoExceptionTest.java
assertNull(exception.getCause(), "Default constructor should have null cause"); assertTrue(exception instanceof RuntimeCIFSException, "Should extend RuntimeCIFSException"); assertTrue(exception instanceof RuntimeException, "Should be a RuntimeException"); } @Test @DisplayName("Message constructor should create exception with specified message")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.1K bytes - Click Count (0) -
src/test/java/jcifs/util/StringsTest.java
@Test @DisplayName("getOEMBytes should throw RuntimeCIFSException for unsupported encoding") void testGetOEMBytesWithUnsupportedEncoding() { // Given Configuration mockConfig = mock(Configuration.class); when(mockConfig.getOemEncoding()).thenReturn("INVALID-ENCODING"); // When & Then RuntimeCIFSException exception = assertThrows(RuntimeCIFSException.class, () -> {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/SmbComNegotiate.java
*/ package jcifs.internal.smb1.com; import java.io.ByteArrayOutputStream; import java.io.IOException; import jcifs.Configuration; import jcifs.RuntimeCIFSException; import jcifs.internal.SmbNegotiationRequest; import jcifs.internal.smb1.ServerMessageBlock; import jcifs.util.Strings; /** * SMB1 Negotiate Protocol request message. *
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.5K bytes - Click Count (3) -
src/test/java/jcifs/smb/SmbTreeConnectionTest.java
c.release(); verify(tree, times(1)).release(); } @Test @DisplayName("release below zero throws RuntimeCIFSException") void release_belowZero_throws() { SmbTreeConnection c = newConn(); RuntimeCIFSException ex = assertThrows(RuntimeCIFSException.class, c::release); assertTrue(ex.getMessage().toLowerCase().contains("usage count")); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 13K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndX.java
} catch (final GeneralSecurityException e) { throw new RuntimeCIFSException("Failed to encrypt password", e); } this.passwordLength = this.password.length; } else if (this.ctx.getConfig().isDisablePlainTextPasswords()) { throw new RuntimeCIFSException("Plain text passwords are disabled"); } else { // plain text
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 7.1K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponse.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.internal.smb1.trans.nt; import java.io.IOException; import jcifs.Configuration; import jcifs.RuntimeCIFSException; import jcifs.internal.dtyp.SecurityDescriptor; import jcifs.internal.util.SMBUtil; /** * Response for SMB1 NT Transaction security descriptor query. *
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.2K bytes - Click Count (0) -
src/main/java/jcifs/CIFSUnsupportedCryptoException.java
package jcifs; /** * Runtime exception indicating that the JDK does not support the cryptographic primitives that we use. * * @author mbechler * */ public class CIFSUnsupportedCryptoException extends RuntimeCIFSException { /** * */ private static final long serialVersionUID = -6350312430383107348L; /** * Constructs a CIFS unsupported crypto exception with no detail message. */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2K bytes - Click Count (0)