- Sort Score
- Num 10 results
- Language All
Results 1431 - 1440 of 3,637 for throwIf (0.12 seconds)
-
src/test/java/jcifs/smb1/dcerpc/ndr/NdrHyperTest.java
} /** * Ensure encode throws NPE when passed a null buffer. */ @Test @DisplayName("Encode with null buffer throws NullPointerException") public void testEncodeNullBuffer() throws NdrException { NdrHyper hyper = new NdrHyper(5L); assertThrows(NullPointerException.class, () -> hyper.encode(null)); } /** * Ensure decode throws NPE when passed a null buffer. */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.3K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Prompter.java
* @throws PrompterException if an exception occurs */ @Nonnull String promptForPassword(@Nullable String message) throws PrompterException; /** * Displays a message to the user. * * @param message the message to display * @throws PrompterException if an exception occurs */ void showMessage(@Nullable String message) throws PrompterException;Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Nov 17 15:52:15 GMT 2023 - 3.5K bytes - Click Count (0) -
android/guava/src/com/google/common/io/CharSink.java
* writer each time it is called. * * <p>The caller is responsible for ensuring that the returned writer is closed. * * @throws IOException if an I/O error occurs while opening the writer */ public abstract Writer openStream() throws IOException; /** * Opens a new buffered {@link Writer} for writing to this sink. The returned stream is not
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Apr 14 16:07:06 GMT 2025 - 6.7K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/WagonManager.java
@Deprecated Wagon getWagon(String protocol) throws UnsupportedProtocolException; @Deprecated Wagon getWagon(Repository repository) throws UnsupportedProtocolException, WagonConfigurationException; // // Retriever // void getArtifact(Artifact artifact, ArtifactRepository repository, TransferListener transferListener, boolean force) throws TransferFailedException, ResourceDoesNotExistException;Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 3.4K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilder.java
* @return the {@link ProjectBuilderResult} containing the built project and possible errors * @throws ProjectBuilderException if the project cannot be created * @throws IllegalArgumentException if an argument is {@code null} or invalid */ @Nonnull ProjectBuilderResult build(ProjectBuilderRequest request) throws ProjectBuilderException; /** * Creates a {@link org.apache.maven.api.Project} from a POM file.Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Nov 16 20:36:20 GMT 2024 - 2.9K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbFileTest.java
@Test public void testGetPath() throws MalformedURLException { // Path should be the original, uncanonicalized URL String url = "smb1://server/share/../share/file.txt"; SmbFile smbFile = new SmbFile(url); assertEquals(url, smbFile.getPath()); } @Test public void testGetCanonicalPath() throws MalformedURLException {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.5K bytes - Click Count (0) -
src/test/java/org/codelibs/core/io/TraverserUtilTest.java
import org.codelibs.core.lang.ClassUtil; import org.junit.Test; /** * @author koichik */ public class TraverserUtilTest { /** * @throws Exception */ @Test public void testFromClass_FileSystem() throws Exception { final Traverser traverser = TraversalUtil.getTraverser(DummyTest.class); assertThat(traverser, is(notNullValue()));Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 6.4K bytes - Click Count (0) -
src/test/java/org/codelibs/core/beans/impl/FieldDescImplTest.java
} /** * @throws Exception */ @Test(expected = FieldNotStaticRuntimeException.class) public void testAaa_GetStaticFieldValue() throws Exception { final BeanDesc beanDesc = new BeanDescImpl(MyBean.class); final FieldDesc aaa = beanDesc.getFieldDesc("aaa"); aaa.getStaticFieldValue(); } /** * @throws Exception */Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 5K bytes - Click Count (0) -
src/test/java/org/codelibs/core/convert/CalendarConversionUtilTest.java
/** * @throws Exception */ @Before public void setUp() throws Exception { TimeZone.setDefault(TimeZone.getTimeZone("GMT")); } /** * @throws Exception */ @After public void tearDown() throws Exception { TimeZone.setDefault(null); } /** * @throws Exception */ @TestCreated: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 2.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/SourceSinkFactories.java
public void tearDown() throws IOException {} } private static class EmptyCharSourceFactory implements CharSourceFactory { @Override public CharSource createSource(String data) throws IOException { return CharSource.empty(); } @Override public String getExpected(String data) { return ""; } @Override public void tearDown() throws IOException {} }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jul 16 17:42:14 GMT 2025 - 12.7K bytes - Click Count (0)