Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 1,571 for cause (0.03 sec)

  1. src/main/java/org/codelibs/core/exception/ClIllegalArgumentException.java

         *            Message code
         * @param args
         *            Array of arguments
         * @param cause
         *            The cause of the exception
         */
        public ClIllegalArgumentException(final String argName, final String messageCode, final Object[] args, final Throwable cause) {
            super(MessageFormatter.getMessage(messageCode, args), cause);
            this.argName = argName;
            this.messageCode = messageCode;
            this.args = args;
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

          Throwable cause, Class<X> exceptionClass) throws X {
        if (cause instanceof Error) {
          throw new ExecutionError((Error) cause);
        }
        if (cause instanceof RuntimeException) {
          throw new UncheckedExecutionException(cause);
        }
        throw newWithCause(exceptionClass, cause);
      }
    
      /*
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbExceptionTest.java

        }
    
        @Test
        @DisplayName("Should create SmbException with cause")
        void testSmbExceptionWithCause() {
            // Given
            Exception cause = new RuntimeException("Root cause");
            String message = "SMB operation failed";
    
            // When
            SmbException exception = new SmbException(message, cause);
    
            // Then
            assertNotNull(exception);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  4. android-test/src/test/kotlin/okhttp/android/test/NonRobolectricOkHttpClientTest.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     *
     */
    package okhttp.android.test
    
    import assertk.all
    import assertk.assertFailure
    import assertk.assertions.cause
    import assertk.assertions.hasClass
    import assertk.assertions.hasMessage
    import assertk.assertions.isNotNull
    import java.io.IOException
    import org.junit.Test
    import org.junit.runner.RunWith
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/exception/LdapOperationException.java

        /**
         * Constructs a new LDAP operation exception with the specified detail message and cause.
         *
         * @param message The detail message.
         * @param cause The cause.
         */
        public LdapOperationException(final String message, final Throwable cause) {
            super(message, cause);
        }
    
        /**
         * Constructs a new LDAP operation exception with the specified detail message.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/exception/InvocationTargetRuntimeException.java

         *
         * @param targetClass
         *            Target class
         * @param cause
         *            The cause of the exception
         */
        public InvocationTargetRuntimeException(final Class<?> targetClass, final InvocationTargetException cause) {
            super("ECL0043", asArray(targetClass.getName(), cause.getTargetException()), cause.getTargetException());
            this.targetClass = targetClass;
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbException.java

         *
         * @return the NT status code
         */
        public int getNtStatus() {
            return status;
        }
    
        /**
         * Returns the root cause of this exception if one exists
         *
         * @return the root cause throwable, or null if none exists
         */
        public Throwable getRootCause() {
            return rootCause;
        }
    
        @Override
        public String toString() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/exception/ServletRuntimeExceptionTest.java

        }
    
        public void test_constructor_withServletExceptionWithCause() {
            // Create a root cause exception
            String rootCauseMessage = "Root cause error";
            Exception rootCause = new Exception(rootCauseMessage);
    
            // Create a ServletException with the root cause
            String servletErrorMessage = "Servlet error with cause";
            ServletException servletException = new ServletException(servletErrorMessage, rootCause);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/MultiChannelManagerBasicTest.java

            });
    
            // Check that the root cause is CIFSException
            assertTrue(exception instanceof java.lang.reflect.InvocationTargetException);
            Throwable cause = ((java.lang.reflect.InvocationTargetException) exception).getCause();
            assertTrue(cause instanceof CIFSException);
            assertTrue(cause.getMessage().contains("Failed to create multi-channel transport"));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SMBSignatureValidationException.java

         */
        public SMBSignatureValidationException() {
        }
    
        /**
         * Constructs an SMB signature validation exception with message and cause.
         *
         * @param msg the detail message describing the validation failure
         * @param rootCause the underlying cause of the validation failure
         */
        public SMBSignatureValidationException(final String msg, final Throwable rootCause) {
            super(msg, rootCause);
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.9K bytes
    - Viewed (0)
Back to top