- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 277 for IllegalStateException (0.16 sec)
-
android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java
assertThrows(IllegalStateException.class, () -> MinMaxPriorityQueue.isEvenLevel((1 << 31) - 1)); assertThrows( IllegalStateException.class, () -> MinMaxPriorityQueue.isEvenLevel(Integer.MAX_VALUE)); assertThrows(IllegalStateException.class, () -> MinMaxPriorityQueue.isEvenLevel(1 << 31)); assertThrows( IllegalStateException.class, () -> MinMaxPriorityQueue.isEvenLevel(Integer.MIN_VALUE));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 35.9K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequest.java
* directory or a {@code pom.xml} file with the {@code root="true"} attribute. * If there's no such directory, an {@code IllegalStateException} will be thrown. * * @throws IllegalStateException if the root directory could not be found * @see #getTopDirectory() * @since 4.0.0 */ Path getRootDirectory(); /** * @since 3.3.0
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 18.4K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/CustomCipherSuites.java
trustManagerFactory.init((KeyStore) null); TrustManager[] trustManagers = trustManagerFactory.getTrustManagers(); if (trustManagers.length != 1 || !(trustManagers[0] instanceof X509TrustManager)) { throw new IllegalStateException("Unexpected default trust managers:" + Arrays.toString(trustManagers)); } return (X509TrustManager) trustManagers[0]; } private String[] javaNames(List<CipherSuite> cipherSuites) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Mar 14 21:57:42 UTC 2019 - 6.5K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/profiles/DefaultProfileManager.java
this.profileSelector = container.lookup(ProfileSelector.class); this.logger = ((MutablePlexusContainer) container).getLogger(); } catch (ComponentLookupException e) { throw new IllegalStateException(e); } this.requestProperties = props; } public Properties getRequestProperties() { return requestProperties; } public Map<String, Profile> getProfilesById() {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/ntlmssp/Type2Message.java
writeSecurityBuffer(type2, 40, data + target.length, targetInformation); } return type2; } catch (IOException ex) { throw new IllegalStateException(ex.getMessage()); } } public String toString() { String target = getTarget(); byte[] challenge = getChallenge(); byte[] context = getContext();
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 12.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt
assertFailsWith<IllegalStateException> { setString(0, "A") } assertFailsWith<IllegalStateException> { newSource(0) } assertFailsWith<IllegalStateException> { newSink(0) } assertFailsWith<IllegalStateException> { commit() } assertFailsWith<IllegalStateException> { abort() } }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 15 14:55:09 UTC 2024 - 75.8K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/MultipartBodyTest.kt
import okio.Buffer import okio.BufferedSink import okio.utf8Size import org.junit.jupiter.api.Test class MultipartBodyTest { @Test fun onePartRequired() { assertFailsWith<IllegalStateException> { MultipartBody.Builder().build() }.also { expected -> assertThat(expected.message) .isEqualTo("Multipart body must have at least one part.") } } @Test
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 10.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/OptionalTest.java
public void testIsPresent_yes() { assertTrue(Optional.of("training").isPresent()); } public void testGet_absent() { Optional<String> optional = Optional.absent(); assertThrows(IllegalStateException.class, optional::get); } public void testGet_present() { assertEquals("training", Optional.of("training").get()); } @SuppressWarnings("OptionalOfRedundantMethod") // Unit tests for Optional
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 17 18:14:12 UTC 2024 - 10.5K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycles.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.6K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java
if (request.isProcessPlugins()) { if (lifecycleBindingsInjector == null) { throw new IllegalStateException("lifecycle bindings injector is missing"); } // lifecycle bindings injection lifecycleBindingsInjector.injectLifecycleBindings(resultModel, request, problems); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 83.6K bytes - Viewed (0)