- Sort Score
- Num 10 results
- Language All
Results 891 - 900 of 3,804 for throws (0.06 seconds)
-
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CWD.java
* * @throws NullPointerException if {@code seg} is {@code null}. */ @Nonnull public Path resolve(String seg) { requireNonNull(seg, "seg"); return directory.resolve(seg).normalize(); } /** * Changes current cwd, if the new path is existing directory. * * @throws NullPointerException if {@code seg} is {@code null}.Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Mar 24 14:09:05 GMT 2025 - 2.4K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SID.java
* * @param textual the textual representation of the SID * @throws SmbException if the textual format is invalid */ public SID(final String textual) throws SmbException { final StringTokenizer st = new StringTokenizer(textual, "-"); if (st.countTokens() < 3 || !st.nextToken().equals("S")) { // need S-N-M throw new SmbException("Bad textual SID format: " + textual); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 31.5K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/SamrDomainHandleTest.java
// Act & Assert SmbException thrown = assertThrows(SmbException.class, handle::close); assertEquals(errorCode, thrown.getNtStatus()); verify(mockDcerpcHandle, times(1)).sendrecv(any(MsrpcSamrOpenDomain.class)); verify(mockDcerpcHandle, times(1)).sendrecv(any(MsrpcSamrCloseHandle.class)); } @Test void close_shouldThrowIOExceptionOnSendRecvFailure() throws IOException { // Arrange
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/hash/HashingOutputStreamTest.java
@SuppressWarnings("DoNotMock") @Override protected void setUp() throws Exception { super.setUp(); hasher = mock(Hasher.class); hashFunction = mock(HashFunction.class); when(hashFunction.newHasher()).thenReturn(hasher); } public void testWrite_putSingleByte() throws Exception { int b = 'q'; HashingOutputStream out = new HashingOutputStream(hashFunction, buffer);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 3.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileRenameInformation2Test.java
// Verify bytes written assertEquals(20 + nameLength, bytesWritten); } @Test @DisplayName("Test decode with replaceIfExists true") void testDecodeWithReplaceIfExistsTrue() throws SMBProtocolDecodingException { String originalFileName = "testfile.txt"; byte[] nameBytes = originalFileName.getBytes(StandardCharsets.UTF_16LE); byte[] buffer = new byte[100];Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/OsddHelperTest.java
} catch (final Exception e) { assertEquals("Unsupported Open Search Description Document response.", e.getMessage()); } } @Test public void test_init_osddpath() throws IOException { ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() { @Override public String getOsddLinkEnabled() { return "auto"; }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 24.3K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/DefaultProjectDependenciesResolver.java
this.resolutionErrorHandler = resolutionErrorHandler; } @Override public Set<Artifact> resolve(MavenProject project, Collection<String> scopesToResolve, MavenSession session) throws ArtifactResolutionException, ArtifactNotFoundException { return resolve(Collections.singleton(project), scopesToResolve, session); } @Override public Set<Artifact> resolve(Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 8.4K bytes - Click Count (1) -
impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequestPopulator.java
this.repositorySystem = repositorySystem; } @Override public MavenExecutionRequest populateFromToolchains(MavenExecutionRequest request, PersistedToolchains toolchains) throws MavenExecutionRequestPopulationException { if (toolchains != null) { Map<String, List<ToolchainModel>> groupedToolchains = new HashMap<>(2);Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 8.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/FessActionDefTest.java
policeStoryOfJavaClassChase(new NonActionExtendsActionPolice()); assertTrue(true); } @Test public void test_nonWebHasWebReference() throws Exception { policeStoryOfJavaClassChase(new NonWebHasWebReferencePolice()); assertTrue(true); } @Test public void test_webPackageNinjaReferencePolice() throws Exception {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 2.3K bytes - Click Count (0) -
android/guava/src/com/google/common/math/BigIntegerMath.java
} throw new AssertionError(); } private static final double LN_10 = Math.log(10); private static final double LN_2 = Math.log(2); /** * Returns the square root of {@code x}, rounded with the specified rounding mode. * * @throws IllegalArgumentException if {@code x < 0}Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 18.8K bytes - Click Count (0)