- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 2,652 for throwIf (0.18 sec)
-
src/main/java/jcifs/smb/DirFileEntryEnumIteratorBase.java
} protected abstract FileEntry open () throws CIFSException; protected abstract boolean isDone (); protected abstract boolean fetchMore () throws CIFSException; protected abstract FileEntry[] getResults (); /** * */ protected synchronized void doClose () throws CIFSException { // otherwise already closed
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 5.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java
}; } @Override protected void run() throws Exception {} } public void testStopWhileStarting_runNotCalled() throws Exception { final CountDownLatch started = new CountDownLatch(1); FakeService service = new FakeService() { @Override protected void startUp() throws Exception { super.startUp(); started.await();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 12.7K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraph.java
private static void checkVertex(MetadataGraphVertex v) throws MetadataResolutionException { if (v == null) { throw new MetadataResolutionException("null vertex"); } if (v.getMd() == null) { throw new MetadataResolutionException("vertex without metadata"); } }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13.1K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/SimplexTransferListener.java
@Override public void transferStarted(TransferEvent event) throws TransferCancelledException { if (ongoing.get(new TransferResourceIdentifier(event.getResource())) == Boolean.FALSE) { throw new TransferCancelledException(); } put(event, false); } @Override public void transferProgressed(TransferEvent event) throws TransferCancelledException {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/UncheckedThrowingFuture.java
private static void rethrow(ExecutionException e) throws ExecutionException { Throwable wrapper = e.getCause(); if (wrapper instanceof WrapperException) { Throwable cause = wrapper.getCause(); if (cause instanceof RuntimeException) { throw (RuntimeException) cause; } else if (cause instanceof Error) { throw (Error) cause; } } throw e; } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 12 20:02:10 UTC 2018 - 3.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbRandomAccessFile.java
public final byte readByte () throws SmbException { if ( ( read(this.tmp, 0, 1) ) < 0 ) { throw new SmbEndOfFileException(); } return this.tmp[ 0 ]; } @Override public final int readUnsignedByte () throws SmbException { if ( ( read(this.tmp, 0, 1) ) < 0 ) { throw new SmbEndOfFileException(); } return this.tmp[ 0 ] & 0xFF; }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Wed Jan 08 12:01:33 UTC 2020 - 18.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableRangeMap.java
@DoNotCall("Always throws UnsupportedOperationException") public final void putCoalescing(Range<K> range, V value) { throw new UnsupportedOperationException(); } /** * Guaranteed to throw an exception and leave the {@code RangeMap} unmodified. * * @throws UnsupportedOperationException always * @deprecated Unsupported operation. */ @Deprecated @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 14.4K bytes - Viewed (0) -
docs/recipes.md
private final OkHttpClient client = new OkHttpClient(); public void run() throws Exception { RequestBody requestBody = new RequestBody() { @Override public MediaType contentType() { return MEDIA_TYPE_MARKDOWN; } @Override public void writeTo(BufferedSink sink) throws IOException { sink.writeUtf8("Numbers\n"); sink.writeUtf8("-------\n");
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Fri Feb 18 08:52:22 UTC 2022 - 40.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/net/HostSpecifierTest.java
} private void assertGood(String spec) throws ParseException { // Throws exception if not working correctly HostSpecifier unused = HostSpecifier.fromValid(spec); unused = HostSpecifier.from(spec); assertTrue(HostSpecifier.isValid(spec)); } private void assertBad(String spec) { try { HostSpecifier.fromValid(spec); fail("Should have thrown IllegalArgumentException: " + spec);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Feb 18 15:33:20 UTC 2022 - 3.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/net/HostSpecifierTest.java
} private void assertGood(String spec) throws ParseException { // Throws exception if not working correctly HostSpecifier unused = HostSpecifier.fromValid(spec); unused = HostSpecifier.from(spec); assertTrue(HostSpecifier.isValid(spec)); } private void assertBad(String spec) { try { HostSpecifier.fromValid(spec); fail("Should have thrown IllegalArgumentException: " + spec);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Feb 18 15:33:20 UTC 2022 - 3.7K bytes - Viewed (0)