Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 4,853 for Throw (0.15 sec)

  1. src/main/java/jcifs/dcerpc/DcerpcPipeHandle.java

            if ( this.handle.isStale() ) {
                throw new IOException("DCERPC pipe is no longer open");
            }
    
            int have = this.handle.sendrecv(buf, off, length, inB, getMaxRecv());
    
            int fraglen = Encdec.dec_uint16le(inB, 8);
            if ( fraglen > getMaxRecv() ) {
                throw new IOException("Unexpected fragment length: " + fraglen);
            }
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jan 26 11:51:07 UTC 2020
    - 5.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/transport/Transport.java

                        cleanupThread(timeout);
                        throw new ConnectionTimeoutException("Connection timeout");
                    case 2:
                        if ( this.te != null ) { /* doConnect throw Exception */
                            this.state = 4; /* error */
                            cleanupThread(timeout);
                            throw this.te;
                        }
                        this.state = 3; /* Success! */
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Nov 01 18:12:21 UTC 2020
    - 24.1K bytes
    - Viewed (0)
  3. subprojects/composite-builds/src/main/java/org/gradle/composite/internal/DefaultIncludedBuildRegistry.java

        public RootBuildState getRootBuild() {
            if (rootBuild == null) {
                throw new IllegalStateException("Root build is not defined.");
            }
            return rootBuild;
        }
    
        @Override
        public RootBuildState createRootBuild(BuildDefinition buildDefinition) {
            if (rootBuild != null) {
                throw new IllegalStateException("Root build already defined.");
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 23:08:19 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/pac/kerberos/KerberosToken.java

            if ( token.length <= 0 )
                throw new PACDecodingException("Empty kerberos token");
    
            byte[] content;
            try ( ASN1InputStream stream = new ASN1InputStream(token) ) {
                content = ASN1Util.readUnparsedTagged(0, 0x8000, stream);
            }catch ( IOException e ) {
                throw new PACDecodingException("Malformed kerberos token", e);
            }
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Mon Oct 02 12:02:06 UTC 2023
    - 3K bytes
    - Viewed (0)
  5. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/ExclusiveCacheAccessingWorkerTest.groovy

            given:
            def counter = 0
            def failure = new RuntimeException()
            start(cacheAccessWorker)
    
            when:
            cacheAccessWorker.enqueue { throw failure }
            cacheAccessWorker.enqueue { throw new RuntimeException() }
            cacheAccessWorker.enqueue { counter++ }
            cacheAccessWorker.flush()
    
            then:
            counter == 1
            def e = thrown(RuntimeException)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/CollectPreconditions.java

        if (key == null) {
          throw new NullPointerException("null key in entry: null=" + value);
        } else if (value == null) {
          throw new NullPointerException("null value in entry: " + key + "=null");
        }
      }
    
      @CanIgnoreReturnValue
      static int checkNonnegative(int value, String name) {
        if (value < 0) {
          throw new IllegalArgumentException(name + " cannot be negative but was: " + value);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jun 30 10:33:07 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  7. platforms/jvm/jvm-services/src/main/java/org/gradle/internal/jvm/inspection/JvmInstallationMetadata.java

                throw unsupportedOperation();
            }
    
            @Override
            public String getRuntimeVersion() {
                throw unsupportedOperation();
            }
    
            @Override
            public String getJvmName() {
                throw unsupportedOperation();
            }
    
            @Override
            public String getJvmVersion() {
                throw unsupportedOperation();
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/api/internal/file/archive/TarFileTree.java

        public void visit(FileVisitor visitor) {
            File archiveFile = tarFileProvider.get();
            if (!archiveFile.exists()) {
                throw new InvalidUserDataException(format("Cannot expand %s as it does not exist.", getDisplayName()));
            }
            if (!archiveFile.isFile()) {
                throw new InvalidUserDataException(format("Cannot expand %s as it is not a file.", getDisplayName()));
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 15:15:04 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  9. platforms/software/resources-s3/src/integTest/groovy/org/gradle/integtests/resource/s3/fixtures/S3DirectoryResource.groovy

    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/RecordingExecutor.kt

            return
          }
        }
        throw AssertionError("No such job: $url")
      }
    
      override fun shutdown() {
        shutdown = true
      }
    
      override fun shutdownNow(): List<Runnable> {
        throw UnsupportedOperationException()
      }
    
      override fun isShutdown(): Boolean {
        return shutdown
      }
    
      override fun isTerminated(): Boolean {
        throw UnsupportedOperationException()
      }
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top