- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 683 for Cause (0.22 seconds)
-
src/main/java/org/codelibs/core/exception/IllegalPropertyRuntimeException.java
* @param propertyName * Property name * @param cause * The cause of the exception */ public IllegalPropertyRuntimeException(final Class<?> targetClass, final String propertyName, final Throwable cause) { super("ECL0059", asArray(targetClass.getName(), propertyName, cause), cause); this.targetClass = targetClass; this.propertyName = propertyName; }Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat Jul 05 00:11:05 GMT 2025 - 2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/StorageExceptionTest.java
// Test constructor with message and cause String message = "Storage operation failed"; Exception cause = new RuntimeException("Underlying error"); StorageException exception = new StorageException(message, cause); assertNotNull(exception); assertEquals(message, exception.getMessage()); assertEquals(cause, exception.getCause()); } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 7.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/SMBSignatureValidationExceptionTest.java
@DisplayName("Message+Cause ctor: propagates message/cause and unsuccessful status") void messageAndCauseConstructor_setsMessageCause_andUnsuccessfulStatus(String msg) { // Arrange Throwable cause = new IllegalStateException("root cause"); // Act SMBSignatureValidationException ex = new SMBSignatureValidationException(msg, cause); // Assert if (msg == null) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.3K bytes - Click Count (0) -
src/test/java/jcifs/CIFSExceptionTest.java
assertEquals(cause, exception.getCause()); } @Test @DisplayName("Should create CIFSException with cause only") void testCIFSExceptionWithCauseOnly() { // Given Exception cause = new RuntimeException("Root cause"); // When CIFSException exception = new CIFSException(cause); // Then assertNotNull(exception); assertEquals(cause, exception.getCause());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.5K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Throwables.java
} /** * Gets a {@code Throwable} cause chain as a list. The first entry in the list will be {@code * throwable} followed by its cause hierarchy. Note that this is a snapshot of the cause chain and * will not reflect any subsequent changes to the cause chain. * * <p>Here's an example of how it can be used to find specific types of exceptions in the cause * chain: * * <pre>Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 20.6K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbAuthExceptionTest.java
return Stream.of(Arguments.of((String) null), Arguments.of("")); } /** * Validate message+cause constructor and that no interaction with cause occurs during construction. */ @Test @DisplayName("String+Throwable ctor: sets message, cause and unsuccessful status") void messageAndCauseConstructor_setsFields(@Mock Throwable mockCause) { // Arrange
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/ContainerNotAvailableExceptionTest.java
// Test constructor with null component name and valid cause Throwable cause = new RuntimeException("Test cause"); ContainerNotAvailableException exception = new ContainerNotAvailableException(null, cause); assertEquals("null is not available.", exception.getMessage()); assertEquals(cause, exception.getCause()); assertNull(exception.getComponentName()); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 10.1K bytes - Click Count (0) -
src/test/java/jcifs/RuntimeCIFSExceptionTest.java
@Test @DisplayName("Should provide correct cause for constructor with cause only") void testCauseOnlyConstructorMessage() { // Given RuntimeException cause = new RuntimeException("Specific cause message"); // When RuntimeCIFSException exception = new RuntimeCIFSException(cause); // Then assertEquals(cause, exception.getCause());Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/FessSystemExceptionTest.java
// Test constructor with cause only Throwable cause = new IllegalArgumentException("Cause exception"); FessSystemException exception = new FessSystemException(cause); assertEquals(cause, exception.getCause()); // When constructed with cause only, message contains the cause's toString() assertTrue(exception.getMessage().contains(cause.getClass().getName()));Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 7.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/exception/InvalidQueryException.java
* * @param messageCode the message code for localized error messages * @param message the detailed error message * @param cause the cause of the exception */ public InvalidQueryException(final VaMessenger<FessMessages> messageCode, final String message, final Throwable cause) { super(message, cause); this.messageCode = messageCode; }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 2.3K bytes - Click Count (0)