- Sort Score
- Num 10 results
- Language All
Results 761 - 770 of 2,684 for catch (0.02 seconds)
-
src/test/java/org/codelibs/fess/mylasta/action/FessMessagesTest.java
} catch (IllegalArgumentException e) { // Expected } } @Test public void test_addConstraintsDecimalMaxMessage_nullProperty() { try { messages.addConstraintsDecimalMaxMessage(null, "100"); fail("Should throw exception for null property"); } catch (IllegalArgumentException e) { // ExpectedCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 28.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/PathMappingHelper.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 9.5K bytes - Click Count (0) -
src/main/java/jcifs/netbios/UniAddress.java
* new String[] { "SRV" } * ); * return name; * } catch (NameNotFoundException nnfe) { * uhe = new UnknownHostException(nnfe.getMessage()); * } * int dot = name.indexOf('.'); * if (dot == -1) * break; * name = name.substring(dot + 1); * } * } catch (NamingException ne) { * if (log.level > 1) * ne.printStackTrace(log); * }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.3K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ClassMap.java
} } return methods; } /** * Recursively finds a match for each method, starting with the class, and then * searching the superclass and interfaces. * * @param clazz Class to check * @param methodInfos array of methods we are searching to match * @param upcastCount current number of methods we have matched * @return count of matched methodsCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 13.5K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/UpgradeParser.java
@Override protected Options parseCliOptions(LocalContext context) { try { return CommonsCliUpgradeOptions.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) -
guava-testlib/src/com/google/common/collect/testing/testers/MapMergeTester.java
fail("Expected NullPointerException or UnsupportedOperationException"); } catch (NullPointerException | UnsupportedOperationException expected) { } } public void testMergeNullFunction() { try { getMap().merge(k0(), v3(), null); fail("Expected NullPointerException or UnsupportedOperationException"); } catch (NullPointerException | UnsupportedOperationException expected) { } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 6.8K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/docker/DockerBuildTask.java
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 6.5K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/EncryptParser.java
@Override protected Options parseCliOptions(LocalContext context) { try { return CommonsCliEncryptOptions.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) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddAllTester.java
public void testAddAll_unsupportedNothing() { try { assertFalse( "addAll(nothing) should return false or throw", collection.addAll(emptyCollection())); } catch (UnsupportedOperationException tolerated) { } expectUnchanged(); } @CollectionFeature.Require(SUPPORTS_ADD) public void testAddAll_supportedNonePresent() { assertTrue(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 7.9K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt
override fun onResponse( call: Call, response: Response, ) { val socket = try { checkUpgradeSuccess(response) } catch (e: IOException) { failWebSocket(e, response) response.closeQuietly() response.socket?.sink?.closeQuietly() response.socket?.source?.closeQuietly()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Jul 31 04:18:40 GMT 2025 - 21.6K bytes - Click Count (0)