- Sort Score
- Result 10 results
- Languages All
Results 421 - 430 of 2,450 for exceptions (0.65 sec)
-
impl/maven-core/src/main/java/org/apache/maven/internal/aether/LoggingRepositoryListener.java
public void metadataInvalid(RepositoryEvent event) { Exception exception = event.getException(); Object metadata; if (event.getMetadata().getFile() != null) { metadata = event.getMetadata().getFile(); } else { metadata = event.getMetadata(); } String errorType = " is invalid"; if (exception instanceof FileNotFoundException) {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/index/SuggestIndexResponseTest.java
assertEquals(0, response.getErrors().size()); } @Test public void test_constructorWithErrors() throws Exception { List<Throwable> errors = new ArrayList<>(); errors.add(new Exception("Test error 1")); errors.add(new Exception("Test error 2")); SuggestIndexResponse response = new SuggestIndexResponse(10, 5, errors, 100); assertNotNull(response);
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Thu Nov 13 00:40:54 UTC 2025 - 4.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequestTest.java
runner.ensureYellow(); } @AfterClass public static void afterClass() throws Exception { runner.close(); runner.clean(); } @Before public void before() throws Exception { runner.admin().indices().prepareDelete("_all").execute().actionGet(); runner.refresh();
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 6.9K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcExceptionTest.java
DcerpcException exception = new DcerpcException(message, cause); assertEquals(0, exception.getErrorCode(), "Error code should be 0 for message and cause constructor."); assertEquals(message, exception.getMessage(), "Message should match the input."); assertEquals(cause, exception.getCause(), "Cause should match the input.");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java
when(response.getHeaderStart()).thenReturn(0); SMBProtocolDecodingException exception = assertThrows(SMBProtocolDecodingException.class, () -> response.readBytesWireFormat(buffer, bufferIndex), "Should throw exception for unknown quota info class"); assertTrue(exception.getMessage().contains("Unknown quota info class")); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.5K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacCredentialTypeTest.java
* Tests the constructor with a null byte array, which should throw an exception. */ @Test void testConstructorWithNullData() { // A null byte array should cause a PACDecodingException. PACDecodingException exception = assertThrows(PACDecodingException.class, () -> new PacCredentialType(null)); assertEquals("Invalid PAC credential type", exception.getMessage()); } /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.9K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java
} public void testNoEqualsChecksOnEnum() throws Exception { tester.testEquals(OneConstantEnum.class); tester.testEquals(NoConstantEnum.class); tester.testEquals(TimeUnit.class); } public void testNoEqualsChecksOnInterface() throws Exception { tester.testEquals(Runnable.class); } public void testNoEqualsChecksOnAnnotation() throws Exception { tester.testEquals(MyAnnotation.class); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 36.3K bytes - Viewed (0) -
src/test/java/org/codelibs/core/text/TokenizerTest.java
* */ public class TokenizerTest { /** * @throws Exception */ @Test public void testEOF() throws Exception { final Tokenizer tokenizer = new Tokenizer(""); assertThat(tokenizer.nextToken(), is(Tokenizer.TT_EOF)); assertThat(tokenizer.nextToken(), is(Tokenizer.TT_EOF)); } /** * @throws Exception */ @TestRegistered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 2K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/PropertiesUtilTest.java
import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.Writer; import java.net.URL; import java.util.Properties; import org.codelibs.core.exception.IORuntimeException; import org.codelibs.core.exception.NullArgumentException; import org.codelibs.core.net.URLUtil; import org.junit.Rule; import org.junit.Test; import org.junit.rules.ExpectedException; import org.junit.rules.TemporaryFolder;
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 9.6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/misc/Base64UtilTest.java
/** * @throws Exception */ public void testEncode() throws Exception { assertEquals("1", ENCODED_DATA, Base64Util.encode(BINARY_DATA)); System.out.println(Base64Util.encode(new byte[] { 'a', 'b', 'c' })); } /** * @throws Exception */ public void testDecode() throws Exception { final byte[] decodedData = Base64Util.decode(ENCODED_DATA);Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 6K bytes - Viewed (0)