Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,967 for throws (0.19 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

          throw t;
        }
      }
    
      /** Calls threadFail with message "should throw exception". */
      public void threadShouldThrow() {
        threadFail("should throw exception");
      }
    
      /** Calls threadFail with message "should throw" + exceptionName. */
      public void threadShouldThrow(String exceptionName) {
        threadFail("should throw " + exceptionName);
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/testing/ClassSanityTester.java

       * null will be returned.
       *
       * @throws ParameterNotInstantiableException if the static methods cannot be invoked because the
       *     default value of a parameter cannot be determined.
       * @throws IllegalAccessException if the class isn't public or is nested inside a non-public
       *     class, preventing its methods from being accessible.
       * @throws InvocationTargetException if a static method threw exception.
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/internal/classpath/Instrumented.java

                    throw (Error) cause;
                } else {
                    throw new RuntimeException("Unexpected exception thrown by ProcessBuilder.startPipeline", e);
                }
            }
        }
    
        public static void fileObserved(File file, String consumer) {
            listener().fileObserved(absoluteFileOf(file), consumer);
        }
    
        public static void fileOpened(File file, String consumer) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 13:46:35 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/collection/ArrayMapTest.java

        ArrayMap<String, String> map;
    
        /**
         * @throws Exception
         */
        @Before
        public void setUp() throws Exception {
            map = new ArrayMap<String, String>();
            map.put(null, null);
            map.put("1", "test");
            map.put("2", "test2");
        }
    
        /**
         * @throws Exception
         */
        @After
        public void tearDown() throws Exception {
            map = null;
        }
    
        /**
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/tests/FileAttributesTest.java

        @Test
        public void testBaseFile () throws MalformedURLException, CIFSException {
            try ( SmbResource f = getDefaultShareRoot() ) {
                checkConnection(f);
                if ( f.getType() != SmbConstants.TYPE_FILESYSTEM ) {
                    assertEquals(SmbConstants.TYPE_SHARE, f.getType());
                }
            }
        }
    
    
        @Test
        public void testGetFreeSpace () throws CIFSException, MalformedURLException {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  6. src/mdo/reader-stax.vm

         * @param strict a strict object.
         * @throws XMLStreamException XMLStreamException if
         * any.
         * @return ${root.name}
         */
    #if ( $locationTracking )
        public ${root.name} read(XMLStreamReader parser, boolean strict, InputSource source) throws XMLStreamException {
    #else
        public ${root.name} read(XMLStreamReader parser, boolean strict) throws XMLStreamException {
    #end
    #if ( $needXmlContext )
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 38.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/beans/impl/PropertyDescImplTest.java

        /**
         * @throws Exception
         */
        @Test(expected = IllegalPropertyRuntimeException.class)
        public void testSetValue_notWritable() throws Exception {
            final MyBean myBean = new MyBean();
            final BeanDesc beanDesc = new BeanDescImpl(MyBean.class);
            final PropertyDesc propDesc = beanDesc.getPropertyDesc("aaa");
            propDesc.setValue(myBean, null);
        }
    
        /**
         * @throws Exception
         */
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ContiguousSet.java

       * ContiguousSet}.
       *
       * @throws UnsupportedOperationException always
       * @deprecated Use {@link #create}.
       */
      @Deprecated
      @DoNotCall("Always throws UnsupportedOperationException")
      public static <E> ImmutableSortedSet.Builder<E> builder() {
        throw new UnsupportedOperationException();
      }
    
      // redeclare to help optimizers with b/310253115
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/io/Files.java

       *
       * @param file the file to read from
       * @return a byte array containing all the bytes from file
       * @throws IllegalArgumentException if the file is bigger than the largest possible byte array
       *     (2^31 - 1)
       * @throws IOException if an I/O error occurs
       */
      public static byte[] toByteArray(File file) throws IOException {
        return asByteSource(file).read();
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt

          }
        }
      }
    
      @Test
      @Throws(Exception::class)
      fun compressedMessages() {
        successfulExtensions("permessage-deflate")
      }
    
      @Test
      @Throws(Exception::class)
      fun compressedMessagesNoClientContextTakeover() {
        successfulExtensions("permessage-deflate; client_no_context_takeover")
      }
    
      @Test
      @Throws(Exception::class)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 35.2K bytes
    - Viewed (0)
Back to top