Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 178 for PauseNs (0.07 seconds)

  1. src/test/java/org/codelibs/fess/exception/StorageExceptionTest.java

            assertEquals(message, exception.getMessage());
        }
    
        @Test
        public void test_differentCauseTypes() {
            // Test with different types of causes
            StorageException exception1 = new StorageException("IO Error", new java.io.IOException("File not found"));
            assertTrue(exception1.getCause() instanceof java.io.IOException);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingException.java

         *
         * @param model The model that could not be built, may be {@code null}.
         * @param modelId The identifier of the model that could not be built, may be {@code null}.
         * @param problems The problems that causes this exception, may be {@code null}.
         * @deprecated Use {@link #ModelBuildingException(ModelBuildingResult)} instead.
         */
        @Deprecated
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb2/session/Smb2LogoffResponseTest.java

                // Act & Assert
                assertThrows(NullPointerException.class, () -> resp.readBytesWireFormat(null, 0));
            }
    
            @Test
            @DisplayName("Insufficient buffer causes ArrayIndexOutOfBoundsException")
            void shortBuffer_throwsAIOOBE() {
                // Arrange: length 1 means readInt2 will access index 1 and fail
                byte[] buffer = new byte[1];
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  4. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/MojoExecutionException.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.plugin;
    
    /**
     * An exception occurring during the execution of a plugin.<br>
     * Throwing this exception causes a "BUILD ERROR" message to be displayed.
     *
     */
    public class MojoExecutionException extends AbstractMojoExecutionException {
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.8K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/exception/ScriptEngineExceptionTest.java

            // Verify stack trace exists
            StackTraceElement[] stackTrace = exception.getStackTrace();
            assertNotNull(stackTrace);
            assertTrue(stackTrace.length > 0);
    
            // Verify cause's stack trace is also available
            StackTraceElement[] causeStackTrace = exception.getCause().getStackTrace();
            assertNotNull(causeStackTrace);
            assertTrue(causeStackTrace.length > 0);
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/exception/GsaConfigExceptionTest.java

            GsaConfigException exception = new GsaConfigException(message, cause);
    
            assertNotNull(exception.getStackTrace());
            assertTrue(exception.getStackTrace().length > 0);
    
            // Verify cause's stack trace is also preserved
            assertNotNull(exception.getCause().getStackTrace());
            assertTrue(exception.getCause().getStackTrace().length > 0);
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  7. guava/src/com/google/common/cache/AbstractCache.java

         * @param count the number of misses to record
         * @since 11.0
         */
        void recordMisses(int count);
    
        /**
         * Records the successful load of a new entry. This should be called when a cache request causes
         * an entry to be loaded, and the loading completes successfully. In contrast to {@link
         * #recordMisses}, this method should only be called by the loading thread.
         *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 12:40:22 GMT 2026
    - 9.2K bytes
    - Click Count (0)
  8. src/test/java/jcifs/dcerpc/DcerpcExceptionTest.java

         */
        @Test
        void testGetMessageByDcerpcError_largerThanAny() {
            int unknownCode = 0x7FFFFFFF; // Max int value
    
            // The current implementation has a bug in the binary search that causes ArrayIndexOutOfBoundsException
            assertThrows(ArrayIndexOutOfBoundsException.class, () -> {
                DcerpcException.getMessageByDcerpcError(unknownCode);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  9. src/test/java/jcifs/EncodableTest.java

                    "System.arraycopy should throw for insufficient destination space");
        }
    
        @Test
        @DisplayName("encode() throws when dstIndex causes overflow")
        void encodeThrowsWhenDstIndexCausesOverflow() {
            byte[] src = makeSeq(5);
            Encodable enc = new ByteEncodable(src, 0, 5);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/exception/FessSystemExceptionTest.java

            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()));
            assertTrue(exception.getMessage().contains("Cause exception"));
        }
    
        @Test
    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)
Back to Top