- Sort Score
- Result 10 results
- Languages All
Results 531 - 540 of 2,327 for Exceptions (0.12 sec)
-
impl/maven-core/src/test/java/org/apache/maven/project/ProjectModelResolverTest.java
*/ ProjectModelResolverTest() { super(); } @Test void testResolveParentThrowsUnresolvableModelExceptionWhenNotFound() throws Exception { final Parent parent = new Parent(); parent.setGroupId("org.apache"); parent.setArtifactId("apache"); parent.setVersion("0"); UnresolvableModelException e = assertThrows(Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 8.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbNamedPipeTest.java
@ParameterizedTest @DisplayName("Accepts IPC$ URLs (happy path)") @ValueSource(strings = { "smb://server/IPC$/foo", "smb://server/IPC$/PIPE/foo" }) void constructsWithIpcShare(String url) throws Exception { // Arrange & Act SmbNamedPipe pipe = new SmbNamedPipe(url, SmbPipeResource.PIPE_TYPE_RDWR, ctx()); // Assert: type is named pipe and pipe type preservedRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/org/codelibs/core/net/URLUtilTest.java
* */ public class URLUtilTest extends TestCase { /** * @throws Exception */ public void testEncode() throws Exception { assertEquals("Program+Files", URLUtil.encode("Program Files", "UTF-8")); } /** * @throws Exception */ public void testDecode() throws Exception { assertEquals("Program Files", URLUtil.decode("Program+Files", "UTF-8")); }Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.9K bytes - Viewed (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/MojoFailureException.java
*/ package org.apache.maven.plugin; /** * An exception occurring during the execution of a plugin (such as a compilation failure).<br> * Throwing this exception causes a "BUILD FAILURE" message to be displayed. * */ public class MojoFailureException extends AbstractMojoExecutionException { /** * Construct a new <code>MojoFailureException</code> exception providing the source and a short and long message:
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsResponseTest.java
} @Test public void test_getIndex() throws Exception { List<String> words = new ArrayList<>(); PopularWordsResponse response = new PopularWordsResponse("my-index", 50, words, 5, new ArrayList<>()); assertEquals("my-index", response.getIndex()); } @Test public void test_getTookMs() throws Exception { List<String> words = new ArrayList<>();Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Thu Nov 13 00:40:54 UTC 2025 - 5.6K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/DcerpcException.java
*/ package jcifs.dcerpc; import jcifs.CIFSException; import jcifs.smb.WinError; import jcifs.util.Hexdump; /** * Exception class for DCE/RPC related errors. * This exception is thrown when DCE/RPC protocol errors occur. */ public class DcerpcException extends CIFSException implements DcerpcError, WinError { /** * */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.9K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/UncaughtExceptionHandlers.java
try { logger .get() .log( SEVERE, String.format(Locale.ROOT, "Caught an exception in %s. Shutting down.", t), e); } catch (Throwable errorInLogging) { // sneaky checked exception // If logging fails, e.g. due to missing memory, at least try to log the // message and the cause for the failed logging.Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Feb 10 21:03:40 UTC 2025 - 2.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
} public void testEvilFuture_setFuture() throws Exception { RuntimeException exception = new RuntimeException("you didn't say the magic word!"); AbstractFuture<String> evilFuture = new AbstractFuture<String>() { @Override public void addListener(Runnable r, Executor e) { throw exception; } };
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 46.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileInputStreamTest.java
void readNullArrayThrows() throws Exception { SmbFileInputStream in = newStream(); assertThrows(NullPointerException.class, () -> in.read(null)); } @Test @DisplayName("readDirect with len <= 0 returns 0") void readDirectZeroLen() throws Exception { SmbFileInputStream in = newStream();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.8K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/Type3MessageTest.java
return mockCtx; } @Test @DisplayName("Should create Type 3 message with authentication data") void testType3MessageCreation() throws Exception { // Given Type2Message type2 = createMockType2Message(); String password = "testpassword"; String domain = "TESTDOMAIN"; String username = "testuser";Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.3K bytes - Viewed (0)