- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 1,496 for Throw (0.07 sec)
-
testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/TestFile.java
} catch (IOException e) { throw new RuntimeException(String.format("Could not canonicalise '%s'.", current), e); } } public TestFile file(Object... path) { try { return new TestFile(this, path); } catch (RuntimeException e) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 18:31:52 UTC 2024 - 30.3K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/DefaultFileLockManager.java
if (options.getMode() == LockMode.OnDemand) { throw new UnsupportedOperationException(String.format("No %s mode lock implementation available.", options)); } File canonicalTarget; try { canonicalTarget = target.getCanonicalFile(); } catch (IOException e) { throw new UncheckedIOException(e); } if (!lockedFiles.add(canonicalTarget)) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 16:02:32 UTC 2024 - 22.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/AssertionUtil.java
public static void assertArgumentArrayIndex(final String argName, final int argValue, final int arraySize) { if (argValue < 0) { throw new ClIllegalArgumentException(argName, "ECL0014", asArray(argName)); } if (argValue >= arraySize) { throw new ClIllegalArgumentException(argName, "ECL0015", asArray(argName, arraySize)); } } /** * 引数が不正でないことを表明します。 *
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 12.5K bytes - Viewed (0) -
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) -
src/main/java/jcifs/smb/SmbTreeImpl.java
case SmbComTransaction.TRANS2_GET_DFS_REFERRAL: break; default: throw new SmbException("Invalid operation for " + svc + " service: " + request); } break; default: throw new SmbException("Invalid operation for " + svc + " service" + request); } } }
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Thu Jan 05 13:06:39 UTC 2023 - 29.6K bytes - Viewed (0) -
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) -
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) -
guava/src/com/google/common/collect/ImmutableRangeMap.java
throw new UnsupportedOperationException(); } /** * Guaranteed to throw an exception and leave the {@code RangeMap} unmodified. * * @throws UnsupportedOperationException always * @deprecated Unsupported operation. */ @Deprecated @Override @DoNotCall("Always throws UnsupportedOperationException") public final void remove(Range<K> range) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sat May 04 14:31:50 UTC 2024 - 14.8K bytes - Viewed (0) -
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) -
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)