Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 2,652 for throw (0.07 sec)

  1. src/main/java/jcifs/smb/SIDCacheImpl.java

                        if ( rpc.retval != 0 )
                            throw new SmbException(rpc.retval, false);
                    }
    
                    return new SID(info.sid, jcifs.SID.SID_TYPE_DOMAIN, ( new UnicodeString(info.name, false) ).toString(), null, false);
                }
                catch ( IOException e ) {
                    throw new CIFSException("Failed to get SID from server", e);
                }
            }
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 12.6K bytes
    - Viewed (0)
  2. compat/maven-settings/src/main/java/org/apache/maven/settings/io/xpp3/SettingsXpp3Writer.java

         * @param writer a writer object.
         * @param settings a settings object.
         * @throws IOException java.io.IOException if any.
         */
        public void write(Writer writer, Settings settings) throws IOException {
            try {
                delegate.write(writer, settings.getDelegate());
            } catch (XMLStreamException e) {
                throw new IOException(e);
            }
        }
    
        /**
         * Method write.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/dcerpc/msrpc/SamrDomainHandle.java

                    int access,
                    rpc.sid_t sid) throws IOException {
            this.handle = handle;
            MsrpcSamrOpenDomain rpc = new MsrpcSamrOpenDomain(policyHandle, access, sid, this);
            handle.sendrecv(rpc);
            if (rpc.retval != 0)
                throw new SmbException(rpc.retval, false);
        }
    
        public void close() throws IOException {
            MsrpcSamrCloseHandle rpc = new MsrpcSamrCloseHandle(this);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 1.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/dcerpc/msrpc/SamrPolicyHandle.java

                    throw de;
    
                MsrpcSamrConnect2 rpc2 = new MsrpcSamrConnect2(server, access, this);
                handle.sendrecv(rpc2);
            }
        }
    
        public void close() throws IOException {
            MsrpcSamrCloseHandle rpc = new MsrpcSamrCloseHandle(this);
            handle.sendrecv(rpc);
            if (rpc.retval != 0)
                throw new SmbException(rpc.retval, false);
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 1.8K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderTest.java

                    throws UnresolvableModelException {
                return null;
            }
    
            @Override
            public void addRepository(Repository repository) throws InvalidRepositoryException {}
    
            @Override
            public void addRepository(Repository repository, boolean replace) throws InvalidRepositoryException {}
    
            @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/eventbus/SubscriberExceptionContext.java

        return eventBus;
      }
    
      /** @return The event object that caused the subscriber to throw. */
      public Object getEvent() {
        return event;
      }
    
      /** @return The object context that the subscriber was called on. */
      public Object getSubscriber() {
        return subscriber;
      }
    
      /** @return The subscribed method that threw the exception. */
      public Method getSubscriberMethod() {
        return subscriberMethod;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Apr 22 13:05:46 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/pac/PacMac.java

                    if ( key == null ) {
                        throw new PACDecodingException("Missing key");
                    }
                    return calculateMacHMACAES(usage, key, data);
                }
                else {
                    throw new PACDecodingException("Invalid MAC algorithm");
                }
            }
            catch ( GeneralSecurityException e ) {
                throw new PACDecodingException("Failed to calculate MAC", e);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 7K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/CertificatePinner.kt

          }
    
          this.pattern =
            pattern.toCanonicalHost() ?: throw IllegalArgumentException("Invalid pattern: $pattern")
    
          when {
            pin.startsWith("sha1/") -> {
              this.hashAlgorithm = "sha1"
              this.hash = pin.substring("sha1/".length).decodeBase64() ?: throw IllegalArgumentException("Invalid pin hash: $pin")
            }
            pin.startsWith("sha256/") -> {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/reflect/TypeVisitorTest.java

        @Override
        void visitTypeVariable(TypeVariable<?> t) {
          throw new UnsupportedOperationException();
        }
    
        @Override
        void visitWildcardType(WildcardType t) {
          throw new UnsupportedOperationException();
        }
    
        @Override
        void visitParameterizedType(ParameterizedType t) {
          throw new UnsupportedOperationException();
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/util/Encdec.java

                    if ( ( ch & 0xC0 ) != 0x80 ) {
                        throw new IOException("Invalid UTF-8 sequence");
                    }
                    uni[ ui ] |= ( ch & 0x3F ) << 6;
                    ch = src[ si++ ] & 0xFF;
                    uni[ ui ] |= ch & 0x3F;
                    if ( ( ch & 0xC0 ) != 0x80 || uni[ ui ] < 0x800 ) {
                        throw new IOException("Invalid UTF-8 sequence");
                    }
                }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 11K bytes
    - Viewed (0)
Back to top