- Sort Score
- Num 10 results
- Language All
Results 1861 - 1870 of 3,670 for throwIf (0.12 seconds)
-
guava-tests/test/com/google/common/reflect/ReflectionTest.java
assertThat(Reflection.getPackageName(Map.Entry.class)).isEqualTo("java.util"); } public void testNewProxy() throws Exception { Runnable runnable = Reflection.newProxy(Runnable.class, X_RETURNER); assertThat(runnable.toString()).isEqualTo("x"); } public void testNewProxyCantWorkOnAClass() throws Exception { assertThrows( IllegalArgumentException.class, () -> Reflection.newProxy(Object.class, X_RETURNER));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 2.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/ClosingFutureFinishToFutureTest.java
<T> T getFinalValue(ClosingFuture<T> closingFuture) throws ExecutionException { return getUninterruptibly(closingFuture.finishToFuture()); } @Override void assertFinallyFailsWithException(ClosingFuture<?> closingFuture) { assertThatFutureFailsWithException(closingFuture.finishToFuture()); } @Override void assertBecomesCanceled(ClosingFuture<?> closingFuture) throws ExecutionException {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 3.3K bytes - Click Count (0) -
src/test/java/org/codelibs/core/beans/impl/ConstructorDescTest.java
import org.junit.Test; /** * @author koichik * */ public class ConstructorDescTest { /** * @throws Exception */ @SuppressWarnings("rawtypes") @Test public void testDefaultConstructor() throws Exception { final BeanDesc beanDesc = new BeanDescImpl(MyBean.class); final ConstructorDesc ctor = beanDesc.getConstructorDesc();Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 2.9K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/installer/ArtifactInstaller.java
* @throws ArtifactInstallationException if an error occurred installing the artifact * @deprecated to be removed before 2.0 after the install/deploy plugins use the alternate * method */ @Deprecated void install(String basedir, String finalName, Artifact artifact, ArtifactRepository localRepository) throws ArtifactInstallationException; /**Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.3K bytes - Click Count (0) -
android/guava/src/com/google/common/eventbus/SubscriberExceptionHandler.java
* the License. */ package com.google.common.eventbus; /** * Handler for exceptions thrown by event subscribers. * * @since 16.0 */ public interface SubscriberExceptionHandler { /** Handles exceptions thrown by subscribers. */ void handleException(Throwable exception, SubscriberExceptionContext context);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 18 02:54:30 GMT 2025 - 894 bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java
assertEquals(112, size); } @Test @DisplayName("Should calculate size correctly with contexts") void testSizeWithContexts() throws Exception { // Given when(mockConfig.getMaximumVersion()).thenReturn(DialectVersion.SMB311); when(mockConfig.isEncryptionEnabled()).thenReturn(true);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.7K bytes - Click Count (0) -
guava/src/com/google/common/collect/LinkedHashMultiset.java
*/ @GwtIncompatible @J2ktIncompatible private void writeObject(ObjectOutputStream stream) throws IOException { stream.defaultWriteObject(); Serialization.writeMultiset(this, stream); } @GwtIncompatible @J2ktIncompatible private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException { stream.defaultReadObject(); int distinctElements = stream.readInt();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 05 23:15:58 GMT 2025 - 3.8K bytes - Click Count (0) -
api/maven-api-xml/src/main/java/org/apache/maven/api/xml/ImmutableCollections.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Jul 07 11:47:42 GMT 2025 - 7.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/DictionaryManagerTest.java
import org.junit.jupiter.api.TestInfo; public class DictionaryManagerTest extends UnitFessTestCase { private File testDir; private File file1; @Override protected void setUp(TestInfo testInfo) throws Exception { super.setUp(testInfo); testDir = File.createTempFile("synonymtest", "_dir"); testDir.delete(); testDir.mkdirs(); file1 = new File(testDir, "synonym.txt");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 2.5K bytes - Click Count (0) -
src/main/java/org/codelibs/core/crypto/CachedCipher.java
throw new InvalidKeyRuntimeException(e); } catch (final NoSuchAlgorithmException e) { throw new NoSuchAlgorithmRuntimeException(e); } catch (final NoSuchPaddingException e) { throw new NoSuchPaddingRuntimeException(e); } catch (final UnsupportedEncodingException e) { throw new UnsupportedEncodingRuntimeException(e);
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat Nov 22 11:21:59 GMT 2025 - 15.9K bytes - Click Count (0)