- Sort Score
- Num 10 results
- Language All
Results 1031 - 1040 of 2,310 for rethrow (0.28 seconds)
-
samples/guide/src/main/java/okhttp3/recipes/kt/AccessHeaders.kt
.addHeader("Accept", "application/json; q=0.5") .addHeader("Accept", "application/vnd.github.v3+json") .build() client.newCall(request).execute().use { response -> if (!response.isSuccessful) throw IOException("Unexpected code $response") println("Server: ${response.header("Server")}") println("Date: ${response.header("Date")}") println("Vary: ${response.headers("Vary")}") } } }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 1.4K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainsBuilderException.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.api.services; import org.apache.maven.api.annotations.Experimental; /** * The Exception class throw by the {@link ToolchainsBuilder}. * * @since 4.0.0 */ @Experimental public class ToolchainsBuilderException extends MavenBuilderException { /** * @param message the message to giveCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Sep 25 21:57:56 GMT 2025 - 1.4K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/SettingsBuilderException.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.api.services; import org.apache.maven.api.annotations.Experimental; /** * The Exception class throw by the {@link SettingsBuilder}. * * @since 4.0.0 */ @Experimental public class SettingsBuilderException extends MavenBuilderException { /** * @param message the message to giveCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Sep 25 21:57:56 GMT 2025 - 1.4K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/DependencyResolutionRequiredException.java
* under the License. */ package org.apache.maven.artifact; /** * Exception that occurs when an artifact file is used, but has not been resolved. * * TODO it may be better for artifact.getFile() to throw it - perhaps it is a runtime exception? */ public class DependencyResolutionRequiredException extends Exception { public DependencyResolutionRequiredException(Artifact artifact) {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.3K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/UpgradeParser.java
protected Options parseCliOptions(LocalContext context) { try { return CommonsCliUpgradeOptions.parse(context.parserRequest.args().toArray(new String[0])); } catch (ParseException e) { throw new IllegalArgumentException("Failed to parse command line options: " + e.getMessage(), e); } }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jun 11 13:14:09 GMT 2025 - 1.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/graph/InvalidatableSetTest.java
ImmutableSet<Integer> copyOfModifiedSet = ImmutableSet.copyOf(wrappedSet); // {2,3} // sanity check on construction of copyOfModifiedSet assertThat(wrappedSet).isEqualTo(copyOfModifiedSet); // setToTest should throw when it calls equals(), or equals is called on it, except for itself assertThat(setToTest).isEqualTo(setToTest); assertThrows(IllegalStateException.class, () -> setToTest.equals(wrappedSet));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.2K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/EmptyDirTask.java
*/ @TaskAction public void create() { dir.mkdirs(); getChmod().chmod(dir, dirMode); } @Inject public Chmod getChmod() { throw new UnsupportedOperationException(); } @Internal public File getDir() { return dir; } @Input public String getDirPath() { return dir.getPath(); }Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 1.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformerTest.java
super.tearDown(testInfo); } @Test public void test_transform_nullResponseData() { try { transformer.transform(null); fail("Should throw CrawlingAccessException for null response"); } catch (final CrawlingAccessException e) { assertTrue(e.getMessage().contains("No response body")); } } @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jan 15 12:54:47 GMT 2026 - 8.1K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/util/concurrent/testing/SameThreadScheduledExecutorService.java
Runnable command, long initialDelay, long period, TimeUnit unit) { throw new UnsupportedOperationException("scheduleAtFixedRate is not supported."); } @Override public ListenableScheduledFuture<?> scheduleWithFixedDelay( Runnable command, long initialDelay, long delay, TimeUnit unit) { throw new UnsupportedOperationException("scheduleWithFixedDelay is not supported."); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:37:28 GMT 2025 - 6.5K bytes - Click Count (0) -
guava-testlib/src/com/google/common/util/concurrent/testing/SameThreadScheduledExecutorService.java
Runnable command, long initialDelay, long period, TimeUnit unit) { throw new UnsupportedOperationException("scheduleAtFixedRate is not supported."); } @Override public ListenableScheduledFuture<?> scheduleWithFixedDelay( Runnable command, long initialDelay, long delay, TimeUnit unit) { throw new UnsupportedOperationException("scheduleWithFixedDelay is not supported."); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:37:28 GMT 2025 - 6.5K bytes - Click Count (0)