- Sort Score
- Num 10 results
- Language All
Results 2521 - 2530 of 3,072 for throws (0.13 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
samples/guide/src/main/java/okhttp3/recipes/kt/YubikeyClientAuth.kt
val request = Request .Builder() .url("https://prod.idrix.eu/secure/") .build() client.newCall(request).execute().use { response -> if (!response.isSuccessful) throw IOException("Unexpected code $response") println(response.body.string()) } } } object ConsoleCallbackHandler : CallbackHandler { override fun handle(callbacks: Array<Callback>) {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat May 10 11:15:14 GMT 2025 - 4.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/net/UrlEscaperTesting.java
*/ @SuppressWarnings("nullness") // test of a bogus call static void assertBasicUrlEscaperExceptPercent(UnicodeEscaper e) { // URL escapers should throw null pointer exceptions for null input try { e.escape((String) null); fail("Escaping null string should throw exception"); } catch (NullPointerException x) { // pass } // All URL escapers should leave 0-9, A-Z, a-z unescapedCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 3.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java
void testReset() { // Reset should not throw exception assertDoesNotThrow(() -> transaction.reset()); // Transaction should be ready for reuse assertTrue(transaction.hasMoreElements()); } @Test @DisplayName("Test reset with key and lastName") void testResetWithKeyAndLastName() { // Reset with parameters should not throw exception
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/dict/DictionaryException.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.dict; import org.codelibs.fess.exception.FessSystemException; /** * Exception thrown when dictionary operations encounter errors. * This exception is typically used for issues during dictionary file * reading, writing, parsing, or other dictionary-related operations. */
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/exception/StorageException.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.fess.exception; /** * This exception is thrown when a storage-related error occurs. * It can be used to wrap underlying storage exceptions, providing a * consistent error handling mechanism for storage operations. */
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1.5K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/features/ConflictingRequirementsException.java
import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import java.util.Set; /** * Thrown when requirements on a tester method or class conflict with each other. * * @author George van den Driessche */ @GwtCompatible public class ConflictingRequirementsException extends Exception {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed May 14 19:40:47 GMT 2025 - 1.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/exception/InvalidQueryException.java
*/ package org.codelibs.fess.exception; import org.codelibs.fess.mylasta.action.FessMessages; import org.lastaflute.web.validation.VaMessenger; /** * Exception thrown when an invalid query is encountered. * This exception is typically used in search contexts where a provided * query is malformed, contains invalid syntax, or violates query constraints. */
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 2.3K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/AsynchronousGet.kt
e.printStackTrace() } override fun onResponse( call: Call, response: Response, ) { response.use { if (!response.isSuccessful) throw IOException("Unexpected code $response") for ((name, value) in response.headers) { println("$name: $value") } println(response.body.string()) }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 1.6K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/ShellParser.java
protected Options parseCliOptions(LocalContext context) { try { return CommonsCliShellOptions.parse(context.parserRequest.args().toArray(new String[0])); } catch (ParseException e) { throw new IllegalArgumentException("Failed to parse command line options: " + e.getMessage(), e); } }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jun 11 13:14:09 GMT 2025 - 1.4K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/util/ports/AvailablePortAllocator.java
int startPort = MIN_PRIVATE_PORT + (rangeNumber * DEFAULT_RANGE_SIZE); int endPort = startPort + DEFAULT_RANGE_SIZE - 1; if (endPort > MAX_PRIVATE_PORT) { throw new IllegalStateException( "Available port ranges have exceeded Range from " + MIN_PRIVATE_PORT + " to " + MAX_PRIVATE_PORT ); } return Pair.of(startPort, endPort); }Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 1.6K bytes - Click Count (0)