Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2481 - 2490 of 3,670 for throwIf (0.05 seconds)

  1. android/guava-testlib/test/com/google/common/collect/testing/ReserializedSafeTreeMapMapInterfaceTest.java

        map.put("one", 1);
        map.put("two", 2);
        map.put("three", 3);
        return SerializableTester.reserialize(map);
      }
    
      @Override
      protected SortedMap<String, Integer> makeEmptyMap() throws UnsupportedOperationException {
        NavigableMap<String, Integer> map = new SafeTreeMap<>();
        return SerializableTester.reserialize(map);
      }
    
      @Override
      protected String getKeyNotInPopulatedMap() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 18 18:06:40 GMT 2022
    - 1.7K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb1/util/transport/TransportException.java

    package jcifs.smb1.util.transport;
    
    import java.io.IOException;
    import java.io.PrintWriter;
    import java.io.StringWriter;
    
    /**
     * Exception thrown when transport-level errors occur in JCIFS SMB communication.
     */
    public class TransportException extends IOException {
    
        /** The root cause exception */
        private Throwable rootCause;
    
        /**
         * Constructs a new TransportException with no detail message.
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlReaderException.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 reading an XML file.
     *
     * @since 4.0.0
     */
    @Experimental
    public class XmlReaderException extends MavenException {
    
        private final Location location;
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  4. maven-tests/src/main/java/com/squareup/okhttp3/maventest/SampleHttpClient.java

    import okhttp3.Response;
    
    public class SampleHttpClient {
      private final OkHttpClient client;
    
      public SampleHttpClient() {
        client = new OkHttpClient.Builder().build();
      }
    
      public void makeCall(HttpUrl url) throws IOException {
        try (Response response = client.newCall(new Request(url, Headers.EMPTY, "GET", null)).execute()) {
          System.out.println(response.body().string());
        }
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Jul 12 12:05:57 GMT 2025
    - 1.1K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/core/exception/BadPaddingRuntimeException.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.exception;
    
    import javax.crypto.BadPaddingException;
    
    /**
     * Signals that this exception has been thrown when a particular padding mechanism is expected for the input data but the data is not padded properly.
     * @author shinsuke
     */
    public class BadPaddingRuntimeException extends ClRuntimeException {
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Jul 05 00:11:05 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/core/exception/IllegalKeyOfBeanMapException.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.exception;
    
    import static org.codelibs.core.collection.ArrayUtil.asArray;
    
    import java.util.Map;
    
    /**
     * Exception thrown when using a key not contained in a {@literal BeanMap}.
     *
     * @author koichik
     */
    public class IllegalKeyOfBeanMapException extends ClIllegalArgumentException {
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jun 19 09:12:22 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/core/exception/ResourceNotFoundRuntimeException.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 resource cannot be found.
     *
     * @author higa
     */
    public class ResourceNotFoundRuntimeException extends ClRuntimeException {
    
        private static final long serialVersionUID = 9033370905740809950L;
    
        /**
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Jul 05 00:11:05 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/internal/impl/CoreUtils.java

    class CoreUtils {
    
        public static <T> T cast(Class<T> clazz, Object o, String name) {
            if (!clazz.isInstance(o)) {
                if (o == null) {
                    throw new IllegalArgumentException(name + " is null");
                }
                throw new IllegalArgumentException(name + " is not an instance of " + clazz.getName());
            }
            return clazz.cast(o);
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Mar 24 22:23:23 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/JavaPathType.java

         *
         * @param paths the path to format as a tool option
         * @return the option associated to this path type followed by the given path elements,
         *         or an empty array if there is no path element
         * @throws IllegalStateException if no option is associated to this path type
         */
        @Nonnull
        @Override
        public String[] option(Iterable<? extends Path> paths) {
            return format(null, paths);
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Dec 15 11:13:42 GMT 2025
    - 15.7K bytes
    - Click Count (1)
  10. src/main/java/org/codelibs/fess/exception/ScheduledJobException.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.exception;
    
    /**
     * This exception is thrown when a scheduled job fails.
     */
    public class ScheduledJobException extends FessSystemException {
    
        private static final long serialVersionUID = 1L;
    
        /**
         * Constructor.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.2K bytes
    - Click Count (1)
Back to Top