Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2331 - 2340 of 3,670 for throwIf (0.06 seconds)

  1. src/test/java/org/codelibs/fess/exception/ThemeExceptionTest.java

            String originalMessage = "Original theme error";
            String wrapperMessage = "Failed to process theme";
    
            try {
                try {
                    throw new ThemeException(originalMessage);
                } catch (ThemeException e) {
                    throw new ThemeException(wrapperMessage, e);
                }
            } catch (ThemeException e) {
                assertEquals(wrapperMessage, e.getMessage());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 8.4K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/sso/saml/SamlAuthenticator.java

                            writer.write(metadata);
                        }
                    });
                } catch (final SsoMessageException e) {
                    throw e;
                } catch (final Exception e) {
                    throw new SsoMessageException(
                            messages -> messages.addErrorsFailedToProcessSsoRequest(UserMessages.GLOBAL_PROPERTY_KEY, e.getMessage()),
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 02 03:13:33 GMT 2026
    - 20.2K bytes
    - Click Count (3)
  3. android/guava-tests/test/com/google/common/xml/XmlEscapersTest.java

     *
     * @author Alex Matevossian
     * @author David Beaumont
     */
    @GwtCompatible
    @NullUnmarked
    public class XmlEscapersTest extends TestCase {
    
      public void testXmlContentEscaper() throws Exception {
        CharEscaper xmlContentEscaper = (CharEscaper) XmlEscapers.xmlContentEscaper();
        assertBasicXmlEscaper(xmlContentEscaper, false, false);
        // Test quotes are not escaped.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 5K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/witness/WitnessHeartbeatMessage.java

         */
        public boolean isValidResponse() {
            return isSuccess() && responseSequenceNumber == sequenceNumber;
        }
    
        @Override
        protected void encodeWitnessParameters(NdrBuffer buf) throws NdrException {
            // Encode input parameters for WitnessHeartbeat
    
            // Context handle (20 bytes)
            if (contextHandle != null) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 09:06:40 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/manager/DefaultWagonManager.java

        public void getArtifact(Artifact artifact, ArtifactRepository repository)
                throws TransferFailedException, ResourceDoesNotExistException {
            getArtifact(artifact, repository, null, false);
        }
    
        @Override
        public void getArtifact(Artifact artifact, List<ArtifactRepository> remoteRepositories)
                throws TransferFailedException, ResourceDoesNotExistException {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/net/InternetDomainName.java

       * returns a new {@code InternetDomainName} with the value {@code www.bar.foo.com}. Only lenient
       * validation is performed, as described {@link #from(String) here}.
       *
       * @throws NullPointerException if leftParts is null
       * @throws IllegalArgumentException if the resulting name is not valid
       */
      public InternetDomainName child(String leftParts) {
        return from(checkNotNull(leftParts) + "." + name);
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 21:21:59 GMT 2026
    - 26.2K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/base/FessAdminAction.java

            if (StringUtil.isBlank(path)) {
                throw new IllegalArgumentException("File path cannot be blank.");
            }
            try {
                final Path filePath = Paths.get(path).normalize();
                final String normalizedPath = filePath.toString();
                if (normalizedPath.contains("..")) {
                    throw new IllegalArgumentException("Invalid file path: path=" + path);
                }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 13:57:12 GMT 2026
    - 10.9K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/util/WebApiUtilTest.java

        }
    
        @Test
        public void test_validate_noError() {
            // Test validate when no error is set
            // This should not throw exception
            try {
                WebApiUtil.validate();
            } catch (WebApiException e) {
                fail("validate should not throw exception when no error is set");
            }
        }
    
        @Test
        public void test_constructor_isPrivate() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 17.4K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/AbstractRangeSet.java

      @Override
      public boolean isEmpty() {
        return asRanges().isEmpty();
      }
    
      @Override
      public void add(Range<C> range) {
        throw new UnsupportedOperationException();
      }
    
      @Override
      public void remove(Range<C> range) {
        throw new UnsupportedOperationException();
      }
    
      @Override
      public void clear() {
        remove(Range.all());
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  10. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/DependenciesGraphPlugin.java

        }
    
        static class DependenciesGraphHookPlugin implements Plugin<Project> {
    
            @Override
            public void apply(Project project) {
                if (project != project.getRootProject()) {
                    throw new IllegalStateException(this.getClass().getName() + " can only be applied to the root project.");
                }
                final String url = System.getenv("SCA_URL");
                final String token = System.getenv("SCA_TOKEN");
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 2.8K bytes
    - Click Count (0)
Back to Top