- Sort Score
- Result 10 results
- Languages All
Results 1951 - 1960 of 2,976 for throwIt (0.07 sec)
-
guava/src/com/google/common/collect/HashBasedTable.java
* * @param expectedRows the expected number of distinct row keys * @param expectedCellsPerRow the expected number of column key / value mappings in each row * @throws IllegalArgumentException if {@code expectedRows} or {@code expectedCellsPerRow} is * negative */ public static <R, C, V> HashBasedTable<R, C, V> create( int expectedRows, int expectedCellsPerRow) {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 4.1K bytes - Viewed (0) -
guava-testlib/test/com/google/common/collect/testing/MinimalCollectionTest.java
@Override public Collection<String> create(String[] elements) { // TODO: MinimalCollection should perhaps throw for (Object element : elements) { if (element == null) { throw new NullPointerException(); } } return MinimalCollection.of(elements); } })Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Jan 25 16:19:30 UTC 2025 - 1.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/WriterUtil.java
assertArgumentNotNull("os", os); assertArgumentNotEmpty("encoding", encoding); try { return new OutputStreamWriter(os, encoding); } catch (final IOException e) { throw new IORuntimeException(e); } } /** * Creates a {@link Writer} to output to a file with the default encoding. * * @param file the file (must not be {@literal null})
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/LdapConfigurationExceptionTest.java
} public void test_throwAndCatch() { // Test throwing and catching the exception String errorMessage = "LDAP server not reachable"; try { throw new LdapConfigurationException(errorMessage); } catch (LdapConfigurationException e) { assertEquals(errorMessage, e.getMessage()); assertNull(e.getCause()); } catch (Exception e) {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfoTest.java
*/ @ExtendWith(MockitoExtension.class) class NetworkInterfaceInfoTest { private InetAddress testAddress; private InetAddress loopbackAddress; @BeforeEach void setUp() throws UnknownHostException { testAddress = InetAddress.getByName("192.168.1.100"); loopbackAddress = InetAddress.getLoopbackAddress(); } @Test void testConstructor() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 4.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/compression/CompressionNegotiateContextTest.java
*/ public class CompressionNegotiateContextTest { private Configuration config; private CompressionNegotiateContext context; @BeforeEach public void setUp() throws Exception { Properties props = new Properties(); config = new PropertyConfiguration(props); context = new CompressionNegotiateContext(config, new int[] { CompressionNegotiateContext.COMPRESSION_LZ77,Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 5.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java
return new SuggestIndexResponse(items.length, items.length, result.getFailures(), System.currentTimeMillis() - start); } catch (final Exception e) { throw new SuggestIndexException("Failed to write items[" + items.length + "] to " + index, e); } } /** * Deletes a suggest item by ID. * @param id The ID of the item to delete.
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 34.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/EmptyIterator.java
*/ public EmptyIterator() { } @Override public void remove() { throw new ClUnsupportedOperationException("remove"); } @Override public boolean hasNext() { return false; } @Override public T next() { throw new ClUnsupportedOperationException("next"); }Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 1.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/exception/SsoProcessException.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.fess.exception; /** * Exception thrown during SSO (Single Sign-On) processing operations. * * This exception is used to indicate errors that occur during the execution * of SSO authentication and authorization processes. It extends FessSystemException
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 1.9K bytes - Viewed (0) -
mockwebserver/README.md
[Mockito](https://github.com/mockito/mockito): 1. Script the mocks. 2. Run application code. 3. Verify that the expected requests were made. Here's a complete example: ### Java ```java public void test() throws Exception { // Create a MockWebServer. These are lean enough that you can create a new // instance for every unit test. MockWebServer server = new MockWebServer(); // Schedule some responses.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jul 19 13:40:52 UTC 2025 - 8.1K bytes - Viewed (0)