- Sort Score
- Num 10 results
- Language All
Results 1721 - 1730 of 3,804 for throws (0.05 seconds)
-
src/main/java/jcifs/http/Handler.java
@Override protected URLConnection openConnection(URL url) throws IOException { url = new URL(url, url.toExternalForm(), getDefaultStreamHandler(url.getProtocol())); return new NtlmHttpURLConnection((HttpURLConnection) url.openConnection(), this.transportContext); } private static URLStreamHandler getDefaultStreamHandler(final String protocol) throws IOException { synchronized (PROTOCOL_HANDLERS) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/UpdateLabelJobTest.java
import org.opensearch.script.ScriptType; public class UpdateLabelJobTest extends UnitFessTestCase { private UpdateLabelJob updateLabelJob; @Override protected void setUp(TestInfo testInfo) throws Exception { super.setUp(testInfo); updateLabelJob = new UpdateLabelJob(); // Setup mock components setupMockComponents(); } private void setupMockComponents() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 9.6K bytes - Click Count (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
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 44.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/go/GoAction.java
* @param form the go form containing document ID and tracking parameters * @return action response for redirection or content streaming * @throws IOException if an I/O error occurs during content retrieval */ @Execute public ActionResponse index(final GoForm form) throws IOException { validate(form, messages -> {}, () -> asHtml(virtualHost(path_Error_ErrorJsp))); if (isLoginRequired()) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Dec 11 09:47:03 GMT 2025 - 9K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbSessionTest.java
// performs several other operations, but for the purpose of the test // we intercept the factory call. private MockedStatic<SmbTransport> smbtStatic; @BeforeEach void setUp() throws Exception { // Create a real NtlmPasswordAuthentication instance auth = new NtlmPasswordAuthentication("TESTDOMAIN", "testuser", "testpass"); // Initialize ServerData to avoid NullPointerExceptionCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.6K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AbstractCatchingFuture.java
} setResult(fallbackResult); } /** Template method for subtypes to actually run the fallback. */ @ForOverride @ParametricNullness abstract T doFallback(F fallback, X throwable) throws Exception; /** Template method for subtypes to actually set the result. */ @ForOverride abstract void setResult(@ParametricNullness T result); @Override protected final void afterDone() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Sep 11 18:28:58 GMT 2025 - 9K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/internal/duplex/AsyncRequestBody.kt
override fun writeTo(sink: BufferedSink) { requestBodySinks.add(sink) } override fun isDuplex(): Boolean = true @Throws(InterruptedException::class) fun takeSink(): BufferedSink = requestBodySinks.poll(5, SECONDS) ?: throw AssertionError("no sink to take") fun assertNoMoreSinks() { assertTrue(requestBodySinks.isEmpty()) }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 1.5K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/configuration/SettingsXmlConfigurationProcessor.java
this.settingsBuilder = settingsBuilder; } @Override public void process(CliRequest cliRequest) throws Exception { CommandLine commandLine = cliRequest.getCommandLine(); String workingDirectory = cliRequest.getWorkingDirectory(); MavenExecutionRequest request = cliRequest.getRequest();Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Apr 19 18:49:57 GMT 2025 - 12K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbTree.java
*/ treeDisconnect(true); } throw se; } } } void treeConnect(final ServerMessageBlock andx, final ServerMessageBlock andxResponse) throws SmbException { synchronized (session.transport()) { String unc; while (connectionState != 0) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 8.1K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/CompatibilityFixStrategyTest.java
class DuplicateDependencyFixesTests { @Test @DisplayName("should remove duplicate dependencies in dependencyManagement") void shouldRemoveDuplicateDependenciesInDependencyManagement() throws Exception { String pomXml = """ <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0"> <modelVersion>4.0.0</modelVersion>Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 12.6K bytes - Click Count (0)