Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 46 for InvocationTargetException (0.36 sec)

  1. android/guava/src/com/google/common/eventbus/Subscriber.java

              } catch (InvocationTargetException e) {
                bus.handleSubscriberException(e.getCause(), context(event));
              }
            });
      }
    
      /**
       * Invokes the subscriber method. This method can be overridden to make the invocation
       * synchronized.
       */
      @VisibleForTesting
      void invokeSubscriberMethod(Object event) throws InvocationTargetException {
        try {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Oct 06 00:47:57 GMT 2021
    - 4.7K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/platform/Jdk8WithJettyBootPlatform.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.platform
    
    import java.lang.reflect.InvocationHandler
    import java.lang.reflect.InvocationTargetException
    import java.lang.reflect.Method
    import java.lang.reflect.Proxy
    import javax.net.ssl.SSLSocket
    import okhttp3.Protocol
    
    /** OpenJDK 8 with `org.mortbay.jetty.alpn:alpn-boot` in the boot class path. */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/platform/android/AndroidSocketAdapter.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.platform.android
    
    import android.os.Build
    import java.lang.reflect.InvocationTargetException
    import java.lang.reflect.Method
    import javax.net.ssl.SSLSocket
    import okhttp3.Protocol
    import okhttp3.internal.platform.AndroidPlatform
    import okhttp3.internal.platform.Platform
    
    /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/exception/InvocationTargetRuntimeException.java

     */
    package org.codelibs.core.exception;
    
    import static org.codelibs.core.collection.ArrayUtil.asArray;
    
    import java.lang.reflect.InvocationTargetException;
    
    /**
     * {@link InvocationTargetException}をラップする例外です。
     *
     * @author higa
     */
    public class InvocationTargetRuntimeException extends ClRuntimeException {
    
        private static final long serialVersionUID = 7760491787158046906L;
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ForwardingMapTest.java

            try {
              method.invoke(object, args);
            } catch (InvocationTargetException ex) {
              try {
                throw ex.getCause();
              } catch (UnsupportedOperationException unsupported) {
                // this is a legit exception
              }
            }
          } catch (Throwable cause) {
            throw new InvocationTargetException(cause, method + " with args: " + Arrays.toString(args));
          }
        }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 12.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ForwardingMapTest.java

            try {
              method.invoke(object, args);
            } catch (InvocationTargetException ex) {
              try {
                throw ex.getCause();
              } catch (UnsupportedOperationException unsupported) {
                // this is a legit exception
              }
            }
          } catch (Throwable cause) {
            throw new InvocationTargetException(cause, method + " with args: " + Arrays.toString(args));
          }
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 12.7K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/testing/ClassSanityTester.java

       *     class, preventing its methods from being accessible.
       * @throws InvocationTargetException if a static method threw exception.
       */
      private <T> @Nullable T instantiate(Invokable<?, ? extends T> factory)
          throws ParameterNotInstantiableException, InvocationTargetException, IllegalAccessException {
        return invoke(factory, getDummyArguments(factory));
      }
    
      /**
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 33K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/eventbus/SubscriberTest.java

        Method method = getTestSubscriberMethod("exceptionThrowingMethod");
        Subscriber subscriber = Subscriber.create(bus, this, method);
    
        InvocationTargetException expected =
            assertThrows(
                InvocationTargetException.class,
                () -> subscriber.invokeSubscriberMethod(FIXTURE_ARGUMENT));
        assertThat(expected).hasCauseThat().isInstanceOf(IntentionalException.class);
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/base/PreconditionsTest.java

          checkArgumentMethod.invoke(null /* static method */, getParametersForSignature(true, sig));
    
          Object[] failingParams = getParametersForSignature(false, sig);
          InvocationTargetException ite =
              assertThrows(
                  InvocationTargetException.class,
                  () -> checkArgumentMethod.invoke(null /* static method */, failingParams));
          assertFailureCause(ite.getCause(), IllegalArgumentException.class, failingParams);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 19.8K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/session/scope/internal/SessionScope.java

     * under the License.
     */
    package org.apache.maven.session.scope.internal;
    
    import java.lang.annotation.Annotation;
    import java.lang.reflect.InvocationHandler;
    import java.lang.reflect.InvocationTargetException;
    import java.util.Collection;
    import java.util.List;
    import java.util.Map;
    import java.util.concurrent.ConcurrentHashMap;
    import java.util.concurrent.CopyOnWriteArrayList;
    import java.util.stream.Collectors;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Apr 23 12:52:20 GMT 2024
    - 6.8K bytes
    - Viewed (0)
Back to top