- Sort Score
- Num 10 results
- Language All
Results 1501 - 1510 of 3,804 for throws (0.22 seconds)
-
src/test/java/org/codelibs/core/lang/AnnotationUtilTest.java
import java.lang.reflect.Method; import java.util.Map; import org.junit.Test; /** * @author higa */ public class AnnotationUtilTest { /** * @throws Exception */ @Hoge(bbb = "3") @Test public void testGetProperties() throws Exception { final Method m = ClassUtil.getMethod(getClass(), "testGetProperties"); final Annotation anno = m.getAnnotation(Hoge.class);Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 1.5K bytes - Click Count (0) -
src/main/java/jcifs/ntlmssp/Type2Message.java
} private void parse(final byte[] input) throws IOException { int pos = 0; for (int i = 0; i < 8; i++) { if (input[i] != NTLMSSP_SIGNATURE[i]) { throw new IOException("Not an NTLMSSP message."); } } pos += 8; if (readULong(input, pos) != NTLMSSP_TYPE2) { throw new IOException("Not a Type 2 message."); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 14.4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ReflectionFreeAssertThrows.java
return caught; } throw new AssertionError( "expected to throw " + expectedThrowable.getSimpleName() + " but threw " + t, t); } if (userPassedSupplier) { throw new AssertionError( "expected to throw " + expectedThrowable.getSimpleName() + " but returned result: " + result); } else {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 6.9K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/NtlmChallengeTest.java
@Test @DisplayName("toString with null challenge throws NPE") void testToStringWithNullChallengeThrowsNPE() { UniAddress dc = mock(UniAddress.class); when(dc.toString()).thenReturn("ANYSERVER"); NtlmChallenge nc = new NtlmChallenge(null, dc); // Hexdump.toHexString will throw NPE when accessing challenge.lengthCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/ForwardingLoadingCache.java
protected ForwardingLoadingCache() {} @Override protected abstract LoadingCache<K, V> delegate(); @CanIgnoreReturnValue // TODO(b/27479612): consider removing this @Override public V get(K key) throws ExecutionException { return delegate().get(key); } @CanIgnoreReturnValue // TODO(b/27479612): consider removing this @Override public V getUnchecked(K key) { return delegate().getUnchecked(key);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 12:40:22 GMT 2026 - 3K bytes - Click Count (0) -
compat/maven-artifact/src/main/java/org/apache/maven/repository/legacy/metadata/ArtifactMetadata.java
* * @param localRepository the local repository * @param remoteRepository the remote repository it came from * @throws RepositoryMetadataStoreException in case of issue */ void storeInLocalRepository(ArtifactRepository localRepository, ArtifactRepository remoteRepository) throws RepositoryMetadataStoreException; String extendedToString();Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/EnumsTest.java
} @J2ktIncompatible @AndroidIncompatible // depends on details of GC and classloading public void testGetIfPresent_doesNotPreventClassUnloading() throws Exception { WeakReference<?> shadowLoaderReference = doTestClassUnloading(); GcFinalization.awaitClear(shadowLoaderReference); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 01:05:11 GMT 2026 - 8.4K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/DcerpcBind.java
this.flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG; } @Override public int getOpnum() { return 0; } @Override public void encode_in(final NdrBuffer buf) throws NdrException { buf.enc_ndr_short(this.max_xmit); buf.enc_ndr_short(this.max_recv); buf.enc_ndr_long(0); /* assoc. group */ buf.enc_ndr_small(1); /* num context items */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.6K bytes - Click Count (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcBind.java
flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG; } @Override public int getOpnum() { return 0; } @Override public void encode_in(final NdrBuffer buf) throws NdrException { buf.enc_ndr_short(max_xmit); buf.enc_ndr_short(max_recv); buf.enc_ndr_long(0); /* assoc. group */ buf.enc_ndr_small(1); /* num context items */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/CharMatcherTest.java
doTestNull(forPredicate(Predicates.equalTo('c'))); } private void doTestEmpty(CharMatcher matcher) throws Exception { reallyTestEmpty(matcher); reallyTestEmpty(matcher.negate()); reallyTestEmpty(matcher.precomputed()); } private void reallyTestEmpty(CharMatcher matcher) throws Exception { assertEquals(-1, matcher.indexIn("")); assertEquals(-1, matcher.indexIn("", 0)); try {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 32.4K bytes - Click Count (0)