- Sort Score
- Num 10 results
- Language All
Results 1251 - 1260 of 3,799 for thrown (0.06 seconds)
-
build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/precommit/LicenseHeadersTask.java
} catch (IOException | RatException exception) { throw new GradleException("Cannot generate license header report for " + getPath(), exception); } } private ClaimStatistic toXmlReportFile(ReportConfiguration config, Writer writer) throws RatException, IOException { ClaimStatistic stats = new ClaimStatistic();
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Thu Sep 09 18:53:35 GMT 2021 - 10.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponse.java
return 0; } @Override protected int readDataWireFormat(final byte[] buffer, final int bufferIndex, final int len) throws SMBProtocolDecodingException { if (len > this.outputBuffer.length) { throw new SMBProtocolDecodingException("Payload exceeds buffer size"); } System.arraycopy(buffer, bufferIndex, this.outputBuffer, 0, len); return len; }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformer.java
this.builder = builder; } @SuppressWarnings("deprecation") @Override public void injectTransformedArtifacts(RepositorySystemSession session, MavenProject project) throws IOException { if (project.getFile() == null) { // If there is no build POM there is no reason to inject artifacts for the consumer POM. return; }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Mar 04 19:49:40 GMT 2026 - 8.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java
new CacheLoader<String, String>() { @Override public String load(String key) throws InterruptedException { int behavior = random.nextInt(4); if (behavior == 0) { // throw an exception exceptionCount.incrementAndGet(); throw new RuntimeException("fake exception for test"); } else if (behavior == 1) { // return null
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 25.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/CacheBuilderTest.java
new CacheLoader<String, String>() { @Override public String load(String key) throws InterruptedException { int behavior = random.nextInt(4); if (behavior == 0) { // throw an exception exceptionCount.incrementAndGet(); throw new RuntimeException("fake exception for test"); } else if (behavior == 1) { // return null
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 25.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/ThemeExceptionTest.java
String originalMessage = "Original theme error"; String wrapperMessage = "Failed to process theme"; try { try { throw new ThemeException(originalMessage); } catch (ThemeException e) { throw new ThemeException(wrapperMessage, e); } } catch (ThemeException e) { assertEquals(wrapperMessage, e.getMessage());
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 8.4K bytes - Click Count (0) -
src/test/java/jcifs/SmbSessionTest.java
void shouldAllowMultipleCloseCallsOnMock() throws Exception { SmbSession mockSession = mock(SmbSession.class); doNothing().when(mockSession).close(); assertDoesNotThrow(() -> { mockSession.close(); mockSession.close(); }, "Multiple close() calls should not throw exceptions"); verify(mockSession, times(2)).close();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/SearchHelper.java
throw new SearchEngineClientException("Failed to update doc " + id, e); } } /** * Performs bulk update operations using a custom bulk request builder. * * @param consumer Consumer function to configure the bulk request builder * @return true if all bulk operations were successful, false otherwise
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Dec 20 05:56:45 GMT 2025 - 36.3K bytes - Click Count (0) -
src/main/java/jcifs/pac/PacSignature.java
/** * Constructs a PacSignature by parsing the provided data. * * @param data the raw signature data to parse * @throws PACDecodingException if the data is malformed or cannot be parsed */ public PacSignature(final byte[] data) throws PACDecodingException { try { final PacDataInputStream bufferStream = new PacDataInputStream(new DataInputStream(new ByteArrayInputStream(data)));Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java
@Override public byte getFileSystemInformationClass() { return informationClass; } @Override public int decode(byte[] buffer, int bufferIndex, int len) throws SMBProtocolDecodingException { return 0; } } @Nested @DisplayName("Interface Constants Tests") class InterfaceConstantsTests { @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.1K bytes - Click Count (0)