- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,019 for throws (0.16 sec)
-
platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/kryo/KryoBackedDecoder.java
if (e.getMessage().equals("Buffer underflow.")) { throw (EOFException) new EOFException().initCause(e); } throw e; } @Override public byte readByte() throws EOFException { try { return input.readByte(); } catch (KryoException e) { throw maybeEndOfStream(e); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 7.3K bytes - Viewed (0) -
platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/AbstractDecoder.java
throw new UnsupportedOperationException(); } @Override public void skipChunked() throws EOFException, IOException { throw new UnsupportedOperationException(); } protected abstract int maybeReadBytes(byte[] buffer, int offset, int count) throws IOException; protected abstract long maybeSkip(long count) throws IOException;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 3.6K bytes - Viewed (0) -
platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/kryo/StringDeduplicatingKryoBackedDecoder.java
if (e.getMessage().equals("Buffer underflow.")) { throw (EOFException) new EOFException().initCause(e); } throw e; } @Override public byte readByte() throws EOFException { try { return input.readByte(); } catch (KryoException e) { throw maybeEndOfStream(e); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 6.2K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/ImplementationSnapshotSerializer.java
} @Override public ImplementationSnapshot read(Decoder decoder) throws Exception { Impl serializer = Impl.values()[decoder.readSmallInt()]; return serializer.read(decoder); } @Override public void write(Encoder encoder, ImplementationSnapshot implementationSnapshot) throws Exception {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 12:33:49 UTC 2024 - 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) -
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) -
maven-core/src/test/java/org/apache/maven/project/ProjectModelResolverTest.java
"Expected 'UnresolvableModelException' not thrown."); assertNotNull(e.getMessage()); assertThat(e.getMessage(), containsString("Could not find artifact org.apache:apache:pom:0 in central")); } @Test void testResolveParentThrowsUnresolvableModelExceptionWhenNoMatchingVersionFound() throws Exception { final Parent parent = new Parent();
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Apr 03 17:49:40 UTC 2024 - 9.4K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/api/artifacts/ResolvedConfiguration.java
/** * A resolve of a configuration that is not successful does not automatically throws an exception. * Such a exception is only thrown if the result of a resolve is accessed. You can force the throwing * of such an exception by calling this method. * * <p>This method does nothing when resolution was successful.</p> * * @throws ResolveException when the resolve was not successful. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 05 17:10:15 UTC 2024 - 4K bytes - Viewed (0) -
platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/AbstractEncoder.java
} @Override public void encodeChunked(EncodeAction<Encoder> writeAction) throws Exception { throw new UnsupportedOperationException(); } @Override public void writeSmallInt(int value) throws IOException { writeInt(value); } @Override public void writeSmallLong(long value) throws IOException { writeLong(value); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 2.8K bytes - Viewed (0) -
platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/Decoder.java
* * @throws EOFException when the end of the byte stream is reached before the long value can be fully read. */ long readLong() throws EOFException, IOException; /** * Reads a signed 64 bit int value. Can read any value that was written using {@link Encoder#writeSmallLong(long)}. *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 6.5K bytes - Viewed (0)