- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 1,947 for threw (0.01 sec)
-
android/guava-tests/test/com/google/common/collect/IteratorsTest.java
Iterator<String> iterator = asList("one", "two", "three", "four", "five").iterator(); IllegalArgumentException expected = assertThrows(IllegalArgumentException.class, () -> getOnlyElement(iterator)); assertThat(expected) .hasMessageThat() .isEqualTo("expected one element but was: <one, two, three, four, five>"); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 54.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/DictionaryExpiredExceptionTest.java
DictionaryExpiredException rethrownException = null; try { try { throw new DictionaryExpiredException(); } catch (DictionaryExpiredException e) { originalException = e; throw e; } } catch (DictionaryExpiredException e) { rethrownException = e; }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/nio/ChannelUtil.java
assertArgumentNotNull("channel", channel); assertArgumentNotNull("mode", mode); try { return channel.map(mode, 0, channel.size()); } catch (final IOException e) { throw new IORuntimeException(e); } } /** * Returns the size of the file. * * @param channel * The file channel. Must not be {@literal null}.
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 5.6K bytes - Viewed (0) -
android/guava/src/com/google/common/math/MathPreconditions.java
@CanIgnoreReturnValue static int checkPositive(String role, int x) { if (x <= 0) { throw new IllegalArgumentException(role + " (" + x + ") must be > 0"); } return x; } @CanIgnoreReturnValue static long checkPositive(String role, long x) { if (x <= 0) { throw new IllegalArgumentException(role + " (" + x + ") must be > 0"); } return x; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 3.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Cut.java
Comparable<?> endpoint() { throw new IllegalStateException("range unbounded on this side"); } @Override boolean isLessThan(Comparable<?> value) { return true; } @Override BoundType typeAsLowerBound() { throw new IllegalStateException(); } @Override BoundType typeAsUpperBound() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 12.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbCopyUtil.java
} throw e; } } break; } while (retry); } } catch (final SmbUnsupportedOperationException e) { throw e; } catch (final IOException se) { throw new CIFSException("Server side copy failed", se); } finally {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 16.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/AssertionUtil.java
public static void assertArgumentArrayIndex(final String argName, final int argValue, final int arraySize) { if (argValue < 0) { throw new ClIllegalArgumentException(argName, "ECL0014", asArray(argName)); } if (argValue >= arraySize) { throw new ClIllegalArgumentException(argName, "ECL0015", asArray(argName, arraySize)); } } /**
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 12.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaConnection.java
state = RdmaConnectionState.ERROR; throw new IOException("TCP RDMA connection failed", e); } } @Override public void send(ByteBuffer data, RdmaMemoryRegion region) throws IOException { if (state != RdmaConnectionState.ESTABLISHED && state != RdmaConnectionState.CONNECTED) { throw new IOException("Connection not established"); } try {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 8.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/entity/SearchRequestParamsTest.java
throw new UnsupportedOperationException(); } @Override public String getLocalName() { throw new UnsupportedOperationException(); } @Override public String getLocalAddr() { throw new UnsupportedOperationException(); } @Override public int getLocalPort() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 26.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/AggregateLogJobTest.java
return; case 2: throw new IllegalArgumentException("Invalid argument"); case 3: throw new IllegalStateException("Invalid state"); case 4: throw new NullPointerException("Null pointer"); default: throw new RuntimeException("Generic error"); } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.1K bytes - Viewed (0)