Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2291 - 2300 of 2,828 for exception (0.09 seconds)

  1. src/main/java/org/codelibs/core/xml/SAXParserUtil.java

    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull;
    
    import java.io.IOException;
    
    import javax.xml.parsers.SAXParser;
    
    import org.codelibs.core.exception.IORuntimeException;
    import org.codelibs.core.exception.SAXRuntimeException;
    import org.xml.sax.InputSource;
    import org.xml.sax.SAXException;
    import org.xml.sax.XMLReader;
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 3K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/core/misc/AssertionUtil.java

    import java.util.Map;
    
    import org.codelibs.core.collection.ArrayUtil;
    import org.codelibs.core.exception.ClIllegalArgumentException;
    import org.codelibs.core.exception.ClIllegalStateException;
    import org.codelibs.core.exception.ClIndexOutOfBoundsException;
    import org.codelibs.core.exception.EmptyArgumentException;
    import org.codelibs.core.exception.NullArgumentException;
    import org.codelibs.core.lang.StringUtil;
    
    /**
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  3. docs/uk/docs/tutorial/handling-errors.md

    {* ../../docs_src/handling_errors/tutorial002_py310.py hl[14] *}
    
    ## Встановлення власних обробників виключень { #install-custom-exception-handlers }
    
    Ви можете додати власні обробники виключень за допомогою [тих самих утиліт для виключень зі Starlette](https://www.starlette.dev/exceptions/).
    
    Припустімо, у вас є власне виключення `UnicornException`, яке ви (або бібліотека, яку ви використовуєте) можете `raise`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 13.9K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/Range.java

     *
     * <ul>
     *   <li>{@code [a..a]} : a singleton range
     *   <li>{@code [a..a); (a..a]} : {@linkplain #isEmpty empty} ranges; also valid
     *   <li>{@code (a..a)} : <b>invalid</b>; an exception will be thrown
     * </ul>
     *
     * <h3>Warnings</h3>
     *
     * <ul>
     *   <li>Use immutable value types only, if at all possible. If you must use a mutable type, <b>do
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 28.3K bytes
    - Click Count (0)
  5. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

       * if this queue is full. This method is generally preferable to method {@link #add}, which can
       * fail to insert an element only by throwing an exception.
       *
       * @throws NullPointerException if the specified element is null
       */
      @CanIgnoreReturnValue
      @Override
      public boolean offer(E e) {
        checkNotNull(e);
        Monitor monitor = this.monitor;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 22.4K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/core/xml/SAXParserFactoryUtil.java

    import javax.xml.XMLConstants;
    import javax.xml.parsers.ParserConfigurationException;
    import javax.xml.parsers.SAXParser;
    import javax.xml.parsers.SAXParserFactory;
    
    import org.codelibs.core.exception.ParserConfigurationRuntimeException;
    import org.codelibs.core.exception.SAXRuntimeException;
    import org.xml.sax.SAXException;
    import org.xml.sax.SAXNotRecognizedException;
    import org.xml.sax.SAXNotSupportedException;
    
    /**
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  7. docs/zh/docs/tutorial/handling-errors.md

    一般情况下你可能不会在代码中直接使用它。
    
    但在某些高级场景中需要时,你可以添加自定义响应头:
    
    {* ../../docs_src/handling_errors/tutorial002_py310.py hl[14] *}
    
    ## 安装自定义异常处理器 { #install-custom-exception-handlers }
    
    可以使用[与 Starlette 相同的异常处理工具](https://www.starlette.dev/exceptions/)添加自定义异常处理器。
    
    假设有一个自定义异常 `UnicornException`(你自己或你使用的库可能会 `raise` 它)。
    
    并且你希望用 FastAPI 在全局处理该异常。
    
    此时,可以用 `@app.exception_handler()` 添加自定义异常处理器:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 8.2K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/core/lang/ClassLoaderUtil.java

    import java.io.IOException;
    import java.net.URL;
    import java.util.Enumeration;
    import java.util.Iterator;
    
    import org.codelibs.core.collection.EnumerationIterator;
    import org.codelibs.core.exception.ClIllegalStateException;
    import org.codelibs.core.exception.ClassNotFoundRuntimeException;
    import org.codelibs.core.exception.IORuntimeException;
    import org.codelibs.core.message.MessageFormatter;
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java

    import org.codelibs.core.convert.TimestampConversionUtil;
    import org.codelibs.core.exception.BeanMethodSetAccessibleFailureException;
    import org.codelibs.core.exception.ClIllegalArgumentException;
    import org.codelibs.core.exception.IllegalPropertyRuntimeException;
    import org.codelibs.core.exception.ParseRuntimeException;
    import org.codelibs.core.lang.ConstructorUtil;
    import org.codelibs.core.lang.FieldUtil;
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 24 01:52:43 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  10. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

        try {
          return generator.invoke(this, args);
        } catch (InvocationTargetException e) {
          throwIfUnchecked(e.getCause());
          throw new RuntimeException(e.getCause());
        } catch (Exception e) {
          throwIfUnchecked(e);
          throw new RuntimeException(e);
        }
      }
    
      private final class FreshInvocationHandler extends AbstractInvocationHandler {
        private final int identity = generateInt();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 28.7K bytes
    - Click Count (0)
Back to Top