Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 29 for getMethodName (0.09 seconds)

  1. src/test/java/org/codelibs/curl/CurlExceptionTest.java

            StackTraceElement[] stackTrace = exception.getStackTrace();
    
            assertNotNull(stackTrace);
            assertTrue(stackTrace.length > 0);
            assertEquals("testStackTrace", stackTrace[0].getMethodName());
        }
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Thu Jul 31 01:01:12 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/core/exception/MethodNotStaticRuntimeException.java

         */
        public Class<?> getTargetClass() {
            return targetClass;
        }
    
        /**
         * Returns the method name.
         *
         * @return Method name
         */
        public String getMethodName() {
            return methodName;
        }
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Jul 05 00:11:05 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/core/exception/MethodNotFoundRuntimeException.java

         */
        public Class<?> getTargetClass() {
            return targetClass;
        }
    
        /**
         * Returns the method name.
         *
         * @return Method name
         */
        public String getMethodName() {
            return methodName;
        }
    
        /**
         * Returns the array of {@link Class} for the method arguments.
         *
         * @return Array of {@link Class} for the method arguments
         */
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Jul 05 00:11:05 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/core/exception/NoSuchMethodRuntimeException.java

         */
        public Class<?> getTargetClass() {
            return targetClass;
        }
    
        /**
         * Returns the method name.
         *
         * @return the method name
         */
        public String getMethodName() {
            return methodName;
        }
    
        /**
         * Returns the argument types.
         *
         * @return the argument types
         */
        public Class<?>[] getArgTypes() {
            return argTypes;
        }
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Jul 05 00:11:05 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/dict/DictionaryExpiredExceptionTest.java

            assertNotNull(stackTrace);
            assertTrue(stackTrace.length > 0);
    
            // First element should be from this test method
            assertEquals("test_stackTrace", stackTrace[0].getMethodName());
            assertEquals(this.getClass().getName(), stackTrace[0].getClassName());
        }
    
        @Test
        public void test_multipleCatches() {
            // Test with multiple catch blocks
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/exception/DataStoreExceptionTest.java

            assertNotNull(stackTrace);
            assertTrue(stackTrace.length > 0);
            // The first element should be from this test method
            assertEquals("test_stackTrace", stackTrace[0].getMethodName());
        }
    
        @Test
        public void test_serialization() {
            // Test that the exception has proper serialVersionUID
            DataStoreException exception = new DataStoreException("Serialization test");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        assertThat(e.getStackTrace()[index - 1].getMethodName()).isEqualTo("get");
      }
    
      private static int findStackFrame(ExecutionException e, String clazz, String method) {
        StackTraceElement[] elements = e.getStackTrace();
        for (int i = 0; i < elements.length; i++) {
          StackTraceElement element = elements[i];
          if (element.getClassName().equals(clazz) && element.getMethodName().equals(method)) {
            return i;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 45.2K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        assertThat(e.getStackTrace()[index - 1].getMethodName()).isEqualTo("get");
      }
    
      private static int findStackFrame(ExecutionException e, String clazz, String method) {
        StackTraceElement[] elements = e.getStackTrace();
        for (int i = 0; i < elements.length; i++) {
          StackTraceElement element = elements[i];
          if (element.getClassName().equals(clazz) && element.getMethodName().equals(method)) {
            return i;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 45.2K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/opensearch/client/SearchEngineClientExceptionTest.java

            // Verify the stack trace contains this test method
            boolean foundTestMethod = false;
            for (StackTraceElement element : exception.getStackTrace()) {
                if (element.getMethodName().equals("test_stackTrace")) {
                    foundTestMethod = true;
                    break;
                }
            }
            assertTrue(foundTestMethod);
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/dict/DictionaryExceptionTest.java

            // Verify that the stack trace contains this test method
            boolean foundTestMethod = false;
            for (StackTraceElement element : exception.getStackTrace()) {
                if (element.getMethodName().equals("test_stackTrace") && element.getClassName().equals(this.getClass().getName())) {
                    foundTestMethod = true;
                    break;
                }
            }
            assertTrue(foundTestMethod);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 6.5K bytes
    - Click Count (0)
Back to Top