- Sort Score
- Result 10 results
- Languages All
Results 291 - 300 of 2,324 for exception (0.05 sec)
-
src/test/java/jcifs/smb/SmbEnumerationUtilTest.java
assertNull(unwrapped); } } @Nested @DisplayName("Exception handling tests") class ExceptionHandlingTests { @Test @DisplayName("doEnum rethrows CIFSException when not UnknownHostException") void doEnum_rethrowsCIFSException_whenNotUnknownHost() throws Exception { // Arrange SmbFile parent = mock(SmbFile.class, RETURNS_DEEP_STUBS);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/impl/FieldDescImplTest.java
import org.codelibs.core.beans.ParameterizedClassDesc; import org.codelibs.core.exception.FieldNotStaticRuntimeException; import org.junit.Test; /** * @author koichik */ public class FieldDescImplTest { /** * @throws Exception */ @Test public void testHOGE() throws Exception { final BeanDesc beanDesc = new BeanDescImpl(MyBean.class);Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/exception/SIndexOutOfBoundsExceptionTest.java
*/ package org.codelibs.core.exception; import static org.hamcrest.CoreMatchers.is; import static org.hamcrest.CoreMatchers.notNullValue; import static org.junit.Assert.assertThat; import org.junit.Test; /** * @author wyukawa * */ public class SIndexOutOfBoundsExceptionTest { /** * Test method forRegistered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.7K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionParserException.java
/** * The Exception class thrown by {@link VersionParser}. * * @since 4.0.0 */ @Experimental public class VersionParserException extends MavenException { @Serial private static final long serialVersionUID = 1504740189114877333L; /** * @param message the message to give * @param e the {@link Exception} */Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Oct 02 21:26:05 UTC 2024 - 1.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java
SMBProtocolDecodingException exception = assertThrows(SMBProtocolDecodingException.class, () -> response.readBytesWireFormat(buffer, bufferIndex), "Should throw SMBProtocolDecodingException for invalid structure size"); assertEquals("Expected structureSize = 9", exception.getMessage()); } @ParameterizedTestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 23.5K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/metadata/DefaultClasspathTransformationTestType.java
MetadataGraphVertex v3; MetadataGraphVertex v4; // ------------------------------------------------------------------------------------------ @BeforeEach void setUp() throws Exception { graph = new MetadataGraph(4, 3); /* * v2 * v1< * v3-v4 * */ v1 = graph.addVertex(new ArtifactMetadata("g", "a1", "1.0"));Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.7K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosApRequestTest.java
// We need to create a proper ASN1TaggedObject with APPLICATION tag class // Create a custom base object that throws IOException ASN1Encodable badBase = new ASN1Encodable() { @Override public ASN1Primitive toASN1Primitive() { // Return a primitive that will throw IOException when getEncoded is calledRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/TreeConnectResponseTest.java
// When & Then - InvocationTargetException wraps the actual exception when using reflection Exception exception = assertThrows(Exception.class, () -> invokeMethod(response, "readBytesWireFormat", new Class[] { byte[].class, int.class }, buffer, 0), "Should throw exception for invalid structure size"); // Verify the actual cause is SMBProtocolDecodingExceptionRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Streams.java
Exception exception = null; for (BaseStream<?, ?> stream : toClose) { try { stream.close(); } catch (Exception e) { // sneaky checked exception if (exception == null) { exception = e; } else { exception.addSuppressed(e); } } } if (exception != null) { // Normally this is a RuntimeException that doesn't need sneakyThrow.Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 37K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/exception/ScriptEngineException.java
*/ package org.codelibs.fess.exception; /** * This exception is thrown when a script engine error occurs. */ public class ScriptEngineException extends FessSystemException { private static final long serialVersionUID = 1L; /** * Constructor. * @param message The exception message. */ public ScriptEngineException(final String message) {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 1.2K bytes - Viewed (0)