Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 211 - 220 of 465 for getClass (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. impl/maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java

                        reference = exception.getClass().getSimpleName();
                    }
                } else if (exception instanceof LifecycleExecutionException) {
                    reference = getReference(dejaVu, exception.getCause());
                } else if (isNoteworthyException(exception)) {
                    reference = exception.getClass().getSimpleName();
                }
            }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/exception/ThemeExceptionTest.java

                assertEquals(expectedMessage, e.getMessage());
                assertNull(e.getCause());
            } catch (Exception e) {
                fail("Should have caught ThemeException, but caught: " + e.getClass());
            }
        }
    
        @Test
        public void test_throwAndCatchWithCause() {
            // Test throwing and catching exception with cause
            String expectedMessage = "Theme validation failed";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 8.4K bytes
    - Click Count (0)
  3. src/main/java/jcifs/util/ResourceManager.java

            volatile boolean closed;
    
            ResourceHolder(String resourceId, AutoCloseable resource, ReferenceQueue<AutoCloseable> queue) {
                this.resourceId = resourceId;
                this.resourceType = resource.getClass().getSimpleName();
                this.resourceRef = new WeakReference<>(resource);
                this.phantomRef = new PhantomReference<>(resource, queue);
                this.creationTime = System.currentTimeMillis();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 16.2K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/helper/PermissionHelper.java

                            final UserPrincipal principal = acl.principal();
                            if (logger.isDebugEnabled()) {
                                logger.debug("Principal: [{}] {}", principal.getClass().getName(), principal);
                            }
                            if (principal instanceof final GroupPrincipal groupPrincipal) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 13 05:54:52 GMT 2025
    - 15.4K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/transform/RestTestTransform.java

         */
        default boolean shouldApply(RestTestContext testContext) {
            return true;
        }
    
        @Override
        @Input
        default String getName() {
            return this.getClass().getCanonicalName();
        }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 1.2K bytes
    - Click Count (0)
  6. guava-testlib/src/com/google/common/testing/SerializableTester.java

      @CanIgnoreReturnValue
      public static <T> T reserializeAndAssert(T object) {
        T copy = reserialize(object);
        new EqualsTester().addEqualityGroup(object, copy).testEquals();
        Assert.assertEquals(object.getClass(), copy.getClass());
        return copy;
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 4.1K bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponse.java

            if (out == null) {
                throw new SmbException("Failed to decode output data");
            }
    
            if (!responseType.isAssignableFrom(out.getClass())) {
                throw new SmbException("Incompatible response data " + out.getClass());
            }
            return (T) out;
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb1/com/SmbComNegotiateResponseTest.java

        }
    
        // Helper method to set protected byteCount field using reflection
        private void setByteCount(SmbComNegotiateResponse response, int byteCount) {
            try {
                Field field = response.getClass().getSuperclass().getDeclaredField("byteCount");
                field.setAccessible(true);
                field.set(response, byteCount);
            } catch (Exception e) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/Platform.java

       * for insertions.
       */
      static <E extends @Nullable Object> Set<E> preservesInsertionOrderOnAddsSet() {
        return CompactHashSet.create();
      }
    
      /** Equivalent to Arrays.copyOfRange(source, from, to, arrayOfType.getClass()). */
      /*
       * Arrays are a mess from a nullness perspective, and Class instances for object-array types are
       * even worse. For now, we just suppress and move on with our lives.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Jan 23 17:16:53 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/Platform.java

       * for insertions.
       */
      static <E extends @Nullable Object> Set<E> preservesInsertionOrderOnAddsSet() {
        return CompactHashSet.create();
      }
    
      /** Equivalent to Arrays.copyOfRange(source, from, to, arrayOfType.getClass()). */
      /*
       * Arrays are a mess from a nullness perspective, and Class instances for object-array types are
       * even worse. For now, we just suppress and move on with our lives.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Jan 23 17:16:53 GMT 2026
    - 4.7K bytes
    - Click Count (0)
Back to Top