- Sort Score
- Num 10 results
- Language All
Results 1621 - 1630 of 3,799 for thrown (0.06 seconds)
-
guava/src/com/google/common/collect/ComparisonChain.java
* for raw {@code Comparable} types in Guava in general is tracked as <a * href="https://github.com/google/guava/issues/989">#989</a>.) * * @throws ClassCastException if the parameters are not mutually comparable */ public abstract ComparisonChain compare(Comparable<?> left, Comparable<?> right); /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 11.1K bytes - Click Count (0) -
guava/src/com/google/common/base/MoreObjects.java
* @throws NullPointerException if both {@code first} and {@code second} are null * @since 18.0 (since 3.0 as {@code Objects.firstNonNull}). */ public static <T> T firstNonNull(@Nullable T first, @Nullable T second) { if (first != null) { return first; } if (second != null) { return second; } throw new NullPointerException("Both parameters are null"); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 05 17:38:41 GMT 2026 - 16.7K bytes - Click Count (0) -
src/test/java/org/codelibs/core/message/MessageFormatterTest.java
public class MessageFormatterTest { @Before public void setUp() throws Exception { LocaleUtil.setDefault(() -> Locale.JAPANESE); } @After public void tearDown() throws Exception { LocaleUtil.setDefault(null); } /** * @throws Exception */ @Test public void testGetMessage() throws Exception { final String s = MessageFormatter.getMessage("EMSG0000");Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 3.6K bytes - Click Count (0) -
src/test/java/jcifs/util/ServerResponseValidatorTest.java
validator = new ServerResponseValidator(); } @Test public void testValidBuffer() throws Exception { byte[] buffer = new byte[1024]; validator.validateBuffer(buffer, 100, 2048); // Should pass without exception } @Test public void testNullBuffer() throws Exception { assertThrows(SmbException.class, () -> { validator.validateBuffer(null, 100, 1024);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 14.2K bytes - Click Count (0) -
src/test/java/org/codelibs/core/beans/util/CopyOptionsTest.java
} /** * @throws Exception */ @Test public void testPrefix() throws Exception { final CopyOptions option = new CopyOptions(); assertThat(option.prefix(BeanNames.search_()), is(sameInstance(option))); assertThat(option.prefix, is("search_")); } /** * @throws Exception */ @Test public void testBeanDelimiter() throws Exception {Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Fri Jun 20 13:40:57 GMT 2025 - 12K bytes - Click Count (0) -
src/main/java/jcifs/NameServiceClient.java
* host with the same IP address. * * @param addr * the address to query * @return resolved addresses * @throws UnknownHostException * if address cannot be resolved */ NetbiosAddress[] getNbtAllByAddress(NetbiosAddress addr) throws UnknownHostException; /** * Retrieve all addresses of a host by it's address. NetBIOS hosts canCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java
* @param url the URL to process * @param client the crawler client to use for the request * @return the redirect URL if a redirect occurred, null otherwise * @throws ChildUrlsException if child URLs are discovered during processing * @throws DataStoreCrawlingException if an error occurs during crawling */ protected String processRequest(final DataStoreParams paramMap, final Map<String, Object> dataMap, final String url,Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 29.7K bytes - Click Count (3) -
src/main/java/jcifs/smb/SmbTransportInternal.java
* @return whether the connection was in use * @throws IOException if an I/O error occurs during disconnection */ boolean disconnect(boolean hard, boolean inuse) throws IOException; /** * Ensures the transport is connected to the remote server. * * @return whether the transport was connected * @throws SmbException if an SMB error occurs * @throws IOException if an I/O error occurs */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.5K bytes - Click Count (0) -
src/main/java/org/codelibs/core/collection/ArrayMap.java
@Override public void writeExternal(final ObjectOutput s) throws IOException { s.writeInt(hashCode); s.writeObject(key); s.writeObject(value); s.writeObject(next); } @SuppressWarnings("unchecked") @Override public void readExternal(final ObjectInput s) throws IOException, ClassNotFoundException { hashCode = s.readInt();Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat Nov 22 11:21:59 GMT 2025 - 20.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java
@Override protected void setUp() throws Exception { super.setUp(); future = SettableFuture.create(); tester = new ListenableFutureTester(future); tester.setUp(); } public void testDefaultState() throws Exception { assertThrows(TimeoutException.class, () -> future.get(5, MILLISECONDS)); } public void testSetValue() throws Exception { assertTrue(future.set("value"));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 7.4K bytes - Click Count (0)