- Sort Score
- Result 10 results
- Languages All
Results 841 - 850 of 2,652 for throw (0.09 sec)
-
guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveIfTester.java
public void testRemoveIf_unsupportedEmptyCollection() { try { assertFalse( "removeIf(Predicate) should return false or throw " + "UnsupportedOperationException", collection.removeIf( x -> { throw new AssertionError("predicate should never be called"); })); } catch (UnsupportedOperationException tolerated) { } expectUnchanged(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 20:00:30 UTC 2024 - 4.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/net/UrlEscaperTesting.java
*/ 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 unescaped
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 17:53:22 UTC 2024 - 3.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/sql/DriverManagerUtil.java
assertArgumentNotNull("driver", driver); try { DriverManager.registerDriver(driver); } catch (final SQLException e) { throw new SQLRuntimeException(e); } } /** * JDBCドライバを登録解除します。 * * @param driver * 登録解除するJDBCドライバ。{@literal null}であってはいけません */
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 3.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponse.java
return 0; } /** * {@inheritDoc} * * @throws SMBProtocolDecodingException * * @see jcifs.internal.smb2.ServerMessageBlock2#readBytesWireFormat(byte[], int) */ @Override protected int readBytesWireFormat ( byte[] buffer, int bufferIndex ) throws SMBProtocolDecodingException { int start = bufferIndex;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Aug 05 07:13:17 UTC 2018 - 3.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XPathAPI.java
* @param expression A valid XPath string. * @return A XPathNodes, should never be null. * * @throws XPathExpressionException */ public XPathNodes selectNodeList(final Node contextNode, final String expression) throws XPathExpressionException { return xPath.evaluateExpression(expression, contextNode, XPathNodes.class); } /**
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 3.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/SearchEngineUtil.java
} catch (final IOException e) { throw new IORuntimeException(e); } } public interface XContentBuilderCallback { XContentBuilder apply(XContentBuilder builder, ToXContent.Params params) throws IOException; }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/PackageSanityTests.java
setDefault(EndpointPair.class, EndpointPair.ordered("A", "B")); } @Override public void testNulls() throws Exception { try { super.testNulls(); } catch (AssertionError e) { assertWithMessage("Method did not throw null pointer OR element not in graph exception.") .that(e) .hasCauseThat() .hasMessageThat()
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 3.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileHandleImpl.java
/** * @return the fid * @throws SmbException */ public int getFid () throws SmbException { if ( !isValid() ) { throw new SmbException("Descriptor is no longer valid"); } return this.fid; } public byte[] getFileId () throws SmbException { if ( !isValid() ) { throw new SmbException("Descriptor is no longer valid");
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 8.6K bytes - Viewed (1) -
src/main/java/jcifs/smb1/ntlmssp/Type3Message.java
return DEFAULT_WORKSTATION; } private void parse(byte[] material) throws IOException { for (int i = 0; i < 8; i++) { if (material[i] != NTLMSSP_SIGNATURE[i]) { throw new IOException("Not an NTLMSSP message."); } } if (readULong(material, 8) != 3) { throw new IOException("Not a Type 3 message."); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 22.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcBinding.java
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 3.2K bytes - Viewed (0)