- Sort Score
- Num 10 results
- Language All
Results 951 - 960 of 3,051 for thrown (0.06 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
impl/maven-cli/src/main/java/org/apache/maven/cling/props/MavenProperties.java
public void load(Reader reader) throws IOException { loadLayout(reader, false); } public void save() throws IOException { save(this.location); } public void save(Path location) throws IOException { try (OutputStream os = Files.newOutputStream(location)) { save(os); } } public void save(OutputStream os) throws IOException {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Oct 16 09:03:48 GMT 2025 - 38.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AggregateFutureStateFallbackAtomicHelperTest.java
return new URLClassLoader(ClassPathUtil.getClassPathUrls(), classLoader) { @Override public Class<?> loadClass(String name) throws ClassNotFoundException { if (blocklist.contains(name)) { throw new ClassNotFoundException("I'm sorry Dave, I'm afraid I can't do that."); } if (name.startsWith(concurrentPackage)) { Class<?> c = findLoadedClass(name);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 6.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/LabelTypeHelperTest.java
import org.junit.jupiter.api.TestInfo; public class LabelTypeHelperTest extends UnitFessTestCase { private LabelTypeHelper labelTypeHelper; @Override protected void setUp(TestInfo testInfo) throws Exception { super.setUp(testInfo); labelTypeHelper = new LabelTypeHelper(); ComponentUtil.register(new SystemHelper(), "systemHelper");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 12.7K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/ShellCommandRegistryHolder.java
} public CommandRegistry[] getCommandRegistries() { return commandRegistries.toArray(new CommandRegistry[0]); } @Override public void close() throws Exception { ArrayList<Exception> exceptions = new ArrayList<>(); for (CommandRegistry commandRegistry : commandRegistries) { if (commandRegistry instanceof AutoCloseable closeable) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Dec 17 09:50:45 GMT 2024 - 2.2K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTreeHandleImpl.java
return this.treeConnection.getSession(); } @Override public void ensureDFSResolved() throws CIFSException { this.treeConnection.ensureDFSResolved(this.resourceLoc); } @Override public boolean hasCapability(final int cap) throws SmbException { return this.treeConnection.hasCapability(cap); } /** * {@inheritDoc} *
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 11.1K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SecurityDescriptor.java
* @param bufferIndex the starting offset in the buffer * @param len the length of data to decode * @throws IOException if an I/O error occurs during decoding */ public SecurityDescriptor(final byte[] buffer, final int bufferIndex, final int len) throws IOException { this.decode(buffer, bufferIndex, len); } /** * Decodes a security descriptor from a byte buffer. *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/ds/AbstractDataStoreTest.java
assertNull(exceptions[i], "Thread " + i + " threw exception"); } // Verify alive is false assertFalse("alive should be false after all stop() calls", dataStore.alive); } /** * Test that multiple threads can safely read alive field while one writes. */ @Test public void test_aliveField_concurrentReadWrite() throws Exception { dataStore.alive = true;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12.8K bytes - Click Count (1) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java
void testHaveResponseCalled() throws SMBProtocolDecodingException { TestServerMessageBlock2 customMessage = new TestServerMessageBlock2(mockConfig) { boolean haveResponseCalled = false; @Override protected void haveResponse(byte[] buffer, int start, int len) throws SMBProtocolDecodingException { haveResponseCalled = true;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 39.5K bytes - Click Count (0) -
src/test/java/jcifs/netbios/SessionRequestPacketTest.java
assertTrue(bytesWritten > 68); // Should be larger due to scope } @Test @DisplayName("readTrailerWireFormat should read complete packet data") void testReadTrailerWireFormatSuccess() throws IOException { SessionRequestPacket writePacket = new SessionRequestPacket(mockConfig, new TestNetbiosName("SERVER", 0x20, null), new TestNetbiosName("CLIENT", 0x00, null));Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java
void testToStringWithNullFileId() throws Exception { // Set oplockLevel but leave fileId as null Field oplockLevelField = Smb2OplockBreakNotification.class.getDeclaredField("oplockLevel"); oplockLevelField.setAccessible(true); oplockLevelField.set(notification, (byte) 0x01); // The implementation calls Hexdump.toHexString which throws NPE on null
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.6K bytes - Click Count (0)