- Sort Score
- Num 10 results
- Language All
Results 1401 - 1410 of 2,310 for rethrow (0.06 seconds)
-
compat/maven-model/src/test/java/org/apache/maven/model/ModelTest.java
Model model = new Model(); model.addProperty("key1", "value1"); model.addProperty("key2", "value2"); assertEquals(2, model.getProperties().size()); // This should not throw NullPointerException model.getProperties().clear(); assertEquals(0, model.getProperties().size()); }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Dec 16 08:09:30 GMT 2025 - 2.4K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbFileIntegrationTest.java
assertThrows(SmbException.class, () -> file.getInputStream(), "Getting input stream of non-existent file should throw exception"); } @Test void testInvalidPath() throws Exception { // Test various invalid URL formats that should throw MalformedURLException
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 56K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/OsddHelper.java
} /** * Returns the OSDD as a stream response. * * @return the stream response */ public StreamResponse asStream() { if (osddFile == null) { throw ComponentUtil.getResponseManager().new404("Unsupported Open Search Description Document response."); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 4.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/query/TermRangeQueryCommand.java
logger.debug("TermRangeQuery: query={}, boost={}", query, boost); } return convertTermRangeQuery(context, termRangeQuery, boost); } throw new InvalidQueryException(messages -> messages.addErrorsInvalidQueryUnknown(UserMessages.GLOBAL_PROPERTY_KEY), "Unknown q: " + query.getClass() + " => " + query); } /**
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 4.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/validation/CustomSizeValidatorTest.java
try { validator.initialize(annotation); assertTrue("Initialize should complete without exception", true); } catch (final Exception e) { fail("Initialize should not throw exception with valid annotation: " + e.getMessage()); } } // Test parameter validation without relying on complex configuration @Test public void test_validateParameters_basic() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 5.4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapPutIfAbsentTester.java
@CollectionSize.Require(absent = ZERO) public void testPutIfAbsent_unsupportedPresentExistingValue() { try { assertEquals( "putIfAbsent(present, existingValue) should return present or throw", v0(), putIfAbsent(e0())); } catch (UnsupportedOperationException tolerated) { } expectUnchanged(); } @MapFeature.Require(absent = SUPPORTS_PUT)
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 14:50:24 GMT 2024 - 4.9K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableEnumMap.java
Object writeReplace() { return new EnumSerializedForm<>(delegate); } @J2ktIncompatible // serialization private void readObject(ObjectInputStream stream) throws InvalidObjectException { throw new InvalidObjectException("Use EnumSerializedForm"); } /* * This class is used to serialize ImmutableEnumMap instances. */ @J2ktIncompatible // serialization
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 4.3K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/nego/Smb2RdmaTransformCapabilitiesContext.java
return data.length; } @Override public int decode(byte[] buffer, int bufferIndex, int len) throws SMBProtocolDecodingException { if (len < 20) { throw new SMBProtocolDecodingException("Invalid RDMA Transform Capabilities context length: " + len); } int start = bufferIndex; transformCount = SMBUtil.readInt2(buffer, bufferIndex);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:12:28 GMT 2025 - 4.4K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/Graph.java
to.parents.add(from); List<String> cycle = findCycle(to); if (cycle != null) { // remove edge which introduced cycle removeEdge(from, to); throw new CycleDetectedException( "Edge between '" + from.label + "' and '" + to.label + "' introduces to cycle in the graph", cycle); } } void removeEdge(Vertex from, Vertex to) {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 4.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/ThreadDumpUtil.java
processThreadDump(s -> { try { writer.write(s); writer.write('\n'); } catch (final IOException e) { throw new IORuntimeException(e); } }); } catch (final Exception e) { logger.warn("Failed to write thread dump: file={}", file, e); } } /**
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 3.3K bytes - Click Count (0)