- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 5,466 for throws (0.11 sec)
-
guava-tests/test/com/google/common/util/concurrent/SimpleTimeLimiterTest.java
return input; } catch (InterruptedException e) { throw new AssertionError(); } } @Override public void sleepThenThrowException() throws SampleException { try { MILLISECONDS.sleep(delayMillis); } catch (InterruptedException e) { } throw new SampleException(); } }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 9.5K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacDataInputStream.java
} public int available () throws IOException { return this.dis.available(); } public void readFully ( byte[] b ) throws IOException { this.dis.readFully(b); } public void readFully ( byte[] b, int off, int len ) throws IOException { this.dis.readFully(b, off, len); } public char readChar () throws IOException { align(2);
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sat Jul 21 21:19:58 UTC 2018 - 5.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/transport/Transport.java
protected abstract void makeKey( Request request ) throws IOException; protected abstract Request peekKey() throws IOException; protected abstract void doSend( Request request ) throws IOException; protected abstract void doRecv( Response response ) throws IOException; protected abstract void doSkip() throws IOException; public synchronized void sendrecv( Request request,
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 9K bytes - Viewed (0) -
guava/src/com/google/common/cache/CacheLoader.java
* @throws Exception if unable to load the result * @throws InterruptedException if this method is interrupted. {@code InterruptedException} is * treated like any other {@code Exception} in all respects except that, when it is caught, * the thread's interrupt status is set */ public abstract V load(K key) throws Exception; /**
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Dec 19 20:20:14 UTC 2022 - 9.5K bytes - Viewed (0) -
maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/DefaultModelResolverTest.java
"Expected 'UnresolvableModelException' not thrown."); assertNotNull(e.getMessage()); assertTrue(e.getMessage().contains("Could not find artifact ut.simple:artifact:pom:0 in repo")); } @Test void testResolveParentThrowsUnresolvableModelExceptionWhenNoMatchingVersionFound() throws Exception { final Parent parent = Parent.newBuilder()
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Sep 06 08:39:32 UTC 2023 - 8.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoResponse.java
} /** * @param clazz * @return the information * @throws CIFSException */ @SuppressWarnings ( "unchecked" ) public <T extends Decodable> T getInfo ( Class<T> clazz ) throws CIFSException { if ( !clazz.isAssignableFrom(this.info.getClass()) ) { throw new CIFSException("Incompatible file information class"); } return (T) getInfo(); }
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sat Nov 13 15:13:49 UTC 2021 - 6K bytes - Viewed (0) -
platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/OutputStreamBackedEncoder.java
outputStream.writeFloat(value); } @Override public void writeDouble(double value) throws IOException { outputStream.writeDouble(value); } @Override public void writeBoolean(boolean value) throws IOException { outputStream.writeBoolean(value); } @Override public void writeString(CharSequence value) throws IOException {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 2.4K bytes - Viewed (0) -
android/guava/src/com/google/common/io/LittleEndianDataInputStream.java
public void readFully(byte[] b, int off, int len) throws IOException { ByteStreams.readFully(this, b, off, len); } @Override public int skipBytes(int n) throws IOException { return (int) in.skip(n); } @CanIgnoreReturnValue // to skip a byte @Override public int readUnsignedByte() throws IOException { int b1 = in.read(); if (0 > b1) { throw new EOFException(); } return b1;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed May 17 14:35:11 UTC 2023 - 7.3K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/DefaultProviderTest.groovy
given: def providerWithBadValue = new DefaultProvider<String>({ throw new RuntimeException() }) expect: providerWithBadValue.toString() == "provider(?)" Providers.notDefined().toString() == "undefined" } def "rethrows exception if value calculation throws exception"() { def failure = new RuntimeException('Something went wrong') given:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Dec 15 20:21:32 UTC 2023 - 4.2K bytes - Viewed (0) -
maven-repository-metadata/src/main/java/org/apache/maven/artifact/repository/metadata/io/xpp3/MetadataXpp3Reader.java
* @throws XmlPullParserException XmlPullParserException if * any. */ public Metadata read(InputStream in) throws IOException, XmlPullParserException { try { return new Metadata(delegate.read(in)); } catch (XMLStreamException e) { throw new XmlPullParserException(e.getMessage(), null, e); } }
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Apr 12 10:50:18 UTC 2024 - 5.7K bytes - Viewed (0)