Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 460 for throwing (0.06 sec)

  1. build-logic/build-update-utils/src/test/groovy/gradlebuild/buildutils/tasks/UpdateAgpVersionsTest.groovy

            def allVersions = ["8.9.0", "9.0.0"]
    
            when:
            UpdateAgpVersions.selectVersionsFrom(gradleVersion, minimumSupported, allVersions)
    
            then:
            def ex = thrown(IllegalArgumentException)
            ex.message == "minimumSupported must be at least 9.0.0, was 8.9.0"
        }
    
        def "fail when minimumSupported higher than gradle major when no matching gradle major stable or rc available"() {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Oct 24 09:10:28 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  2. src/bytes/buffer.go

    func (b *Buffer) Grow(n int) {
    	if n < 0 {
    		panic("bytes.Buffer.Grow: negative count")
    	}
    	m := b.grow(n)
    	b.buf = b.buf[:m]
    }
    
    // Write appends the contents of p to the buffer, growing the buffer as
    // needed. The return value n is the length of p; err is always nil. If the
    // buffer becomes too large, Write will panic with [ErrTooLarge].
    func (b *Buffer) Write(p []byte) (n int, err error) {
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Fri Nov 14 19:01:17 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/exception/ContentNotFoundException.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.exception;
    
    /**
     * Exception thrown when requested content cannot be found.
     * Typically used when a document or resource is not available during crawling or indexing.
     */
    public class ContentNotFoundException extends FessSystemException {
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/dict/DictionaryExpiredException.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.dict;
    
    /**
     * Exception thrown when a dictionary has expired and is no longer valid.
     * This runtime exception indicates that a dictionary file or dictionary data
     * has exceeded its lifetime and should be refreshed or reloaded.
     */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/suggest/SuggesterResourceLoadingTest.java

                }
                fail("Should not reach this point");
            } catch (IOException e) {
                assertEquals("Resource is null", e.getMessage());
                // No NullPointerException should be thrown when exiting try-with-resources
            }
        }
    
        /**
         * Test resource loading with missing resource.
         * Demonstrates that null InputStream is handled correctly.
         */
        @Test
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlWriterException.java

     * under the License.
     */
    package org.apache.maven.api.services.xml;
    
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.services.MavenException;
    
    /**
     * An exception thrown while writing an XML file.
     *
     * @since 4.0.0
     */
    @Experimental
    public class XmlWriterException extends MavenException {
    
        private final Location location;
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/NtlmAuthenticator.java

         * Used internally by jCIFS when an <code>SmbAuthException</code> is trapped to retrieve new user credentials.
         *
         * @param url the URL that requires authentication
         * @param sae the authentication exception that was thrown
         * @return credentials returned by prompt
         */
        public static NtlmPasswordAuthenticator requestNtlmPasswordAuthentication(final String url, final SmbAuthException sae) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  8. build-logic/documentation/src/test/groovy/gradlebuild/docs/model/SimpleClassMetaDataRepositoryTest.groovy

            given:
            repository.put('unkown', new TestDomainObject('unknown'))
    
            when:
            repository.get('unknown')
    
            then:
            UnknownDomainObjectException e = thrown()
            e.message == 'No meta-data is available for class \'unknown\'. Did you mean? [unkown]'
        }
    
        def getFailsForWrongPackage() {
            given:
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Sat Apr 06 02:21:33 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/exception/PropertyNotFoundRuntimeException.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.exception;
    
    import static org.codelibs.core.collection.ArrayUtil.asArray;
    
    /**
     * Exception thrown when a property cannot be found.
     *
     * @author higa
     *
     */
    public class PropertyNotFoundRuntimeException extends ClRuntimeException {
    
        private static final long serialVersionUID = -5177019197796206774L;
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  10. impl/maven-core/src/test/java/org/apache/maven/project/DefaultMavenProjectBuilderTest.java

            ProjectBuildingException e = assertThrows(
                    ProjectBuildingException.class,
                    () -> getProject(f1),
                    "Expected 'ProjectBuildingException' not thrown.");
            assertEquals(1, e.getResults().size());
            ProjectBuildingResultWithProblemMessageAssert.assertThat(e.getResults().get(0))
                    .hasProblemMessage("Version must be a constant");
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 17:20:31 UTC 2025
    - 33.7K bytes
    - Viewed (0)
Back to top