Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 4,853 for Throw (0.05 sec)

  1. platforms/jvm/testing-jvm/src/main/java/org/gradle/api/internal/tasks/testing/detection/JarFilePackageLister.java

            if (jarFile == null) {
                throw new IllegalArgumentException("jarFile is null!");
            }
    
            final String jarFileAbsolutePath = jarFile.getAbsolutePath();
    
            if (!jarFile.exists()) {
                throw new IllegalArgumentException("jarFile doesn't exists! (" + jarFileAbsolutePath + ")");
            }
            if (!jarFile.isFile()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  2. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/modelreader/impl/AnnotationCallInterceptionRequestReaderImpl.java

                if (nameAnnotation != null) {
                    throw new Failure("@" + CallableKind.AfterConstructor.class.getSimpleName() + " cannot be used with @" + CallableDefinition.Name.class.getSimpleName());
                }
                if (nameFromPattern != null) {
                    throw new Failure("Constructor interceptors cannot follow the 'intercept_*' name pattern");
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 15 09:48:42 UTC 2023
    - 13K bytes
    - Viewed (0)
  3. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/inet/TcpOutgoingConnector.java

                }
                throw new org.gradle.internal.remote.internal.ConnectException(String.format("Could not connect to server %s. Tried addresses: %s.",
                        destinationAddress, candidateAddresses), lastFailure);
            } catch (org.gradle.internal.remote.internal.ConnectException e) {
                throw e;
            } catch (Exception e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/connection/UnsupportedOlderVersionConnection.java

            throw unsupported();
        }
    
        @Override
        public void runTests(TestExecutionRequest testExecutionRequest, ConsumerOperationParameters operationParameters) {
            throw unsupported();
        }
    
        @Override
        public void notifyDaemonsAboutChangedPaths(List<String> changedPaths, ConsumerOperationParameters operationParameters) {
            throw unsupported();
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  5. platforms/jvm/normalization-java/src/test/groovy/org/gradle/internal/normalization/java/ApiClassExtractorTestSupport.groovy

                return
            }
            throw new AssertionError("Should not have found method $name(${Arrays.toString(argTypes)}) on class $c")
        }
    
        protected static Method hasMethod(Class c, String name, Class... argTypes) {
            try {
                c.getDeclaredMethod(name, argTypes)
            } catch (NoSuchMethodException ex) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  6. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitTestFailureIntegrationTest.groovy

                        // Exception's toString() throws an exception
                        throw new BrokenRuntimeException();
                    }
    
                    private static class BrokenRuntimeException extends RuntimeException {
                        @Override
                        public String toString() {
                            throw new UnsupportedOperationException();
                        }
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 18K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/ByteStreams.java

          } catch (EOFException e) {
            throw new IllegalStateException(e);
          } catch (IOException impossible) {
            throw new AssertionError(impossible);
          }
        }
    
        @Override
        public int readUnsignedByte() {
          try {
            return input.readUnsignedByte();
          } catch (IOException e) {
            throw new IllegalStateException(e);
          }
        }
    
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jan 17 18:59:58 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  8. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/event/AbstractBroadcastDispatch.java

            } catch (UncheckedException e) {
                throw new ListenerNotificationException(invocation, getErrorMessage(), Collections.singletonList(e.getCause()));
            } catch (BuildOperationInvocationException e) {
                throw new ListenerNotificationException(invocation, getErrorMessage(), Collections.singletonList(e.getCause()));
            } catch (RuntimeException t) {
                throw t;
            } catch (Throwable t) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt

        val length =
          when {
            length0 == 0b1000_0000 -> {
              throw ProtocolException("indefinite length not permitted for DER")
            }
            (length0 and 0b1000_0000) == 0b1000_0000 -> {
              // Length specified over multiple bytes.
              val lengthBytes = length0 and 0b0111_1111
              if (lengthBytes > 8) {
                throw ProtocolException("length encoded with more than 8 bytes is not supported")
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/io/ByteStreams.java

          } catch (EOFException e) {
            throw new IllegalStateException(e);
          } catch (IOException impossible) {
            throw new AssertionError(impossible);
          }
        }
    
        @Override
        public int readUnsignedByte() {
          try {
            return input.readUnsignedByte();
          } catch (IOException e) {
            throw new IllegalStateException(e);
          }
        }
    
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jan 17 18:59:58 UTC 2024
    - 29.7K bytes
    - Viewed (0)
Back to top