- Sort Score
- Num 10 results
- Language All
Results 161 - 170 of 3,804 for throws (0.04 seconds)
-
src/main/java/jcifs/smb/SmbFileOutputStream.java
* Ensures that the file descriptor is openend * * @throws CIFSException if an error occurs opening the file */ public void open() throws CIFSException { try (SmbFileHandleImpl fh = ensureOpen()) {} } /** * Closes this output stream and releases any system resources associated * with it. * * @throws IOException * if a network error occurs */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 12.8K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbSession.java
* * @return the NTLM challenge from the domain controller * @throws SmbException if an SMB error occurs * @throws UnknownHostException if the domain controller cannot be resolved */ public static NtlmChallenge getChallengeForDomain() throws SmbException, UnknownHostException { if (DOMAIN == null) { throw new SmbException("A domain was not specified"); } synchronized (DOMAIN) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 20.7K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableBiMap.java
final ImmutableSet<V> createValues() { throw new AssertionError("should never be called"); } /** * Guaranteed to throw an exception and leave the bimap unmodified. * * @throws UnsupportedOperationException always * @deprecated Unsupported operation. */ @CanIgnoreReturnValue @Deprecated @Override @DoNotCall("Always throws UnsupportedOperationException")
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 22.7K bytes - Click Count (0) -
src/test/java/jcifs/pac/PacUnicodeStringTest.java
} /** * Tests the {@link PacUnicodeString#check(String)} method with a valid string. * * @throws PACDecodingException if the check fails, which is not expected in this test. */ @Test void testCheck_withValidString() throws PACDecodingException { // Corresponds to a string of length 5 (10 bytes for UTF-16)Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.7K bytes - Click Count (0) -
android/guava/src/com/google/common/io/CharSequenceReader.java
public synchronized void mark(int readAheadLimit) throws IOException { checkArgument(readAheadLimit >= 0, "readAheadLimit (%s) may not be negative", readAheadLimit); checkOpen(); mark = pos; } @Override public synchronized void reset() throws IOException { checkOpen(); pos = mark; } @Override public synchronized void close() throws IOException { seq = null; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 4.5K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PomDiscovery.java
* @return a map of Path to Document for all discovered POM files * @throws IOException if there's an error reading files * @throws DomTripException if there's an error parsing XML */ public static Map<Path, Document> discoverPoms(Path startDirectory) throws IOException, DomTripException { Map<Path, Document> pomMap = new HashMap<>(); // Find and load the root POMCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 4.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java
@Override protected void setUp() throws Exception { super.setUp(); future = SettableFuture.create(); tester = new ListenableFutureTester(future); tester.setUp(); } public void testDefaultState() throws Exception { assertThrows(TimeoutException.class, () -> future.get(5, MILLISECONDS)); } public void testSetValue() throws Exception { assertTrue(future.set("value"));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 7.4K 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) -
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) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/inheritance/DefaultInheritanceAssemblerTest.java
* @throws IOException Model read problem */ @Test void testFlatUrls() throws IOException { testInheritance("flat-urls"); } /** * MNG-5951 MNG-6059 child.x.y.inherit.append.path="false" test * @throws Exception */ @Test void testNoAppendUrls() throws Exception { testInheritance("no-append-urls"); }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 8.2K bytes - Click Count (0)