- Sort Score
- Result 10 results
- Languages All
Results 1461 - 1470 of 2,976 for throw (0.02 sec)
-
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractor.java
for (final Header header : headers) { data.putValue(header.getName(), header.getValue()); } } catch (final IOException e) { throw new ExtractException(e); } finally { if (accessTimeout != null) { accessTimeoutTarget.stop(); if (!accessTimeoutTask.isCanceled()) {
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 12.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbSessionImplTest.java
verify(transport, times(1)).acquire(); assertTrue(session.isInUse()); } @Test @DisplayName("getSessionKey: throws when absent, returns when present") void testGetSessionKey() throws Exception { SmbSessionImpl session = newSession(); // Absent key -> CIFSException CIFSException noKey = assertThrows(CIFSException.class, session::getSessionKey);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/HandlerTest.java
// Arrange & Act Handler handler = newHandler(); URL url = new URL(null, spec, handler); // Assert assertEquals(expectedPort, url.getPort()); } @Test @DisplayName("parseURL with null spec throws NullPointerException") void testParseURL_NullSpec() throws MalformedURLException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponseTest.java
} } @Test void testReadDataWireFormatWithEmptyData() throws SMBProtocolDecodingException { byte[] buffer = new byte[100]; int result = response.readDataWireFormat(buffer, 0, 0); assertEquals(0, result); } @Test void testReadDataWireFormatAtBufferBoundary() throws SMBProtocolDecodingException { // Test with data exactly matching output buffer size
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/DES.java
*/ public byte[] encrypt(final byte[] clearText) { final int length = clearText.length; if (length % 8 != 0) { // DES requires 8-byte blocks throw new IllegalArgumentException("Array must be a multiple of 8 bytes for DES encryption"); } final byte[] cipherText = new byte[length]; final int count = length / 8;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 22.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/query/QueryCommandTest.java
propField.setAccessible(true); propField.set(this, new org.dbflute.helper.jprop.ObjectiveProperties("test")); } catch (Exception e) { throw new RuntimeException("Failed to initialize prop field", e); } } @Override public String getIndexFieldTitle() { return "title"; }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 10K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/ProtoSession.java
return topDirectory; } @Override public Path getRootDirectory() { if (rootDirectory == null) { throw new IllegalStateException("root directory not set"); } return rootDirectory; } } }
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Jul 03 14:18:26 UTC 2025 - 7.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbNamedPipe.java
* @throws MalformedURLException if the URL is not properly formatted */ public SmbNamedPipe(final String url, final int pipeType, final boolean unshared, final CIFSContext tc) throws MalformedURLException { super(url, tc); this.pipeType = pipeType; setNonPooled(unshared); if (!getLocator().isIPC()) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.2K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/collect/MinMaxPriorityQueueBenchmark.java
* * @author Sverre Sundsdal */ @NullUnmarked public class MinMaxPriorityQueueBenchmark { @Param private ComparatorType comparator; // TODO(kevinb): add 1000000 back when we have the ability to throw // NotApplicableException in the expensive comparator case. @Param({"100", "10000"}) private int size; @Param private HeapType heap; private Queue<Integer> queue;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 4.4K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcExceptionTest.java
assertThrows(ArrayIndexOutOfBoundsException.class, () -> { DcerpcException.getMessageByDcerpcError(unknownCode); }, "Should throw ArrayIndexOutOfBoundsException due to binary search bug"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0)