- Sort Score
- Num 10 results
- Language All
Results 241 - 250 of 3,804 for throws (0.06 seconds)
-
src/test/java/org/codelibs/fess/suggest/index/SuggestDeleteResponseTest.java
public void test_constructorWithEmptyErrors() throws Exception { List<Throwable> errors = new ArrayList<>(); SuggestDeleteResponse response = new SuggestDeleteResponse(errors, 100); assertNotNull(response); assertFalse(response.hasError()); assertEquals(0, response.getErrors().size()); } @Test public void test_getTook() throws Exception {
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Thu Nov 13 00:40:54 GMT 2025 - 3.9K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java
try { return q.toString(); } finally { monitor.leave(); } } /** * @throws UnsupportedOperationException {@inheritDoc} * @throws ClassCastException {@inheritDoc} * @throws NullPointerException {@inheritDoc} * @throws IllegalArgumentException {@inheritDoc} */ @CanIgnoreReturnValue // pushed down from class to method @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 19K bytes - Click Count (0) -
src/test/java/jcifs/SmbPipeHandleTest.java
/** * Verifies that the close method can be called without throwing an exception. * @throws CIFSException if an error occurs during close. */ @Test public void testClose() throws CIFSException { assertDoesNotThrow(() -> smbPipeHandle.close(), "close() should not throw an exception on a mock object."); // Verify that the close method was calledCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/app/web/base/FessAdminActionTest.java
try { runnable.run(); throw new AssertionError("Expected " + expectedType.getSimpleName() + " to be thrown"); } catch (final Throwable t) { if (!expectedType.isInstance(t)) { throw new AssertionError("Expected " + expectedType.getSimpleName() + " but got " + t.getClass().getSimpleName(), t); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 14:36:23 GMT 2026 - 22.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java
@Override protected void setUp(TestInfo testInfo) throws Exception { super.setUp(testInfo); ComponentUtil.register(new DataSerializer(), "dataSerializer"); // Register protocolHelper - it doesn't need FessConfig for the methods used in tests ComponentUtil.register(new ProtocolHelper(), "protocolHelper"); } @Test public void test_transform() throws Exception {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 62.9K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/CacheLoader.java
* @throws Exception if unable to load the result * @throws InterruptedException if this method is interrupted. {@code InterruptedException} is * treated like any other {@code Exception} in all respects except that, when it is caught, * the thread's interrupted status is set */ public abstract V load(K key) throws Exception; /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jan 28 22:39:02 GMT 2026 - 9.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableMultiset.java
* * @throws UnsupportedOperationException always * @deprecated Unsupported operation. */ @CanIgnoreReturnValue @Deprecated @Override @DoNotCall("Always throws UnsupportedOperationException") public final int setCount(E element, int count) { throw new UnsupportedOperationException(); } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 22.3K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/lsarpcTest.java
@Test void testLsarCloseEncodeIn() throws NdrException { rpc.policy_handle mockHandle = mock(rpc.policy_handle.class); lsarpc.LsarClose lsarClose = new lsarpc.LsarClose(mockHandle); lsarClose.encode_in(mockNdrBuffer); verify(mockHandle).encode(mockNdrBuffer); } @Test void testLsarCloseDecodeOut() throws NdrException {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 60.8K bytes - Click Count (0) -
src/main/java/jcifs/smb/compression/CompressionService.java
* * @param data the data to compress * @param algorithm the compression algorithm to use * @return the compressed data * @throws CIFSException if compression fails */ byte[] compress(byte[] data, int algorithm) throws CIFSException; /** * Compresses data using the specified algorithm with offset and length. * * @param data the data bufferCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 5.2K bytes - Click Count (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 {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.8K bytes - Click Count (0)