- Sort Score
- Num 10 results
- Language All
Results 421 - 430 of 2,367 for Exceptions (0.77 seconds)
-
src/test/java/jcifs/dcerpc/DcerpcBindTest.java
// Verify getResult returns appropriate exception DcerpcException exception = bind.getResult(); assertNotNull(exception, "Should return exception for error result"); assertEquals("DCERPC_BIND_ERR_PROPOSED_TRANSFER_SYNTAXES_NOT_SUPPORTED", exception.getMessage(), "Should return correct error message"); } @TestCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 22.7K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorTest.java
Exception e = assertThrows(Exception.class, () -> ee.evaluate("${session.rootDirectory}")); e = assertInstanceOf(IntrospectionException.class, e.getCause()); e = assertInstanceOf(IllegalStateException.class, e.getCause()); assertEquals(RootLocator.UNABLE_TO_FIND_ROOT_PROJECT_MESSAGE, e.getMessage()); } @Test void testRootDirectory() throws Exception {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Mar 26 19:31:34 GMT 2025 - 19.4K bytes - Click Count (0) -
src/test/java/org/codelibs/core/lang/ModifierUtilTest.java
/** * @throws Exception */ public void testIsPublic() throws Exception { final Field f = Hoge.class.getDeclaredField("s"); assertTrue(ModifierUtil.isPublicStaticFinalField(f)); final Method m = Hoge.class.getDeclaredMethod("hoge", new Class[] {}); assertTrue(ModifierUtil.isPublic(m)); } /** * @throws Exception */Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 2.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/exception/SuggestSettingsException.java
*/ package org.codelibs.fess.suggest.exception; /** * Exception thrown when there is an issue with the suggest settings. * This exception extends {@link RuntimeException}, so it is an unchecked exception. * * <p>There are three constructors available for this exception:</p> * <ul> * <li>{@link #SuggestSettingsException(String)}: Constructs a new exception with the specified detail message.</li>Created: Sat Dec 20 13:04:59 GMT 2025 - Last Modified: Fri Jul 04 14:00:23 GMT 2025 - 2.1K bytes - Click Count (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);Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 5K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbFilenameFilterTest.java
@Test void acceptPropagatesException() { SmbFile dir = Mockito.mock(SmbFile.class); SmbFilenameFilter filter = (d, n) -> { throw new SmbException("forced exception"); }; Exception e = assertThrows(Exception.class, () -> filter.accept(dir, "any")); assertTrue(e instanceof SmbException); }Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 1.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtCancelTest.java
void testNullConfigurationThrowsException() throws Exception { // Given Constructor<SmbComNtCancel> constructor = SmbComNtCancel.class.getDeclaredConstructor(Configuration.class, int.class); constructor.setAccessible(true); // When & Then InvocationTargetException exception = assertThrows(InvocationTargetException.class, () -> constructor.newInstance(null, 1));
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.8K bytes - Click Count (0) -
src/test/java/org/codelibs/core/convert/TimestampConversionUtilTest.java
@Before public void setUp() throws Exception { LocaleUtil.setDefault(() -> Locale.JAPANESE); } @After public void tearDown() throws Exception { LocaleUtil.setDefault(null); } /** * @throws Exception */ // @Test // public void testToDate_Null() throws Exception { // assertThat(toDate(null, Locale.JAPAN), is(nullValue()));Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 11.4K bytes - Click Count (0) -
src/test/java/jcifs/util/transport/TransportExceptionTest.java
@DisplayName("Test default constructor creates exception with null message") public void testDefaultConstructor() { // Create exception with default constructor TransportException exception = new TransportException(); // Verify the exception is created and has no message assertNotNull(exception); assertNull(exception.getMessage()); assertNull(exception.getCause());Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.4K bytes - Click Count (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java
* </pre> * and check if the {@code -T 3} option can be overwritten via command line * argument. * * @throws Exception in case of failure. */ @Test void testMVNConfigurationThreadCanBeOverwrittenViaCommandLine() throws Exception { System.setProperty( MavenCli.MULTIMODULE_PROJECT_DIRECTORY,Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 30.9K bytes - Click Count (0)