Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 3,884 for Throw (0.05 sec)

  1. src/main/java/jcifs/pac/ASN1Util.java

            {
                int b = s.read();
                if (b < 31)
                {
                    if (b < 0)
                    {
                        throw new EOFException("EOF found inside tag value.");
                    }
                    throw new IOException("corrupted stream - high tag number < 31 found");
                }
    
                tagNo = b & 0x7f;
    
                // X.690-0207 8.1.2.4.2
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Mon Oct 02 12:02:06 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  2. src/runtime/os_aix.go

    			throw("sem_timedwait")
    		}
    		return 0
    	}
    	for {
    		r1, err := sem_wait((*semt)(unsafe.Pointer(mp.waitsema)))
    		if r1 == 0 {
    			break
    		}
    		if err == _EINTR {
    			continue
    		}
    		throw("sem_wait")
    	}
    	return 0
    }
    
    //go:nosplit
    func semawakeup(mp *m) {
    	if sem_post((*semt)(unsafe.Pointer(mp.waitsema))) != 0 {
    		throw("sem_post")
    	}
    }
    
    func osinit() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  3. platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/GFileUtils.java

            } catch (IOException e) {
                throw new UncheckedIOException("Could not update timestamp for " + file, e);
            } finally {
                IoActions.closeQuietly(out);
            }
        }
    
        public static void moveFile(File source, File destination) {
            try {
                FileUtils.moveFile(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
    - 10.8K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Reader.kt

        length: Int,
        flags: Int,
        streamId: Int,
      ) {
        if (length != 4) throw IOException("TYPE_RST_STREAM length: $length != 4")
        if (streamId == 0) throw IOException("TYPE_RST_STREAM streamId == 0")
        val errorCodeInt = source.readInt()
        val errorCode =
          ErrorCode.fromHttp2(errorCodeInt) ?: throw IOException(
            "TYPE_RST_STREAM unexpected error code: $errorCodeInt",
          )
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  5. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/DaemonStateCoordinator.java

                    case Stopped:
                    case ForceStopped:
                        throw new DaemonStoppedException(stopReason);
                    case Broken:
                        throw new DaemonUnavailableException("This daemon is broken and will stop.");
                    default:
                        throw new IllegalStateException("Daemon is in unexpected state: " + state);
                }
            } finally {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:38 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  6. platforms/core-runtime/stdlib-java-extensions/src/main/java/org/gradle/internal/UncheckedException.java

            }
            if (t instanceof RuntimeException) {
                throw (RuntimeException) t;
            }
            if (t instanceof Error) {
                throw (Error) t;
            }
            if (t instanceof IOException) {
                if (preserveMessage) {
                    throw new UncheckedIOException(t.getMessage(), t);
                } else {
                    throw new UncheckedIOException(t);
                }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. subprojects/core/src/testFixtures/groovy/org/gradle/util/internal/MultithreadedTestRule.java

            long expected = units.toMillis(value);
            if (actual < expected - 200) {
                throw new RuntimeException(String.format(
                        "Action did not block for expected time. Expected ~ %d ms, was %d ms.", expected, actual));
            }
            if (actual > expected + 1200) {
                throw new RuntimeException(String.format(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 23.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Preconditions.java

          @CheckForNull Object p4) {
        if (reference == null) {
          throw new NullPointerException(lenientFormat(errorMessageTemplate, p1, p2, p3, p4));
        }
        return reference;
      }
    
      /*
       * All recent hotspots (as of 2009) *really* like to have the natural code
       *
       * if (guardExpression) {
       *    throw new BadException(messageExpression);
       * }
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 11 11:52:14 UTC 2024
    - 52.9K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/HttpDirectoryResource.groovy

        @Override
        void expectHead() {
            throw new UnsupportedOperationException()
        }
    
        @Override
        void expectHeadBroken() {
            throw new UnsupportedOperationException()
        }
    
        @Override
        void expectHeadMissing() {
            throw new UnsupportedOperationException()
        }
    
        @Override
        void expectHeadRevalidate() {
            throw new UnsupportedOperationException()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/btree/FileBackedBlockStore.java

                throw e;
            } catch (Exception e) {
                throw new UncheckedIOException(e);
            }
        }
    
        @Override
        public void write(BlockPayload block) {
            BlockImpl blockImpl = (BlockImpl) block.getBlock();
            try {
                blockImpl.write();
            } catch (CorruptedCacheException e) {
                throw e;
            } catch (Exception e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 7.7K bytes
    - Viewed (0)
Back to top