- Sort Score
- Result 10 results
- Languages All
Results 741 - 750 of 2,175 for catch (1.39 sec)
-
guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java
* @param message message to use upon assertion failure */ protected void expectNullKeyMissingWhenNullKeysUnsupported(String message) { try { assertFalse(message, getMap().containsKey(null)); } catch (NullPointerException tolerated) { // Tolerated } } /** * Equivalent to {@link #expectMissingValues(Object[]) expectMissingValues} {@code (null)} except
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 7.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java
int size = readUnsignedShort(); byte[] b = new byte[size]; read( b, 0, size ); try { return Encdec.dec_utf8( b, 0, size ); } catch( IOException ioe ) { throw new SmbException( "", ioe ); } } public final void writeBoolean( boolean v ) throws SmbException { tmp[0] = (byte)(v ? 1 : 0);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 10.9K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PlexusContainerCapsuleFactory.java
public ContainerCapsule createContainerCapsule(C context) throws InvokerException { try { return new PlexusContainerCapsule(Thread.currentThread().getContextClassLoader(), container(context)); } catch (Exception e) { throw new InvokerException("Failed to create plexus container capsule", e); } } protected PlexusContainer container(C context) throws Exception {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Cookie.kt
persistent = true } catch (_: IllegalArgumentException) { // Ignore this attribute, it isn't recognizable as a date. } } attributeName.equals("max-age", ignoreCase = true) -> { try { deltaSeconds = parseMaxAge(attributeValue) persistent = true } catch (_: NumberFormatException) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 06 04:12:05 UTC 2024 - 23.1K bytes - Viewed (0) -
settings.gradle.kts
return try { val (major, minor, _) = ideaVersionString.split(".", limit = 3) KotlinVersion(major.toInt(), minor.toInt()) < KotlinVersion(2023, 2) } catch (e: Exception) { false // Unknown version, presumably compatible. }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Apr 14 14:24:05 UTC 2024 - 2.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpAuthentication.java
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Sat Oct 12 01:40:57 UTC 2024 - 2.4K bytes - Viewed (0) -
src/main/java/jcifs/http/NtlmHttpURLConnection.java
} /** * */ private final void copySettings () { try { this.setRequestMethod(this.connection.getRequestMethod()); } catch ( ProtocolException e ) { throw new RuntimeCIFSException("Failed to set request method", e); } this.headerFields = null;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 25.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/BaseEncodingTest.java
ByteStreams.exhaust(decodingStream); fail("Expected DecodingException"); } catch (DecodingException expected) { // Don't assert on the expectedMessage; the messages for exceptions thrown from the // decoding stream may differ from the messages for the decode methods. } catch (IOException e) { fail("Expected DecodingException but got: " + e); } } };
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 16:27:30 UTC 2024 - 24.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/timer/HotThreadMonitorTarget.java
return tempBuf.toString(); }).collect(Collectors.joining(",")); buf.append(hotThreads).append(','); } catch (final Exception e) { appendException(buf, e).append(','); } appendTimestamp(buf); buf.append('}'); if (logger.isInfoEnabled()) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 3.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/exentity/PathMapping.java
pathMapperFunc = pathMappingHelper.createPathMatcher(matcher, replacement); } try { return pathMapperFunc.apply(input, matcher); } catch (final Exception e) { logger.warn("Failed to apply {} to {}.", regexPattern.pattern(), input, e); } } return input; } public boolean hasUAMathcer() {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 3.3K bytes - Viewed (0)