- Sort Score
- Result 10 results
- Languages All
Results 881 - 890 of 3,030 for thrown (0.04 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java
@Override public Integer call() throws Exception { runLatch.countDown(); taskLatch.await(); if (throwException) { throw new IllegalStateException("Fail"); } return 25; } }); @Override protected void setUp() throws Exception { super.setUp(); exec = newCachedThreadPool();Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 4.8K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/artifact/ProjectArtifactMetadata.java
return getArtifactId() + "-" + artifact.getVersion() + ".pom"; } @Override public void storeInLocalRepository(ArtifactRepository localRepository, ArtifactRepository remoteRepository) throws RepositoryMetadataStoreException { File destination = new File( localRepository.getBasedir(), localRepository.pathOfLocalRepositoryMetadata(this, remoteRepository));
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
assertThrows(IllegalArgumentException.class, () -> context.encryptMessage(null, 123456L), "Should throw IllegalArgumentException for null message"); } @Test @DisplayName("Should successfully encrypt and decrypt with refactored methods") void testRefactoredEncryptionDecryption() throws Exception { // Given - Use same key for both encryption and decryption in test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 44.1K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/SynchronousGet.java
private final OkHttpClient client = new OkHttpClient(); public void run() throws Exception { Request request = new Request.Builder() .url("https://publicobject.com/helloworld.txt") .build(); try (Response response = client.newCall(request).execute()) { if (!response.isSuccessful()) throw new IOException("Unexpected code " + response); Headers responseHeaders = response.headers();
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun May 22 01:29:42 UTC 2016 - 1.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/EmptyContiguousSet.java
@Override public C first() { throw new NoSuchElementException(); } @Override public C last() { throw new NoSuchElementException(); } @Override public int size() { return 0; } @Override public ContiguousSet<C> intersection(ContiguousSet<C> other) { return this; } @Override public Range<C> range() { throw new NoSuchElementException(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 4.1K bytes - Viewed (0) -
guava/src/com/google/common/escape/CharEscaper.java
protected CharEscaper() {} /** * Returns the escaped form of a given literal string. * * @param string the literal string to be escaped * @return the escaped form of {@code string} * @throws NullPointerException if {@code string} is null */ @Override public String escape(String string) { checkNotNull(string); // GWT specific check (do not optimize)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 15:45:16 UTC 2025 - 6.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/job/PythonJob.java
throw new JobProcessingException(out.toString()); } ComponentUtil.getPopularWordHelper().clearCache(); } catch (final JobProcessingException e) { throw e; } catch (final Exception e) { throw new JobProcessingException("Python Process terminated.", e); } finally {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 8.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/Kerb5Authenticator.java
} catch (GSSException e) { throw new SmbException("Context setup failed", e); } } /** * Set the Kerberos subject * * @param subject * the subject to set */ protected void setSubject(Subject subject) { this.subject = subject; } @Override public void refresh() throws CIFSException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 13.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java
class ReadBytesWireFormatTests { @Test @DisplayName("Should correctly parse valid SMB2 Close response") void testReadBytesWireFormatWithValidData() throws SMBProtocolDecodingException { // Given byte[] buffer = new byte[60]; int bufferIndex = 0; // Structure Size (2 bytes) - must be 60Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 26.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableListCopyOfConcurrentlyModifiedInputTest.java
return method.equals(getAllStatesMethod) ? getAllStates() : invokeListMethod(method, args); } private Set<List<Integer>> getAllStates() { return allStates; } private Object invokeListMethod(Method method, Object[] args) throws Throwable { try {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 6.6K bytes - Viewed (0)