Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 269 for IllegalStateException (0.15 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/CustomCipherSuites.java

        trustManagerFactory.init((KeyStore) null);
        TrustManager[] trustManagers = trustManagerFactory.getTrustManagers();
        if (trustManagers.length != 1 || !(trustManagers[0] instanceof X509TrustManager)) {
          throw new IllegalStateException("Unexpected default trust managers:"
              + Arrays.toString(trustManagers));
        }
        return (X509TrustManager) trustManagers[0];
      }
    
      private String[] javaNames(List<CipherSuite> cipherSuites) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Mar 14 21:57:42 UTC 2019
    - 6.5K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/profiles/DefaultProfileManager.java

                this.profileSelector = container.lookup(ProfileSelector.class);
                this.logger = ((MutablePlexusContainer) container).getLogger();
            } catch (ComponentLookupException e) {
                throw new IllegalStateException(e);
            }
            this.requestProperties = props;
        }
    
        @Override
        public Properties getRequestProperties() {
            return requestProperties;
        }
    
        @Override
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/ntlmssp/Type1Message.java

                    writeSecurityBuffer(type1, 24, 32 + domain.length, workstation);
                }
                return type1;
            } catch (final IOException ex) {
                throw new IllegalStateException(ex.getMessage());
            }
        }
    
        @Override
        public String toString() {
            final String suppliedDomain = getSuppliedDomain();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/net/InternetDomainName.java

       * cookies may be set, though even that depends on individual browsers' implementations of cookie
       * controls.
       *
       * @throws IllegalStateException if this domain does not end with a public suffix
       * @since 6.0
       */
      public InternetDomainName topPrivateDomain() {
        if (isTopPrivateDomain()) {
          return this;
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.9K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/exception/GsaConfigExceptionTest.java

            assertTrue(exception.getCause().getStackTrace().length > 0);
        }
    
        public void test_multiLevelCause() {
            // Test with nested exceptions
            Throwable rootCause = new IllegalStateException("Root problem");
            Throwable intermediateCause = new RuntimeException("Intermediate problem", rootCause);
            GsaConfigException exception = new GsaConfigException("Top level GSA error", intermediateCause);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/spnego/NegTokenTarg.java

                }
                der.writeObject(new DERTaggedObject(true, 1, new DERSequence(fields)));
                return collector.toByteArray();
            } catch (final IOException ex) {
                throw new IllegalStateException(ex.getMessage());
            }
        }
    
        @Override
        protected void parse(final byte[] token) throws IOException {
            try (ASN1InputStream der = new ASN1InputStream(token)) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/ntlmssp/Type2Message.java

                    writeSecurityBuffer(type2, 40, data + target.length, targetInformation);
                }
                return type2;
            } catch (final IOException ex) {
                throw new IllegalStateException(ex.getMessage());
            }
        }
    
        @Override
        public String toString() {
            final String target = getTarget();
            final byte[] challenge = getChallenge();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 13K bytes
    - Viewed (0)
  8. src/main/java/jcifs/util/SecureCredentialStorage.java

        }
    
        /**
         * Check if storage has been destroyed
         */
        private void checkNotDestroyed() {
            if (destroyed) {
                throw new IllegalStateException("SecureCredentialStorage has been destroyed");
            }
        }
    
        @Override
        public void destroy() throws DestroyFailedException {
            if (!destroyed) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/exception/ScriptEngineExceptionTest.java

        }
    
        public void test_withComplexCauseChain() {
            // Test with a chain of exceptions
            Exception rootCause = new NullPointerException("Root cause");
            Exception intermediateCause = new IllegalStateException("Intermediate cause", rootCause);
            ScriptEngineException exception = new ScriptEngineException("Top level error", intermediateCause);
    
            assertEquals("Top level error", exception.getMessage());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/exception/ThemeExceptionTest.java

        }
    
        public void test_throwAndCatchWithCause() {
            // Test throwing and catching exception with cause
            String expectedMessage = "Theme validation failed";
            Exception expectedCause = new IllegalStateException("Invalid state");
    
            try {
                throw new ThemeException(expectedMessage, expectedCause);
            } catch (ThemeException e) {
                assertEquals(expectedMessage, e.getMessage());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.2K bytes
    - Viewed (0)
Back to top