- Sort Score
- Num 10 results
- Language All
Results 2881 - 2890 of 3,282 for throwIt (0.07 seconds)
-
src/main/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformation.java
return 0x0101; case FileInformation.FILE_STANDARD_INFO: return 0x0102; case FileInformation.FILE_ENDOFFILE_INFO: return 0x0104; } throw new IllegalArgumentException("Unsupported information level " + il); } @Override protected int writeDataWireFormat(final byte[] dst, final int dstIndex) { return 0; } @OverrideCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/features/CollectionSize.java
this.numElements = null; } @Override public Set<Feature<? super Collection>> getImpliedFeatures() { return implied; } public int getNumElements() { if (numElements == null) { throw new IllegalStateException( "A compound CollectionSize doesn't specify a number of elements."); } return numElements; } @Retention(RetentionPolicy.RUNTIME) @Inherited @TesterAnnotation
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 3.4K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionContainsAllTester.java
} public void testContainsAll_wrongType() { Collection<WrongType> wrong = MinimalCollection.of(WrongType.VALUE); try { assertFalse( "containsAll(wrongType) should return false or throw", collection.containsAll(wrong)); } catch (ClassCastException tolerated) { } }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 4K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/features/CollectionSize.java
this.numElements = null; } @Override public Set<Feature<? super Collection>> getImpliedFeatures() { return implied; } public int getNumElements() { if (numElements == null) { throw new IllegalStateException( "A compound CollectionSize doesn't specify a number of elements."); } return numElements; } @Retention(RetentionPolicy.RUNTIME) @Inherited @TesterAnnotation
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 3.4K bytes - Click Count (0) -
api/maven-api-toolchain/src/main/mdo/toolchains.mdo
public void setSourceLevel(String sourceLevel) { if (sourceLevelSet) { throw new IllegalStateException("Cannot reset sourceLevel attribute; it is already set to: " + sourceLevel); } else if (!(USER_LEVEL.equals(sourceLevel) || GLOBAL_LEVEL.equals(sourceLevel))) { throw new IllegalArgumentException("sourceLevel must be one of: {" + USER_LEVEL + "," + GLOBAL_LEVEL + "}"); } else {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sun May 18 09:15:56 GMT 2025 - 9.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java
private static <E> Iterator<E> asIterator(E... elements) { return asList(elements).iterator(); } // In GWT, java.util.TreeSet throws ClassCastException when the comparator // throws it, unlike the JDK. Therefore, we accept ClassCastException as a // valid result thrown by java.util.TreeSet#equals. private static void assertNotEqualLenient(TreeSet<?> unexpected, SortedSet<?> actual) { try {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 46.7K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketWriterTest.kt
class WebSocketWriterTest { private val data = Buffer() private val random = Random(0) /** * Check all data as verified inside of the test. We do this in an AfterEachCallback so that * exceptions thrown from the test do not cause this check to fail. */ @RegisterExtension val noDataLeftBehind = AfterEachCallback { context: ExtensionContext -> if (context.executionException.isPresent) return@AfterEachCallbackCreated: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 9.3K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/ArbitraryInstances.java
} constructor.setAccessible(true); // accessibility check is too slow try { return constructor.newInstance(); } catch (InstantiationException | IllegalAccessException impossible) { throw new AssertionError(impossible); } catch (InvocationTargetException e) { logger.log(Level.WARNING, "Exception while invoking default constructor.", e.getCause()); return arbitraryConstantInstanceOrNull(type);Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 21.4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/SortedMapNavigationTester.java
public class SortedMapNavigationTester<K, V> extends AbstractMapTester<K, V> { private SortedMap<K, V> navigableMap; private Entry<K, V> a; private Entry<K, V> c; @Override public void setUp() throws Exception { super.setUp(); navigableMap = (SortedMap<K, V>) getMap(); List<Entry<K, V>> entries = copyToList( getSubjectGenerator()
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 20:54:16 GMT 2025 - 6.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/OsddHelper.java
} /** * Returns the OSDD as a stream response. * * @return the stream response */ public StreamResponse asStream() { if (osddFile == null) { throw ComponentUtil.getResponseManager().new404("Unsupported Open Search Description Document response."); }Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 4.7K bytes - Click Count (0)