- Sort Score
- Num 10 results
- Language All
Results 171 - 180 of 3,282 for throwIt (0.12 seconds)
-
compat/maven-settings/src/main/java/org/apache/maven/settings/io/xpp3/SettingsXpp3Reader.java
} public Settings read(Reader reader, boolean strict) throws IOException, XmlPullParserException { try { return new Settings(delegate.read(reader, strict, null)); } catch (XMLStreamException e) { throw new XmlPullParserException(e.getMessage(), null, e); } } public Settings read(Reader reader) throws IOException, XmlPullParserException { try {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 4K bytes - Click Count (0) -
src/test/java/jcifs/http/HandlerTest.java
@Override protected URLConnection openConnection(URL u) throws IOException { return mock(HttpURLConnection.class); } }; // Create mock HTTPS handler URLStreamHandler httpsHandler = new URLStreamHandler() { @Override protected URLConnection openConnection(URL u) throws IOException { return mock(HttpURLConnection.class);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.1K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoExecutor.java
PhaseRecorder phaseRecorder) throws LifecycleExecutionException { execute(session, mojoExecution, dependencyContext); phaseRecorder.observeExecution(mojoExecution); } private void execute(MavenSession session, MojoExecution mojoExecution, DependencyContext dependencyContext) throws LifecycleExecutionException {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Jun 12 14:55:55 GMT 2025 - 21K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableCollection.java
* @deprecated Unsupported operation. */ @CanIgnoreReturnValue @Deprecated @Override @DoNotCall("Always throws UnsupportedOperationException") public final boolean retainAll(Collection<?> elementsToKeep) { throw new UnsupportedOperationException(); } /** * Guaranteed to throw an exception and leave the collection unmodified. *Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 21.4K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ExecutionList.java
* order that they are added. * * <p>Exceptions thrown by a listener will be propagated up to the executor. Any exception thrown * during {@code Executor.execute} (e.g., a {@code RejectedExecutionException} or an exception * thrown by {@linkplain MoreExecutors#directExecutor direct execution}) will be caught and logged. * * @author Nishant ThakkarCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 6.9K bytes - Click Count (0) -
src/test/java/jcifs/pac/PacCredentialTypeTest.java
} /** * Tests the isCredentialTypeCorrect method with a valid byte array. * * @throws PACDecodingException if the PAC decoding fails. */ @Test void testIsCredentialTypeCorrectWithValidData() throws PACDecodingException { // A byte array with a length less than 32 should be correct. byte[] validData = new byte[31];Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.9K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableSortedMultiset.java
* * <p>This implementation is guaranteed to throw an {@link UnsupportedOperationException}. * * @throws UnsupportedOperationException always * @deprecated Unsupported operation. */ @CanIgnoreReturnValue @Deprecated @Override @DoNotCall("Always throws UnsupportedOperationException") public final @Nullable Entry<E> pollFirstEntry() { throw new UnsupportedOperationException(); } /**Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 29.5K bytes - Click Count (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"); } }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 13K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/extension/model/io/xpp3/CoreExtensionsXpp3Reader.java
* @param attribute a attribute object. * @throws XmlPullParserException XmlPullParserException if * any. * @throws IOException IOException if any. */ private void checkUnknownAttribute(XmlPullParser parser, String attribute, String tagName, boolean strict) throws XmlPullParserException, IOException {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Oct 27 13:24:03 GMT 2025 - 25.3K bytes - Click Count (0) -
src/test/java/jcifs/netbios/SessionRetargetResponsePacketTest.java
byte[] buffer = new byte[6]; // Assert that an IOException is thrown with the expected message. IOException thrown = assertThrows(IOException.class, () -> { packet.readTrailerWireFormat(mockInputStream, buffer, 0); }); assertTrue(thrown.getMessage().contains("unexpected EOF reading netbios retarget session response")); }
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3K bytes - Click Count (0)