Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 158 for throwable (1.11 sec)

  1. src/main/java/jcifs/smb/SmbTreeConnectionTrace.java

            super(ctx);
        }
    
        SmbTreeConnectionTrace(final SmbTreeConnection conn) {
            super(conn);
        }
    
        @Override
        protected void finalize() throws Throwable {
            checkRelease();
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/exception/SsoMessageException.java

         * @param message The detailed error message
         * @param cause The underlying cause of this exception
         */
        public SsoMessageException(final VaMessenger<FessMessages> messageCode, final String message, final Throwable cause) {
            super(message, cause);
            this.messageCode = messageCode;
        }
    
        /**
         * Constructs a new SSO message exception with message code and detailed message.
         *
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/exception/ClIllegalArgumentException.java

         *            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: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/util/transport/TransportExceptionTest.java

            }
    
            @Test
            @DisplayName("Should handle null root cause")
            void testConstructorWithNullRootCause() {
                TransportException exception = new TransportException((Throwable) null);
    
                assertNotNull(exception);
                assertNull(exception.getRootCause());
            }
    
            @Test
            @DisplayName("Should handle null message with root cause")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/exception/LdapOperationException.java

         *
         * @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.
         *
         * @param message The detail message.
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/util/transport/TransportExceptionTest.java

            assertEquals("java.lang.RuntimeException: Root cause error", exception.getMessage());
    
            // Test with null cause
            TransportException nullCauseException = new TransportException((Throwable) null);
            assertNull(nullCauseException.getCause());
        }
    
        @Test
        @DisplayName("Test constructor with message and cause creates exception with both")
        public void testConstructorWithMessageAndCause() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SecurityBlob.java

                for (int i = 0; i < this.b.length; i++) {
                    if (this.b[i] != t.b[i]) {
                        return false;
                    }
                }
                return true;
            } catch (final Throwable e) {
                return false;
            }
        }
    
        /*
         * (non-Javadoc)
         *
         * @see java.lang.Object#hashCode()
         */
        @Override
        public int hashCode() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/exception/InstantiationRuntimeException.java

            super("ECL0041", asArray(targetClass.getName(), cause), cause);
            this.targetClass = targetClass;
        }
    
        @Override
        public synchronized InstantiationRuntimeException initCause(final Throwable cause) {
            return (InstantiationRuntimeException) super.initCause(cause);
        }
    
        /**
         * Returns the target class.
         *
         * @return Target class
         */
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/exception/SRuntimeExceptionTest.java

            System.out.println(ex.getMessage());
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetCause() throws Exception {
            final Throwable t = new NullPointerException("test");
            final ClRuntimeException ex = new ClRuntimeException("ECL0017", asArray(t), t);
            assertThat(ex.getCause(), is(t));
            ex.printStackTrace();
        }
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/MIENameTest.java

        @ParameterizedTest(name = "{0}")
        @MethodSource("invalidBuffers")
        @DisplayName("Invalid buffers throw appropriate exceptions")
        void invalidInputsThrow(String name, Object bufferSupplierOrBytes, Class<? extends Throwable> expected) {
            // Arrange
            byte[] buf;
            if (bufferSupplierOrBytes instanceof byte[]) {
                buf = (byte[]) bufferSupplierOrBytes;
            } else {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.6K bytes
    - Viewed (0)
Back to top