Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getExceptionTypes (0.06 sec)

  1. src/test/java/jcifs/SmbResourceTest.java

                Method getTypeMethod = SmbResource.class.getMethod("getType");
    
                // When
                Class<?>[] existsExceptions = existsMethod.getExceptionTypes();
                Class<?>[] getTypeExceptions = getTypeMethod.getExceptionTypes();
    
                // Then
                assertEquals(1, existsExceptions.length, "exists() should declare CIFSException");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

      }
    
      /** Determines whether the given method can throw InterruptedException. */
      private static boolean isInterruptible(Method method) {
        return Arrays.asList(method.getExceptionTypes()).contains(InterruptedException.class);
      }
    
      /** Sorts the given methods primarily by name and secondarily by number of parameters. */
      private static void sortMethods(Method[] methods) {
        Arrays.sort(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 27K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/reflect/Invokable.java

        }
        return builder.build();
      }
    
      /** Returns all declared exception types of this {@code Invokable}. */
      public final ImmutableList<TypeToken<? extends Throwable>> getExceptionTypes() {
        ImmutableList.Builder<TypeToken<? extends Throwable>> builder = ImmutableList.builder();
        for (Type type : getGenericExceptionTypes()) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 18.4K bytes
    - Viewed (0)
Back to top