- Sort Score
- Result 10 results
- Languages All
Results 421 - 430 of 3,054 for throws (0.11 sec)
-
src/main/java/jcifs/smb/SmbTransportInternal.java
* @return whether the connection was in use * @throws IOException if an I/O error occurs during disconnection */ boolean disconnect(boolean hard, boolean inuse) throws IOException; /** * Ensures the transport is connected to the remote server. * * @return whether the transport was connected * @throws SmbException if an SMB error occurs * @throws IOException if an I/O error occurs */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/witness/MockWitnessService.java
} /** * Get the address the service is listening on * * @return the service address * @throws IOException if address cannot be determined */ public InetAddress getAddress() throws IOException { if (serverSocket == null) { throw new IOException("Service not started"); } return InetAddress.getLocalHost(); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 8.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java
long decodedValue = SMBUtil.readInt8(buffer, offset); assertEquals(endOfFile, decodedValue); } @Test @DisplayName("Test decode method with valid buffer") void testDecode() throws SMBProtocolDecodingException { // Prepare buffer with known value long expectedValue = 0x0123456789ABCDEFL; byte[] buffer = new byte[16]; SMBUtil.writeInt8(expectedValue, buffer, 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/CertificatePinning.java
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Dec 08 21:30:01 UTC 2019 - 1.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileHandleImpl.java
} /** * @return the fid * @throws SmbException */ public int getFid() throws SmbException { if (!isValid()) { throw new SmbException("Descriptor is no longer valid"); } return this.fid; } public byte[] getFileId() throws SmbException { if (!isValid()) { throw new SmbException("Descriptor is no longer valid"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 9.4K bytes - Viewed (1) -
src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java
assertEquals(0, buffer[2]); // salt length assertEquals(0, buffer[3]); } @Test @DisplayName("Should decode context correctly") void testDecode() throws SMBProtocolDecodingException { // Arrange context = new PreauthIntegrityNegotiateContext(); byte[] buffer = new byte[] { 0x02, 0x00, // 2 hash algos
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.4K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactory.java
/** * Creates a new object instance from the crawler container. * @return A new instance of the component specified by componentName * @throws Exception if the component cannot be created */ @Override public T create() throws Exception { return (T) crawlerContainer.getComponent(componentName); } /** * Wraps an object instance into a pooled object.
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 3.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbSessionImpl.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 68.9K bytes - Viewed (0) -
src/test/java/jcifs/util/PathValidatorTest.java
assertThrows(SmbException.class, () -> { strictValidator.validatePath("\\share\\file<script>.txt"); }); } @Test public void testTrailingSpace() throws Exception { assertThrows(SmbException.class, () -> { validator.validatePath("\\share\\file "); }); } @Test public void testTrailingPeriod() throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.6K bytes - Viewed (0) -
src/main/java/jcifs/context/SingletonContext.java
* * @param props the properties to use for initialization * @throws CIFSException if the singleton context is already initialized or there is an error during initialization */ public static synchronized final void init(final Properties props) throws CIFSException { if (INSTANCE != null) { throw new CIFSException("Singleton context is already initialized"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.3K bytes - Viewed (0)