Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1151 - 1160 of 1,651 for Exceptions (0.08 sec)

  1. android/guava/src/com/google/common/collect/ImmutableMap.java

         * will throw an exception if there are duplicate keys. The {@code build()} method will soon be
         * deprecated.
         *
         * @throws IllegalArgumentException if duplicate keys were added
         */
        public ImmutableMap<K, V> build() {
          return buildOrThrow();
        }
    
        /**
         * Returns a newly-created immutable map, or throws an exception if any key was added more than
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/VerifyException.java

     * the License.
     */
    
    package com.google.common.base;
    
    import com.google.common.annotations.GwtCompatible;
    import javax.annotation.CheckForNull;
    
    /**
     * Exception thrown upon the failure of a <a
     * href="https://github.com/google/guava/wiki/ConditionalFailuresExplained">verification check</a>,
     * including those performed by the convenience methods of the {@link Verify} class.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon May 17 14:07:47 UTC 2021
    - 1.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/exception/FieldNotFoundRuntimeException.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.exception;
    
    import static org.codelibs.core.collection.ArrayUtil.asArray;
    
    import java.lang.reflect.Field;
    
    /**
     * {@link Field}が見つからない場合にスローされる例外です。
     *
     * @author higa
     *
     */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/exception/SAXRuntimeException.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.exception;
    
    import static org.codelibs.core.collection.ArrayUtil.asArray;
    
    import org.xml.sax.SAXException;
    import org.xml.sax.SAXParseException;
    
    /**
     * {@link SAXException}をラップする例外です。
     *
     * @author higa
     */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/ComplexActivationTest.java

        private File getPom(String name) {
            return new File("src/test/resources/poms/factory/" + name + ".xml").getAbsoluteFile();
        }
    
        @Test
        void testAndConditionInActivation() throws Exception {
            Properties sysProperties = new Properties();
            sysProperties.setProperty("myproperty", "test");
    
            ModelBuilder builder = new DefaultModelBuilderFactory().newInstance();
            assertNotNull(builder);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultEvent.java

        public Optional<MojoExecution> getMojoExecution() {
            return Optional.ofNullable(delegate.getMojoExecution()).map(me -> new DefaultMojoExecution(session, me));
        }
    
        @Override
        public Optional<Exception> getException() {
            return Optional.ofNullable(delegate.getException());
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsRecordCodec.kt

            nameBuf.writeUtf8(label)
          }
          nameBuf.writeByte(0) // end
    
          nameBuf.copyTo(this, 0, nameBuf.size)
          writeShort(type)
          writeShort(1) // CLASS_IN
        }.readByteString()
    
      @Throws(Exception::class)
      fun decodeAnswers(
        hostname: String,
        byteString: ByteString,
      ): List<InetAddress> {
        val result = mutableListOf<InetAddress>()
    
        val buf = Buffer()
        buf.write(byteString)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/collection/MultiIterator.java

     */
    package org.codelibs.core.collection;
    
    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull;
    
    import java.util.Iterator;
    import java.util.NoSuchElementException;
    
    import org.codelibs.core.exception.ClUnsupportedOperationException;
    
    /**
     * 複数の{@link Iterator}を一つの{@link Iterator}のように反復するための{@link Iterator}です。
     * <p>
     * 次のように使います.
     * </p>
     *
     * <pre>
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. compat/maven-model/src/test/java/org/apache/maven/model/v4/ModelXmlTest.java

    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    
    class ModelXmlTest {
    
        @Test
        void testXmlRoundtripWithProperties() throws Exception {
            Map<String, String> props = new LinkedHashMap<>();
            props.put("javax.version", "3.1.0");
            props.put("mockito.version", "1.10.19");
            props.put("hamcret.version", "2.1");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/net/HostSpecifierTest.java

        tester.testAllPublicStaticMethods(HostSpecifier.class);
        tester.testAllPublicInstanceMethods(HostSpecifier.fromValid("google.com"));
      }
    
      private void assertGood(String spec) throws ParseException {
        // Throws exception if not working correctly
        HostSpecifier unused = HostSpecifier.fromValid(spec);
        unused = HostSpecifier.from(spec);
        assertTrue(HostSpecifier.isValid(spec));
      }
    
      private void assertBad(String spec) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Feb 18 15:33:20 UTC 2022
    - 3.7K bytes
    - Viewed (0)
Back to top