- Sort Score
- Num 10 results
- Language All
Results 1051 - 1060 of 3,804 for throws (0.04 seconds)
-
impl/maven-core/src/main/java/org/apache/maven/logging/MavenTransferListener.java
} @Override public void transferInitiated(TransferEvent event) throws TransferCancelledException { dispatcher.transfer(ProjectBuildLogAppender.getProjectId(), event); delegate.transferInitiated(event); } @Override public void transferStarted(TransferEvent event) throws TransferCancelledException { dispatcher.transfer(ProjectBuildLogAppender.getProjectId(), event);Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/ListenableFutureTester.java
throws InterruptedException, ExecutionException { assertTrue(future.isDone()); assertFalse(future.isCancelled()); assertTrue(latch.await(5, SECONDS)); assertTrue(future.isDone()); assertFalse(future.isCancelled()); assertEquals(expectedValue, future.get()); } public void testCancelledFuture() throws InterruptedException, 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) -
impl/maven-cli/src/main/java/org/apache/maven/cling/MavenEncCling.java
*/ public static void main(String[] args) throws IOException { int exitCode = new MavenEncCling().run(args, null, null, null, false); System.exit(exitCode); } /** * ClassWorld Launcher "enhanced" entry point: returning exitCode and accepts Class World. */ public static int main(String[] args, ClassWorld world) throws IOException {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jun 11 13:14:09 GMT 2025 - 3K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/MavenShellCling.java
*/ public static void main(String[] args) throws IOException { int exitCode = new MavenShellCling().run(args, null, null, null, false); System.exit(exitCode); } /** * ClassWorld Launcher "enhanced" entry point: returning exitCode and accepts Class World. */ public static int main(String[] args, ClassWorld world) throws IOException {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jun 11 13:14:09 GMT 2025 - 3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java
*/ public class RdmaIntegrationTest { private String testServer; private int testPort; private CIFSContext testContext; @BeforeEach public void setUp() throws Exception { testServer = System.getProperty("rdma.test.server"); String portStr = System.getProperty("rdma.test.port", "445"); testPort = Integer.parseInt(portStr);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 13.8K bytes - Click Count (0) -
src/test/java/jcifs/util/SecureKeyManagerTest.java
keyManager.storeSessionKey("session", testKey, "AES"); keyManager.close(); keyManager.close(); // Should not throw assertEquals(0, keyManager.getKeyCount(), "Should have no keys after close"); } @Test public void testAutoCloseable() throws Exception { try (SecureKeyManager manager = new SecureKeyManager()) { manager.storeSessionKey("auto-session", testKey, "AES");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 14.2K bytes - Click Count (0) -
src/test/java/jcifs/pac/kerberos/KerberosAuthDataTest.java
private Map<Integer, KerberosKey> mockKeys; /** * Test parsing with an unknown auth type. * Expects an empty list of authorizations. * @throws PACDecodingException should not be thrown */ @Test void testParseUnknownAuthType() throws PACDecodingException { // GIVEN an unknown auth type int unknownAuthType = -1; byte[] emptyToken = new byte[0];
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.7K bytes - Click Count (0) -
android/guava/src/com/google/common/reflect/Invokable.java
* invocation conversion. * @throws InvocationTargetException if the underlying method or constructor throws an exception. */ // All subclasses are owned by us and we'll make sure to get the R type right, including nullness. @SuppressWarnings({"unchecked", "nullness"}) @CanIgnoreReturnValue public final @Nullable R invoke(@Nullable T receiver, @Nullable Object... args)
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 18.5K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/Ints.java
* Math#toIntExact(long)} instead, but be aware that that method throws {@link * ArithmeticException} rather than {@link IllegalArgumentException}. * * @param value any value in the range of the {@code int} type * @return the {@code int} value that equals {@code value} * @throws IllegalArgumentException if {@code value} is greater than {@link Integer#MAX_VALUE} orCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:45:58 GMT 2026 - 31.3K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/PostFile.java
public void run() throws Exception { File file = new File("README.md"); Request request = new Request.Builder() .url("https://api.github.com/markdown/raw") .post(RequestBody.create(file, MEDIA_TYPE_MARKDOWN)) .build(); try (Response response = client.newCall(request).execute()) { if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat May 25 18:02:55 GMT 2019 - 1.5K bytes - Click Count (0)