- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 4,853 for Throw (0.05 sec)
-
subprojects/core/src/integTest/groovy/org/gradle/api/ProjectConfigureEventsErrorIntegrationTest.groovy
when: buildFile """ task test project.afterEvaluate { throw new RuntimeException("afterEvaluate failure") } throw new RuntimeException("configure") """ then: fails('test') failure.assertHasFailures(2)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 05 19:36:14 UTC 2023 - 6.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Cut.java
Comparable<?> endpoint() { throw new IllegalStateException("range unbounded on this side"); } @Override boolean isLessThan(Comparable<?> value) { return true; } @Override BoundType typeAsLowerBound() { throw new IllegalStateException(); } @Override BoundType typeAsUpperBound() {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 12.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbSessionImpl.java
} else if ( usage < 0 ) { throw new RuntimeCIFSException("Usage count dropped below zero"); } } /** * @return the sessionKey * @throws CIFSException */ @Override public byte[] getSessionKey () throws CIFSException { if ( this.sessionKey == null ) { throw new CIFSException("No session key available"); }
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sun Nov 14 17:41:04 UTC 2021 - 49K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableCollection.java
public final boolean add(E e) { throw new UnsupportedOperationException(); } public final boolean remove(@Nullable Object object) { throw new UnsupportedOperationException(); } public final boolean addAll(Collection<? extends E> newElements) { throw new UnsupportedOperationException(); } public final boolean removeAll(Collection<?> oldElements) { throw new UnsupportedOperationException(); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jan 23 18:43:40 UTC 2024 - 5K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Verify.java
* assertions are for. Note that assertions are not enabled by default; they are essentially * considered "compiled comments." * <li>An explicit {@code if/throw} (as illustrated below) is always acceptable; we still * recommend using our {@link VerifyException} exception type. Throwing a plain {@link * RuntimeException} is frowned upon.
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon May 17 14:07:47 UTC 2021 - 18.5K bytes - Viewed (0) -
platforms/software/ivy/src/main/java/org/gradle/api/publish/ivy/internal/artifact/NormalizedIvyArtifact.java
throw new IllegalStateException(); } @Override public File getFile() { return file; } @Override public void builtBy(Object... tasks) { throw new IllegalStateException(); } @Nonnull @Override public TaskDependency getBuildDependencies() { throw new IllegalStateException(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 14:02:46 UTC 2023 - 3.1K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/ProcessFixture.groovy
void kill(boolean killTree) { println "Killing process with pid: $pid" if (pid == null) { throw new RuntimeException("Unable to force kill the process because provided pid is null!") } if (!(OperatingSystem.current().unix || OperatingSystem.current().windows)) { throw new RuntimeException("This implementation does not know how to forcefully kill a process on os: " + OperatingSystem.current())
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 5.6K bytes - Viewed (0) -
platforms/core-runtime/logging/src/main/java/org/gradle/util/GFileUtils.java
} catch (IOException e) { throw new UncheckedIOException(e); } } public static void copyDirectory(File source, File destination) { logDeprecation(); try { FileUtils.copyDirectory(source, destination); } catch (IOException e) { throw new UncheckedIOException(e); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 10:50:51 UTC 2024 - 13.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/Cut.java
Comparable<?> endpoint() { throw new IllegalStateException("range unbounded on this side"); } @Override boolean isLessThan(Comparable<?> value) { return true; } @Override BoundType typeAsLowerBound() { throw new IllegalStateException(); } @Override BoundType typeAsUpperBound() {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 12.3K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/ModelReferenceNode.java
throw new UnsupportedOperationException(); } @Override public <T> void addReference(String name, ModelType<T> type, ModelNode target, ModelRuleDescriptor ruleDescriptor) { throw new UnsupportedOperationException(); } @Override public void removeLink(String name) { throw new UnsupportedOperationException(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 8.3K bytes - Viewed (0)