Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 2,436 for exception (0.11 sec)

  1. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/AbstractModelInterpolatorTest.java

            assertEquals("2014-11-16T00:16:00Z", format.format(secondTestDate));
        }
    
        @Test
        public void testShouldNotThrowExceptionOnReferenceToNonExistentValue() throws Exception {
            Scm scm = Scm.newBuilder().connection("${test}/somepath").build();
            Model model = Model.newBuilder().scm(scm).build();
    
            ModelInterpolator interpolator = createInterpolator();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/exception/DataStoreCrawlingException.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.exception;
    
    import org.codelibs.fess.crawler.exception.CrawlingAccessException;
    
    public class DataStoreCrawlingException extends CrawlingAccessException {
    
        private static final long serialVersionUID = 1L;
    
        private final String url;
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/convert/IntegerConversionUtilTest.java

     */
    public class IntegerConversionUtilTest extends TestCase {
    
        /**
         * @throws Exception
         */
        public void testToInteger() throws Exception {
            assertEquals(new Integer("1000"), IntegerConversionUtil.toInteger("1,000"));
        }
    
        /**
         * @throws Exception
         */
        public void testToPrimitiveInt() throws Exception {
            assertEquals(1000, IntegerConversionUtil.toPrimitiveInt("1,000"));
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/AbstractIdleServiceTest.java

        assertThat(e).hasCauseThat().isSameInstanceAs(exception);
        assertEquals(Service.State.FAILED, service.state());
      }
    
      public void testFunctionalStop_failed() {
        final Exception exception = new Exception("deliberate");
        AbstractIdleService service =
            new DefaultService() {
              @Override
              protected void shutDown() throws Exception {
                throw exception;
              }
            };
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/io/ResourceTraversalTest.java

     */
    public class ResourceTraversalTest {
    
        private static int count = 0;
    
        /**
         * @throws Exception
         */
        @Before
        public void setUp() throws Exception {
            count = 0;
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testForEachFile() throws Exception {
            final File rootDir = ResourceUtil.getBuildDir(getClass());
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 6K bytes
    - Viewed (0)
  6. okhttp-sse/src/main/kotlin/okhttp3/sse/internal/RealEventSource.kt

              }
            }
          } catch (e: Exception) {
            val exception =
              when {
                canceled -> IOException("canceled", e)
                else -> e
              }
            listener.onFailure(this, exception, response)
            return
          }
          if (canceled) {
            listener.onFailure(this, IOException("canceled"), response)
          } else {
            listener.onClosed(this)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

      }
    
      /** Records thrown exception information. */
      private static final class RecordingSubscriberExceptionHandler
          implements SubscriberExceptionHandler {
    
        public SubscriberExceptionContext context;
        public Throwable exception;
    
        @Override
        public void handleException(Throwable exception, SubscriberExceptionContext context) {
          this.exception = exception;
          this.context = context;
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:16:45 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlWriterException.java

    import org.apache.maven.api.services.MavenException;
    
    /**
     * An exception thrown during the writing of an xml file.
     *
     * @since 4.0.0
     */
    @Experimental
    public class XmlWriterException extends MavenException {
    
        private final Location location;
    
        /**
         * @param message the message for the exception
         * @param e the exception itself
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java

          };
        }
    
        @Override
        protected void run() throws Exception {}
      }
    
      public void testStopWhileStarting_runNotCalled() throws Exception {
        final CountDownLatch started = new CountDownLatch(1);
        FakeService service =
            new FakeService() {
              @Override
              protected void startUp() throws Exception {
                super.startUp();
                started.await();
              }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  10. tests/test_starlette_exception.py

            )
        return {"item": items[item_id]}
    
    
    @app.get("/http-no-body-statuscode-exception")
    async def no_body_status_code_exception():
        raise HTTPException(status_code=204)
    
    
    @app.get("/http-no-body-statuscode-with-detail-exception")
    async def no_body_status_code_with_detail_exception():
        raise HTTPException(status_code=204, detail="I should just disappear!")
    
    
    @app.get("/starlette-items/{item_id}")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 7.4K bytes
    - Viewed (0)
Back to top